embeddedmz / 16-Games

16 Games developed in C++ by YouTuber "FamTrinli". I added CMake support to ease compiling on different platforms.
66 stars 23 forks source link

A possible bug on Asteroids #6

Open fettahyildizz opened 11 months ago

fettahyildizz commented 11 months ago

Hello guys, I was re-implementing Asteroids and come up with a question. What happens if you keep pressing Right key. It constantly rises angle value up to what? When it's so large enough that float can't hold it's value, a bug will occur. Any thoughts on how to fix that?

embeddedmz commented 11 months ago

Hi,

All the games are buggy and/or incomplete, with the exception of Tetris, which I've maintained and play often.