kimono
Well-known member
Hi everybody 
I've got two basic attacks, punch (A) and kick (A2). I wish to make a charging animation with keep pressing A or A2 (different from A charging).
Here's what I try to set:
Chargeattack works well but not my charging anim. Any clue to resolve that? Maybye an anim charging function would be nice to add to a further Openbor engine update, won't it?
Thank you for taking time to read this small problem
.

I've got two basic attacks, punch (A) and kick (A2). I wish to make a charging animation with keep pressing A or A2 (different from A charging).
Here's what I try to set:
Code:
anim attack1 #Punch
delay 8
offset 42 110
bbox 30 6 27 104
cancel 1 6 0 A freespecial21
@cmd keyint "ANI_FREESPECIAL9" 0 "A2" 0
sound data/sounds/punch.wav
frame data/chars/karatedo/punch1.gif
frame data/chars/karatedo/punch2.gif
attack1 67 19 59 23 8 0 0 0 0 0
frame data/chars/karatedo/punch3.gif
attack1 67 19 59 23 8 0 0 0 0 0
frame data/chars/karatedo/punch3.gif
attack1 0 0 0 0 0 0 0 0 0 0
frame data/chars/karatedo/punch2.gif
frame data/chars/karatedo/punch1.gif
anim freespecial21 #Charge
offset 44 102
bbox 26 2 32 100
delay 3
sound data/sounds/yossha.wav
frame data/chars/karatedo/chargingpunch1.gif
frame data/chars/karatedo/chargingpunch2.gif
frame data/chars/karatedo/chargingpunch3.gif
anim chargeattack
offset 44 104
bbox 26 4 32 100
chargetime 0.4
delay 13
frame data/chars/karatedo/chargepunch1.gif
attack5 42 0 45 42 10 1 1 0 0 0
frame data/chars/karatedo/chargepunch2.gif
attack5 0 0 0 0 0 0 0 0 0 0
attack5 81 12 40 42 10 1 1 0 0 0
sound data/sounds/yossha.wav
@cmd dasher 1 0 0 1
frame data/chars/karatedo/chargepunch3.gif
attack5 0 0 0 0 0 0 0 0 0 0
attack5 80 26 30 38 10 1 0 0 0 0
frame data/chars/karatedo/chargepunch4.gif
attack5 0 0 0 0 0 0 0 0 0 0
@cmd stop
frame data/chars/karatedo/chargepunch5.gif
Chargeattack works well but not my charging anim. Any clue to resolve that? Maybye an anim charging function would be nice to add to a further Openbor engine update, won't it?
Thank you for taking time to read this small problem
