Hi guys,
Please help me with this.
I have a player.
I want to simulate him jumping (“parabolic style” - “U style”), and I want to achieve this with no gravity.
I tried this jump code (does not look very real).
local JUMP\_TIME = 500 transition.to ( player, { time = JUMP\_TIME, x = player.x + 100 ) transition.to ( player, { time = JUMP\_TIME / 2, y = player.y - 50, transition = easing.outQuad, onComplete = function () transition.to ( player, { time = JUMP\_TIME / 2, y = player.y + 50, transition = easing.inQuad ) end })
Do you have anything better/more intelligent?
Also, last question:
How to point my player jumping towards certain direction (let say for example he starts at centerX, centerY, and I want to point him at screenRight and screenTop (i.e. upper right part of the screen)?
Many many many thanks!! 
G

