![]() |
|
change direction? - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: change direction? (/showthread.php?tid=9624) |
change direction? - pikol - 02-19-2015 Hi, how can I change direction of my char moving with arrows during an attack? I'm using state: 4 and have something like that: Code: <frame> 291 light_run
pic: 79 state: 15 wait: 2 next: 292 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\119.wav
wpoint:
kind: 1 x: 30 y: 50 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 292 light_run
pic: 80 state: 4 wait: 1 next: 293 dvx: 40 dvy: 0 dvz: 6 centerx: 39 centery: 79 hit_a: 236 hit_d: 219 hit_j: 282
wpoint:
kind: 1 x: 30 y: 50 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
opoint:
kind: 1 x: -4 y: 66 action: 51 dvx: 0 dvy: 0 oid: 524 facing: 0
opoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>
<frame> 293 light_run
pic: 81 state: 4 wait: 1 next: 292 dvx: 40 dvy: 0 dvz: 6 centerx: 39 centery: 79 hit_a: 236 hit_d: 219 hit_j: 282
wpoint:
kind: 1 x: 30 y: 50 weaponact: 30 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
opoint:
kind: 1 x: -4 y: 66 action: 51 dvx: 0 dvy: 0 oid: 524 facing: 0
opoint_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>RE: change direction? - STM1993 - 02-19-2015 Here's a tutorial by YinYin on how to make your character change direction with arrows during an attack. You can also use this technique to make the character charge an attack. Even if State 4 worked, it would cause bugs, like pressing A can still make you go into Jump attack (by pressing both J+A at the same time for example). |