Adobe flash cs4 Game tutorial : Jumping
Uploader Comments (oppcell)
All Comments (49)
-
Hey! can some please help me ?
im getting error 1120: access of undefined property key.
if(Key.isDown(Key.UP) && canjump){}
i dont know what im doing wrong so if some helps ill appreciate :D
-
The sw doesn't work at all.
-
kool
-
how do i get it so when the charactor is jumping it will look like he is jumping. where would i put the
hero.gotoAndStop ('JUMP') so that while he is jumping it isnt just going through the running animation?
-
Hey, how do i get my sprite to move along with the jump?
-
You have like 3 videos that start out making comments to the effect "If you don't know how to make the character and animate..etc" go to "my last tutorial. :P
But there is Nothing to indicate a sequence for these tutorials, and going through them manually -- I don't find that one.
-
how come my hero falls through the floor? :(
-
@therogen hmms btw is it true or false? also, where exactly do you put that code?
Hey, i have a problem, i set everything up and this is my code for when your jumping to show the jump frame, but i get errors. i will put the code first, then the two errors.
if(hero.y>0) && canjump=true{
hero.gotoAndStop('jumping');
}
1084: Syntax error: expecting identifier before logicaland.
1008: Attribute is invalid.
both of the errors are for the line
if(hero.y>0) && canjump=true{
please help. thanks!
WackaAlpaca 2 years ago
come on take a real look. You're getting syntax errors.
if(hero.y>0) && canjump=true | is wrong
canjump=true | is wrong, it is ==
if((hero.y>0) && canjump){} | is right
oppcell 2 years ago
Would this work on AS2? And by the way, what is the meaning of dynamic y??
alphazerofied 2 years ago
yes it would. A few changes would need to be made.
oppcell 2 years ago
If I wanted my character to have a different pose when it jumps would I just do the same painstaking thing you did in the last tutorial?
TheCroire 2 years ago
Yeah you would write something like
if (canjump == true){ gotoandstop("jumping");
}
you would have to modify the rest of the code for walking not super hard.
oppcell 2 years ago