Hey guys. In my game i have road and obstacles. road it is tiled bg and obstacles it is sprite with bullet behaviour. I want to sync the bullet and tiled bg speed, but i don't know the formula. Maybe somebody know how to calculate it in right way?
Develop games in your browser. Powerful, performant & highly capable.
found the formula. Maybe it will be useful for somebody objectPositoon(x or Y) + (speed*deltaTime)