Hi,
I am trying to create a horizontal scrolling background, i have it scrolling but after a while a large gap appears.
imgur.com/a/Xtyvi
I can't seem to debug the issue, has anyone else had a similar issue.
If your background image origin point is in the center, you'll need your background to be 2 times the window width. You currently set it to equal window width on start of layout.
In my experience it would be best to use power of 2 as speed variable. Check my example about it:
The implementation: moving_background_vari.capx remember to using the power of 2 for moving speed
The implementation: moving_background_vari.capx
remember to using the power of 2 for moving speed
Develop games in your browser. Powerful, performant & highly capable.
Perfect Thanks guys !!!