![]() |
'blink' teleportation - 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) +---- Forum: Tutorials (https://lf-empire.de/forum/forumdisplay.php?fid=12) +---- Thread: 'blink' teleportation (/showthread.php?tid=688) |
'blink' teleportation - Deus Ex Machina - 07-25-2008 We all know states 400 and 401. Woody's teleports. But what if you want something more useful? If you check out the download I posted on the 8000 rudolf topic, there's a character I made called CCBN (with unaltered bandit sprites), who upon pressing D will teleport a certain distance. It's quite simple really; Code: <frame> 397 telestart That way, you move 200 pixels forward instantly, and the 2nd frame is for the stop; you basically use up all the momentum to run yourself at the ground, thus stopping. RE: 'blink' teleportation - Som1Lse - 07-26-2008 Yes thats right and it works well i cant find any bugs with it but i will use this code: <frame> 397 telestart next: 398 dvx: 200 dvy: 0 wait: 0 etc <frame_end> <frame> 398 telend next: 999 dvx: 550 dvy: 0 <frame_end> instead of this code: <frame> 397 telestart next: 398 dvx: 200 dvy: 0 wait: 0 <frame_end> <frame> 398 telend next: 999 dvx: -1 dvy: 100 <frame_end> Becouse that dv?: 550 stops all movement in that direction and if you want it to go to the crouch frame after the teleport just use next: RE: 'blink' teleportation - Deus Ex Machina - 07-26-2008 Nevertheless mine takes less know-how ^_^ |