答案 0 :(得分:3)
我可以使用开关案例
当然可以。切换块只是执行条件语句的一种方法。如果你真的在编程技巧上开始制作这样的游戏,那么你可能不应该问这么简单的问题。这并不是为了让你失望。我试图鼓励你找到正确的问题。这是一个条件块,可以帮助您找出正确的问题:
If you already have working buttons
and you already have working text fields
then post the code in your question and someone can look at it and help you.
else if you already have an .as file and a .fla file you are working with
post that code and ask for help making buttons or text fields
else if you don't have a an .fla file or .as file
then welcome to square one. Go find you very first tutorial on the Internet and come back when you get stuck on a specific problem