Is there a way to use dt as a way to move my object upwards?
So:
touch[on any touch start] > sprite [ move dt pixels upwards]
Kind regards,
Niek,
There are a bunch of ways you could probably do it. Might be easiest to install and use something like the easetween behaviour for this. But you could also do it by toggling a variable on and off eg if variable is true and sprite Y > 0 every tick Sprite set Y to Sprite.y -60 * dt - should get you started.
signaljacker I will try, thanks for replying!
signaljacker I tried but I can't figure it out, can you make a CAPX?
Thanks,
Niek
Niek - try thishttps://www.dropbox.com/s/h4i04durr8aumq7/dt.capx?dl=0 - just substitute mouse controls with touch and adjust y position and dt speed to suit.
Develop games in your browser. Powerful, performant & highly capable.
signaljacker ok, I will try, thanks