Advertisement Jump to content
Sign in to follow this  

Asteroid clone source code

This topic is 4203 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wrote an Asteroids clone in C++ and SDL for a group project a year or so ago and was wondering if there would be any interest in my posting the source code. It is fairly well commented because it had to be turned in lol. I see a few minor things that are wrong with it. High scores don't work In game music continues after a game over The way I make the game run at a controlable pace is by capping the frame rate which in retrospect was a bad idea...but it works lol. The way I handle rotation is also dumb, but it worked as well. The main point is that the main game works just fine and is pretty simple and might help some people out there. If anyone is interested what format would you like to see it in? IE: zipped on a file sharing service or posted in source tags etc...

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!