i want to make the car to move in a certain position only, like i want it to move on the street only ..
i hope there is a plugin like this to make it easier
example : the moving lines... where the car moves left right front front right right left
THIS IS AN EXAMPLE ONLY ... I NEED SOMETHING LIKE THIS
Develop games in your browser. Powerful, performant & highly capable.
have sprites with solid behavior that get in the way?
my answers usually involve adding physics to it.. which causes more problems.
else you could have conditions , like a left wall and a right wall, on overlapping one push the car back on course
what behavior does the car have? you could just set the speed/acceleration depending the terrain sprite the car overlaps