Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17063

move a sprite in a curve

$
0
0

well I am working on a slot car simulation video game. So far I have drawn the racing track in an oval along with the car sprite which moves up toward the top of the screen along the  racing track. I want to use some trigonometry to make the car move around the first bend in the track. I probably want to use the sin and cos functions.


Viewing all articles
Browse latest Browse all 17063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>