< Browse > Home / Archive by category 'Programming / OpenGL'

Classic Pong Source Code Released

August 18th, 2008 | 3 Comments | Posted in Featured, Game Development, OpenGL by Diego | - [Full Entry]

Note: Version of Pong had to be taken down to legal issues with the graphics package. I should be releasing my own version sometime soon! Be patient. Thank you.


I finally got around to finish my version of Pong. It isn’t true to the original game, but resembles it somewhat in game play. This isn’t supposed to be a deep game, simply a downloadable game that you can modify in order to learn how to make a simple video game.

How to get started

You simply need to know C++ in order to start!

Codeblocks with SDL support – Check out this post in order to learn how to set up your environment in Windows using CodeBlocks

Download Pong – and get started right away!

So what do I do?

Simply open the project file once you extracted the files.

This will open the project in CodeBlocks. You can run the game by pressing F9. The game is also found under the bin/Release folder as an executable. If you want to give simply the game, just zip up the Release folder and you should be good!

What files to modify?

The only files you need to modify are paddle, ball, and game class to modify the existing game.

To add additional keyboard support, fonts, images, music, and more, refer to the other classes.

Read more »

Game Source Available

August 14th, 2008 | No Comments | Posted in Game Development, OpenGL, Programming by Diego | - [Full Entry]

Just wanted to keep everyone up to date and let you all know that the source code for the Piranha Plant, Wario, and Coin Game has been posted to the forums.

Go ahead and give it a try, it will be a great experience to see what was put into making that simple game. Make a modification, or change it completely… you are free to do what you like with it.

Just as a reminder, Diego’s Pong Game will soon have another release along with source code. So stay tuned so you can take a look at the work that it takes to make a simple pong game. I know I’m waiting for it!

Here is the link to the source:
Piranha Plant, Wario, and Coin Game Source

Here is how to set up your environment
Setting up your environment is relatively easy with the following tutorial.
Codeblocks with SDL support

Enjoy!

CodeBlocks with SDL Support

August 13th, 2008 | 6 Comments | Posted in Customization, Game Development, OpenGL, Programming by Diego | - [Full Entry]

This is a quick and simple tutorial on how to setup CodeBlocks with support for the Simple DirectMedia Layer (SDL).

Lets start…

If you have never installed CodeBlocks before, keep reading until you see the You are done! text. If you already have CodeBlocks installed skip down to where it says I already have CodeBlocks!.
Read more »

Piranha Plant, Wario, and Coin Game

August 11th, 2008 | 4 Comments | Posted in Game Development, OpenGL, PC, Puzzles, Video Games by Diego | - [Full Entry]

If you have been following the Talk Binary posts, you might remember that Diego made a post about the
Fox, Sheep, and Cabbage Game. Well, in the last two weeks I have been developing a spin off to that same game. It’s called Piranha Plant, Wario, and Coin Game. The logic of the game is easy. Don’t leave the Piranha Plant with Wario and don’t leave Wario with the Coin.

Here is a screen shot of the main menu:


Read more »