How to modify and run our source code for OpenGL/SDL projects

Wondering how to modify or run our source code for our OpenGL/SDL projects in order to start editing and learning how to make video games? No worry. Below, I’ll run you through the 3 steps in order to do so. (Yes, your heard it right, simply 3).

Setting up your enviornment

Step 1
First things first, visit Codeblocks with SDL Support to set up your enviornment. This is merely installing one or two files.

Game available with source code

Step 2
Secondly, download one of our games. Below are the ones we currently have.

Piranha Plant, Wario, and Coin Game – Based on an old puzzle, this game uses graphics, music, font, sound effects and animation. As well as keyboard and mouse input. Great way to learn how to program games with a variety of nice features.
Download

Classic Pong – Well, not classic but similarly to its original gameplay. Learn how to draw simple objects, use font, and how to make an interactive game with computer AI and some second player support.
Download

Opening the project, and running the program

Step 3
Simply open the project file once you extract the contents of the game you downloaded. It should be found in the main folder.

Codeblocks will be opened and you’ll see the projects. Now, was that hard? That is it in order to start modyfying our games! Now go learn.

To run the program in CodeBlocks, simply press F9.

To learn what files you need to modify, simply refer to the original post for the games release.

Have any other questions? Visit our forums and we’ll be more than happy to help! Drop a comment as well.


Related Posts

1 Star2 Stars (No Ratings Yet)

No comments yet... Be the first to leave a reply!

blog comments powered by Disqus