How to move or fly an object in a projectile way? I am not good at English,so for better understanding i attached that object Flying.
Set physics to the object, make some boundaries, set the angle of the object and set some acceleration onto it
IndieKiwi , can you please give me a capx about this what you have suggested?
Topdown cycle movement?
[attachment=0:2favie2w][/attachment:2favie2w]
JamesXXXYZ . no. If the object is named by "C" and the left & right position are "A" and "B"..Then that object files between A and B in a projectile way....
Nikitow you can learn from this tutorial
https://www.scirra.com/tutorials/1157/p ... ng-physics
Develop games in your browser. Powerful, performant & highly capable.
Not exactly what you want but maybe you can reach it with this one or accept it. I modified it from isometric movement.
[attachment=0:2phanow2][/attachment:2phanow2]
global number t=0
every tick:
--- set t to abs(time%2-1)
--- set x to cubic(a.x, a.x, b.x, b.x, t)
--- set y to cubic(a.y, a.y-100, b.y-100, b.y, t)