Aerisetta
Active member
I am trying to make a dodge button so if I press DODGE + DIRECTION it will dodge towards a direction.
Below I have code to dodge, the doge works BUT the dodge only works if I am not already walking.
If I am walking froward and press DODGE+DIRECTION, nothing happens.
If I press DODGE + DIRECTION from idle, the doge will happen.
I wish to be able to dodge forward even while walking froward.
Below I have code to dodge, the doge works BUT the dodge only works if I am not already walking.
If I am walking froward and press DODGE+DIRECTION, nothing happens.
If I press DODGE + DIRECTION from idle, the doge will happen.
I wish to be able to dodge forward even while walking froward.
DODGING BUTTONS
com U A2 freespecial41
com F A2 freespecial42
com D A2 freespecial43
anim walk
cancel 0 999 0 U A2 freespecial41
cancel 0 999 0 F A2 freespecial42
cancel 0 999 0 D A2 freespecial43
loop 1
delay 10
offset 130 250
bbox 77 10 97 265
frame data/chars/aerisetta/run01.png
sound data/sounds/Run.wav
frame data/chars/aerisetta/run02.png
frame data/chars/aerisetta/run03.png
@cmd setglobalvar "zoomentity" NULL()
sound data/sounds/Run.wav
frame data/chars/aerisetta/run04.png
frame data/chars/aerisetta/run05.png
sound data/sounds/Run.wav
frame data/chars/aerisetta/run06.png
anim freespecial41
jugglecost 1
delay 8
offset 130 275
@cmd spawner "trail" 0 0 0
sound data/sounds/magic.wav
@cmd dasher 0 0 -5 0
frame data/chars/aerisetta/attack301.png
@cmd randSound "A_Laugh1.wav" "A_Laugh2.wav" "A_Laugh2.wav"
frame data/chars/aerisetta/attack301.png
@cmd setglobalvar "zoomentity" NULL()
anim freespecial42
jugglecost 1
delay 8
offset 130 275
@cmd spawner "trail" 0 0 0
sound data/sounds/magic.wav
@cmd dasher 10 0 0 1
frame data/chars/aerisetta/attack301.png
@cmd randSound "A_Laugh1.wav" "A_Laugh2.wav" "A_Laugh2.wav"
frame data/chars/aerisetta/attack301.png
@cmd setglobalvar "zoomentity" NULL()
anim freespecial43
jugglecost 1
delay 8
offset 130 275
@cmd spawner "trail" 0 0 0
sound data/sounds/magic.wav
@cmd dasher 0 0 5 0
frame data/chars/aerisetta/attack301.png
@cmd randSound "A_Laugh1.wav" "A_Laugh2.wav" "A_Laugh2.wav"
frame data/chars/aerisetta/attack301.png
@cmd setglobalvar "zoomentity" NULL()