Questions Answers

[ LiB ]

Questions & Answers


Q. So are you saying I'm ready? Ready to create games ?


A. You're mighty close. With the stuff you picked up in this chapter, you have all the inter-activity you can want in a game. But stay tunedyou still need to learn how to program the mouse and some sound effects.


Q. What if I don't know the ASCII code for a character I want to use?


A. Simple, look it up in the ASCII table that's in Appendix A.


Q. When would you install a listener instead of using the rest of the Key object methods ?


A. I would use a listener in a case where the speed of the computer is important. If you have a heavy game and it's running on a slow computer, then there is a good chance that there will be some input delay. If you install a listener, you can guarantee that your key press won't be missed.


Q. So are you saying a key listener is better than using anything else?


A. They are more reliable but not necessarily betterit always depends on the situation and the game.

[ LiB ]

Game Development with ActionScript
Game Development with ActionScript
ISBN: 1592001106
EAN: 2147483647
Year: 2004
Pages: 162
Authors: Lewis Moronta © 2008-2017.
If you may any questions please contact us: