Visitors  

1.png7.png9.png6.png1.png0.png7.png
Today467
Yesterday689
This week4911
This month10735
Total1796107

Who Is Online

5
Online
   
   
Another way to make a character fly.
1 1 1 1 1 1 1 1 1 1 Rating 4.19 (31 Votes)


If a character jumps, he goes into a horizontal trajectory. First you modify the Jump-Frames. In the last of the three frames, you set a next linking to the fly-mode frames, then set the wait so these frames are activated at the highest point of the jump (depends on how huge the jump_height is).
The most important thing in the frames of the fly-mode is a dvy: 550, which keeps the character hovering at the same height above the ground. With dvx: you can set the speed, with dvz: you can allow him to move diagonally. In hit_d: you can make the character go to a frame for him to drop back down to the ground. The easiest way to do this is to simply copy the last Jump-Frame and change it back to the way it was.
Because you used state: 4, the source code automatically activates frame 80 (jump_attack) if you press the attack-button. So you also have to modify these frames with a dvy: 550 and a next: back to the fly-mode frames if you don't want to abort the fly-mode with an attack.

Here's a study example, but you can also download the character DarkBatEX, where this technique is used.

Horizontal-Fly

Inspired by Sam

   
© Little Fighter Empire

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok