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?
Yup. Like that. Thanks
Develop games in your browser. Powerful, performant & highly capable.
Chrome. But you can just set it to the browser you normally use.
Now how do you do it with easing?
How about trying rex moveto behaviour?
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.
How do i slide/menu using drag and drop?
Sorry, I do not understand what you mean. If you want to use drag&drop then the menu won't slide any more.