tightninja
Member
Hello,
In OpenBOR 4.0 (7555) the playe rget stuck in the block animation even after releasing the block button.
In 3.0 as long as the player held the block button they would continue to block and could flip direrction. If they released the block button they would return to idle.
How has the logic changed? What is the work around? I have tried to add "blockstart" and "blockrelease" frames but I may not be using them right.
The animation block below is what worked in 3.0.
anim block
loop 1 1 2
delay 6
offset 80 129
bbox.position.x 68
bbox.position.y 83
bbox.size.x 24
bbox.size.y 44
cancel 0 2 0 u a4 freespecial95 #movelist
cancel 1 3 0 a freespecial193 #SPINNING BACKFIST
cancel 1 3 0 a2 freespecial192 #FIERCE KICK
cancel 1 3 0 b a freespecial80 #BACK ELBOW
cancel 1 3 0 b a2 freespecial194 #BACK KICK
cancel 1 3 0 f f freespecial100 #fwd dodge
cancel 1 3 0 b b freespecial99 #back dodge
cancel 1 3 0 j freespecial53 #foward leap
cancel 1 3 0 d freespecial200 #duck
cancel 0 2 0 u u freespecial190 #UP DODGE
cancel 0 2 0 d d freespecial189 #DOWN DODGE
cancel 1 3 0 d f d f a4 freespecial72 #cvs super art 1
cancel 1 3 0 d f d f a3 freespecial73 #cvs super art 2
frame data/chars/1billy/a301.gif
delay 20
@cmd keyflip
frame data/chars/1billy/block.gif
delay 20
@cmd keyflip
frame data/chars/1billy/block.gif
In OpenBOR 4.0 (7555) the playe rget stuck in the block animation even after releasing the block button.
In 3.0 as long as the player held the block button they would continue to block and could flip direrction. If they released the block button they would return to idle.
How has the logic changed? What is the work around? I have tried to add "blockstart" and "blockrelease" frames but I may not be using them right.
The animation block below is what worked in 3.0.
anim block
loop 1 1 2
delay 6
offset 80 129
bbox.position.x 68
bbox.position.y 83
bbox.size.x 24
bbox.size.y 44
cancel 0 2 0 u a4 freespecial95 #movelist
cancel 1 3 0 a freespecial193 #SPINNING BACKFIST
cancel 1 3 0 a2 freespecial192 #FIERCE KICK
cancel 1 3 0 b a freespecial80 #BACK ELBOW
cancel 1 3 0 b a2 freespecial194 #BACK KICK
cancel 1 3 0 f f freespecial100 #fwd dodge
cancel 1 3 0 b b freespecial99 #back dodge
cancel 1 3 0 j freespecial53 #foward leap
cancel 1 3 0 d freespecial200 #duck
cancel 0 2 0 u u freespecial190 #UP DODGE
cancel 0 2 0 d d freespecial189 #DOWN DODGE
cancel 1 3 0 d f d f a4 freespecial72 #cvs super art 1
cancel 1 3 0 d f d f a3 freespecial73 #cvs super art 2
frame data/chars/1billy/a301.gif
delay 20
@cmd keyflip
frame data/chars/1billy/block.gif
delay 20
@cmd keyflip
frame data/chars/1billy/block.gif