Hi everyone,
I would deeply, deeply, appreciate if anyone can give me some insight as to what's wrong here.
The way I made it, there are actions with a key on the keyboard so that
UP - jump up
LEFT - walk left
RIGHT - walk right
DOWN - this stretching motion
A - attack (punching motion)
S - spin
D - the sprite's hat comes flying off
And when no other actions are occurring, the action is set to "idle", and her skirt kind of bobs up and down.
Problem is, when I press either the LEFT or RIGHT arrows without letting go, the sprite kind of moves back and forth and glitches for a sec in between walking two cycles.
Also, is there a way to program the "jump up" action so that it's uninterruptible? Right now, it's possible for my sprite to walk (very briefly) in mid air.
Thanks so much!
Here is the project:
http://scratch.mit.edu/projects/redazalea/3107435
Offline
your character jerks like that because the animation (which is very well done) switches to a different costume (probably the first of the cycle) that has a center in a different place than the last costume of the cycle:
And putting this
when gf clicked wait until < (action) = [idle]>before either of the walking commands will definitely prevent your character from walking in mid air
Offline