I'm trying to create a dragon punch-style move. So it's a flying uppercut where I use the move & movea commands to create the look of the punch going up and down in the air in a nice arc. The problem: The frames do not seem to move the y distance specified, especially on the way down. Look at the code sample below -- it should be a smooth arc. The first 3 frames go up 40px, 10px, 5px, and the next 3 frames go down -5px, -10px, -40px. Then there is a final frame landed.png that has movea 0. I expect the last 2 frames should already be on the ground, but instead I see both of them in the air! The last frame even starts in the air then drops straight down.
Can anyone have a look and tell me if there's an error in my code?
Notice the movea values go 40, 10, 5, -5, -10, -40, 0. My understanding is the -40 frame should be displayed back on the ground, but it's not and neither is the next frame which has movea 0. Does this match your understanding of how movea works? Or have I totally misunderstood it?
Can anyone have a look and tell me if there's an error in my code?
Notice the movea values go 40, 10, 5, -5, -10, -40, 0. My understanding is the -40 frame should be displayed back on the ground, but it's not and neither is the next frame which has movea 0. Does this match your understanding of how movea works? Or have I totally misunderstood it?
Code:
attack 61 2 29 120 40 6 0 0 35 0
delay 8
move 15
movea 40
frame data/chars/terry/moves/uppercutjump/finished/upper1.png
movea 10
frame data/chars/terry/moves/uppercutjump/finished/upper2.png
movea 5
frame data/chars/terry/moves/uppercutjump/finished/upper3.png
movea -5
frame data/chars/terry/moves/uppercutjump/finished/upper4.png
attack 0 0 0 0 0 0 0 0 0 0
movea -10
frame data/chars/terry/moves/uppercutjump/finished/upper5.png
movea -40
frame data/chars/terry/moves/uppercutjump/finished/upper6.png
movea 0
move 0
frame data/chars/terry/moves/uppercutjump/finished/landed.png
Last edited: