Hello Everyone,
I have a platformer that I want to move at the speed of an objects width. Sort of like and analog stick. So the wider the object the faster the platfomer will move. I have included a CAPX with a technique I ended up getting to half work but its weaksauce. It seems soooo easy but I am having trouble making this work. Any help would be appreciated.
CAPX FILE HERE!
Thanks Constructors!
I think you are wrong in setting max speed to imagewidth - imagewidth is the original size of the tile. Try using abs( tiledbackground.width)
Here you go.
https://db.tt/tvodvsJR
It's not easy because you have to take into account the moving position of Mouse.X (as the screen scrolls the X becomes greater).
Develop games in your browser. Powerful, performant & highly capable.
RamPackWobble and GenkiGenga, Thank you very much for your help.