I want to have an object slide in like a menu or graphic. How do I do this without using bullets or sines? Is it possible to do a loop that moves it 1 pixel every x seconds? When I do this, it moves instantly to position 2 without animating in between position 1 and 2.
Something like this?
dropbox.com/s/faaj6lehaj7pzez/menuslide.capx
Yup. Like that. Thanks
Chrome. But you can just set it to the browser you normally use.
Develop games in your browser. Powerful, performant & highly capable.
Now how do you do it with easing?
How about trying rex moveto behaviour?
scirra.com/forum/behavior-moveto_topic44845.html
You could use lerp for movement--it's what I use for my menus. If variable menuout=1, and if menu.x is less than 300, set menu.x to lerp(menu.x, 300, 2*dt) or something similar.
c4sp3r89
How do i slide/menu using drag and drop?
Thanks!
Sorry, I do not understand what you mean. If you want to use drag&drop then the menu won't slide any more.