I get a problem when I use this code:
if(jabbing=false) && Key.isDown(88)){gotoAndPlay("jab")}}
The problem is I get this error when I try and run the game:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 8: Unexpected '&&' encountered
if(jabbing=false) && Key.isDown(88)){gotoAndPlay("jab")}}
Total ActionScript Errors: 1 Reported Errors: 1
So what my code does is if the variable jabbing = false and the x key is down then the stick figure will go to the “jab” frame. Thanks for helping me ^^
OFF TOPIC
attach movie clip help needed ^^
I just need people to see if im right about each part of the code (commented)
Thanks