Three simple things that i wanna know…
if (Key.isDown(Key.UP)) {
What would i put instead of UP if i wanted say the letter ‘a’ to be the button?
and
What would i put if i wanted a button when pressed to refresh the game or page…
one more thing…im making a simple race car game and i wanna make it so when it passes the start line it adds 1 to the score…how can i do this…
ive got _root.score += 1; to show the score but how would i make it so when the car moves over a certain co-ordinate or something…the score would rise one…would i be able to put some MC as the start line and have it so when it passes over that MC it would add 1 to the score
Thnx