Actionscript 2.0 flash game creation tutorial. Woop.
Loading...
6,579
Loading...
Uploader Comments (roojames)
see all
All Comments (9)
-
Awesome vid, it would have helped me a lot if I didn't already know it :)
But seriously, when i was trying to find out how to do this stuff, I scoured the internet for ages without finding anything that actually explained what it all did. And when I did work it out, I used the variables method that dakon11 mentioned, but this ways much easier.
-
Really nice tutorial. Helped me alot. Speaking alot helps understand it more.
I laughed at "random semi colon here, god knows why"
-
LOL! yOU END UP.... YOU KNOW, CRYING LOL!!!
-
wow your tutorial is awesome
Loading...
you can write this to:
onClipEvent(load){
speed=10;
}
onClipEvent(enterFrame){
if(key.isDown(Key.Right))
_x+=speed;
}
dakon11 2 years ago
Just keep in mind that this is the extreme basics here, so I chose not to cover variables right away
roojames 2 years ago
It says I have an syntax error..
Heres my code
onClipEvent(enterFrame){
if (Key.isDown(Key.LEFT)) {
this._x -= 10;
}
}
choustonator 2 years ago
Try removing the spaces. The one between "if" and the bracket is where I think the problem is.
roojames 2 years ago
Ok, this is the tried and true working code:
onClipEvent(enterFrame){
if(Key.isDown(Key.LEFT)){
this._x-=10;
}
}
roojames 2 years ago