hi guys iam making a racing game where on touch of the screen the car should speed up.in order to achieve this i made a scrolling road background.when the speed is the default one it is ok but when the speed changes, some gaps appear in between the road sprite object creation.How do i solve this issue
the default bullet speed for the road is 200.the max speed is set through a global variable speed that is incremented every 2 seconds to reach max speed of 3000.
i use two road sprites with an algorithm detecting which is the last one and then create and assign a speed to a new road object