So I'm copying this tutorial from a website - making a Space Shooter game.
I'm at the 1+: Interactive Animation (Afterburner) Part but I can't seem to figure out where to add the last code for the last given code:
Return now to your stage and enter your original ActionScript from the previous tutorial. You need to edit the code in 'function 'playerMovement' to reflect the snippet below:
Source From:
http://markbennison.com/actionscript/as3-space-shooter/1plus-interactive-animation-afterburner/
Whenever I try to insert this code anywhere, it always says 1084: Syntax error: expecting right-brace after end of program
I can't figure out where I need to put the 'right brace after end of program"
Is it a nesting symbol problem or a code problem?
The whole point of the tutorial on the website is to make an interactive animation of spaceships fire depending on what arrow key you press.
Pleaseee helpppp - tips?