<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Talk Binary &#187; OpenGL</title>
	<atom:link href="http://talkbinary.com/category/programming/opengl/feed/" rel="self" type="application/rss+xml" />
	<link>http://talkbinary.com</link>
	<description>Programming Resources, Technology, Computers</description>
	<lastBuildDate>Wed, 15 Feb 2012 16:01:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Classic Pong Source Code Released</title>
		<link>http://talkbinary.com/programming/opengl/classic-pong-source-code-released/</link>
		<comments>http://talkbinary.com/programming/opengl/classic-pong-source-code-released/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 03:00:17 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[how do I make a game]]></category>
		<category><![CDATA[learn how to make games]]></category>
		<category><![CDATA[pong game]]></category>
		<category><![CDATA[source code for game]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=668</guid>
		<description><![CDATA[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&#8217;t true to the original game, but resembles it somewhat in game play. This isn&#8217;t<a class="moretag" href="http://talkbinary.com/programming/opengl/classic-pong-source-code-released/">&#160;&#160;Full Article&#8230;</a>
]]></description>
			<content:encoded><![CDATA[<p><center><font color="red"><b>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.</b></center></font><br />
<br/><br />
I finally got around to finish my version of Pong. It isn&#8217;t true to the original game, but resembles it somewhat in game play. This isn&#8217;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.</p>
<p><center><a href="http://talkbinary.com/wp-content/uploads/2008/08/pong.jpg"><img src="http://talkbinary.com/wp-content/uploads/2008/08/pong-300x232.jpg" alt="" title="pong" width="300" height="232" class="alignnone size-medium wp-image-542" /></a></center></p>
<h3 id="section-1">How to get started</h3>
<p>You simply need to know C++ in order to start! </p>
<p><a href="http://talkbinary.com/2008/08/codeblocks-with-sdl-support/">Codeblocks with SDL support</a> &#8211; Check out this post in order to learn how to set up your environment in Windows using CodeBlocks</p>
<p><a href="http://www.mediafire.com/download.php?ohremrpbzaj">Download Pong</a> &#8211; and get started right away!</p>
<h3 id="section-2">So what do I do?</h3>
<p>Simply open the project file once you extracted the files.</p>
<p><center><img src="http://talkbinary.com/wp-content/uploads/2008/08/projectfile.jpg" alt="" title="projectfile" width="169" height="116" class="alignnone size-full wp-image-714" /></center></p>
<p>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!</p>
<h3 id="section-3">What files to modify?</h3>
<p>The only files you need to modify are <strong>paddle, ball, and game</strong> class to modify the existing game. </p>
<p>To add additional keyboard support, fonts, images, music, and more, refer to the other classes. </p>
<p><span id="more-668"></span></p>
<h3 id="section-4">What now?</h3>
<p><a href="http://talkbinary.com/forums/index.php?topic=59.msg141#msg141">Visit the post on the forum</a> for help or comments! Also, show us your creation! We&#8217;d like to see what you can come up with!</p>
<p>I hope everyone enjoys this. Tell me what you think!</p>
<h3 id="section-5">Thanks to</h3>
<p>Thanks to Roby Atadero&#8217;s comments and great OpenGL/SDL package! Couldn&#8217;t have done it without him. </p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/programming/opengl/classic-pong-source-code-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Game Source Available</title>
		<link>http://talkbinary.com/programming/opengl/game-source-available/</link>
		<comments>http://talkbinary.com/programming/opengl/game-source-available/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 06:46:19 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[game source]]></category>
		<category><![CDATA[make your own game]]></category>
		<category><![CDATA[modify game]]></category>
		<category><![CDATA[open source games]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[video game]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=639</guid>
		<description><![CDATA[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 class="moretag" href="http://talkbinary.com/programming/opengl/game-source-available/">&#160;&#160;Full Article&#8230;</a>
]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><center><img class="alignnone size-medium wp-image-640" title="source" src="http://talkbinary.com/wp-content/uploads/2008/08/source.png"  /></center></p>
<p>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&#8230; you are free to do what you like with it.</p>
<p>Just as a reminder, Diego&#8217;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&#8217;m waiting for it! </p>
<p><strong>Here is the link to the source:</strong><br />
<a href="http://talkbinary.com/forums/index.php?topic=61.0">Piranha Plant, Wario, and Coin Game Source</a> </p>
<p><strong>Here is how to set up your environment</strong><br />
Setting up your environment is relatively easy with the following tutorial.<br />
<a href="http://talkbinary.com/2008/08/codeblocks-with-sdl-support/">Codeblocks with SDL support</a></p>
<p>Enjoy! </p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/programming/opengl/game-source-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeBlocks with SDL Support</title>
		<link>http://talkbinary.com/programming/opengl/codeblocks-with-sdl-support/</link>
		<comments>http://talkbinary.com/programming/opengl/codeblocks-with-sdl-support/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 21:32:33 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[how to get sdl on codeblocks]]></category>
		<category><![CDATA[mingw with sdl support]]></category>
		<category><![CDATA[program with sdl]]></category>
		<category><![CDATA[sdl]]></category>
		<category><![CDATA[SDL support for codeblocks]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=582</guid>
		<description><![CDATA[This is a quick and simple tutorial on how to setup CodeBlocks with support for the Simple DirectMedia Layer (SDL). Lets start&#8230; 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!.<a class="moretag" href="http://talkbinary.com/programming/opengl/codeblocks-with-sdl-support/">&#160;&#160;Full Article&#8230;</a>
]]></description>
			<content:encoded><![CDATA[<p>This is a quick and simple tutorial on how to setup CodeBlocks with support for the <strong>Simple DirectMedia Layer (SDL)</strong>.</p>
<p style="text-align: center;"><a href="http://talkbinary.com/wp-content/uploads/2008/08/sdl_logo.png"><img class="size-medium wp-image-601 aligncenter" title="SDL" src="http://talkbinary.com/wp-content/uploads/2008/08/sdl_logo-300x174.png" alt="" width="300" height="174" /></a></p>
<p>Lets start&#8230;</p>
<p>If you have never installed CodeBlocks before, keep reading until you see the <strong>You are done!</strong> text. If you already have CodeBlocks installed skip down to where it says <strong>I already have CodeBlocks!</strong>.<br />
<span id="more-582"></span><br />
With this method you should be set for any SDL and OpenGL source code that Diego and I give you. Since you don&#8217;t already have CodeBlocks,  the first thing you need to do is download these two packages. One is the MinGW compiler with SDL support and the second is CodeBlocks by itself.</p>
<p style="text-align: center;"><strong>Download Files</strong></p>
<p style="text-align: center;"><a rel="nofollow" href="http://www.mediafire.com/?elcwk65xyqn">MinGW with SDL</a></p>
<p style="text-align: center;"><a rel="nofollow" href="http://download.berlios.de/codeblocks/codeblocks-8.02-setup.exe">CodeBlocks Core Application Only</a></p>
<p>Once your downloads are done, install the MinGW with SDL first. Simply click the extract button and wait until it is done.</p>
<p style="text-align: center;"><a href="http://talkbinary.com/wp-content/uploads/2008/08/mingwextract.png"><img class="size-medium wp-image-586 aligncenter" title="Extracting MinGW" src="http://talkbinary.com/wp-content/uploads/2008/08/mingwextract-300x176.png" alt="" width="300" height="176" /></a></p>
<p>Next, Install CodeBlocks ( Just click next until it starts the copying process ) and Run it after the install. When it starts up you will see that it has detected the <strong>GNU CCC Compiler</strong>, simply click OK and that&#8217;s it.</p>
<p style="text-align: center;"><a href="http://talkbinary.com/wp-content/uploads/2008/08/compiler-select.png"><img class="size-medium wp-image-588 aligncenter" title="Compiler Selection" src="http://talkbinary.com/wp-content/uploads/2008/08/compiler-select-300x185.png" alt="" width="300" height="185" /></a></p>
<p>If you want to associate .cpp and .h files with CodeBlocks ( highly recommended ) simply do so. That&#8217;s it you have CodeBlocks with SDL support.</p>
<p><a href="http://talkbinary.com/wp-content/uploads/2008/08/done.png"><img title="done" src="http://talkbinary.com/wp-content/uploads/2008/08/done.png" alt="" /></a></p>
<p style="text-align: center;">******************************************************************************************</p>
<p style="text-align: center;">******************************************************************************************</p>
<p><a href="http://talkbinary.com/wp-content/uploads/2008/08/haveit.png"><img title="I already have CodeBlocks!" src="http://talkbinary.com/wp-content/uploads/2008/08/haveit.png" alt="" /></a></p>
<p>It&#8217;s nice to know that you are using CodeBlocks, but first lets make sure of something. This guide works if you have installed the CodeBlocks package that comes bundled with the MinGW compiler. If you are using a different compiler, simply download the <strong>MinGW with SDL</strong> package that is linked above and install it. When you are done installing it simply change the default compiler to the <strong>GNU CCC Compiler</strong> and you are done!</p>
<p>If you have installed the bundled version of CodeBlocks this will not take that long&#8230;</p>
<p>First, Download this package and extract it as it is:</p>
<p style="text-align: center;"><strong>Download File</strong><a rel="nofollow" href="http://www.mediafire.com/?rezxdfajqcn"></a></p>
<p style="text-align: center;"><a rel="nofollow" href="http://www.mediafire.com/?rezxdfajqcn">MinGW SDL Add-in</a></p>
<p>Next, open CodeBlocks ( don&#8217;t open it with a project ) and click on the Settings and then Compilers and Debuggers:</p>
<p style="text-align: center;"><a href="http://talkbinary.com/wp-content/uploads/2008/08/settings1.png"><img class="size-medium wp-image-608 aligncenter" title="Settings" src="http://talkbinary.com/wp-content/uploads/2008/08/settings1-300x267.png" alt="" width="300" height="267" /></a></p>
<p>After that, simply click on <strong>Reset Defaults</strong> and OK on the following 3 Message Windows.</p>
<p style="text-align: center;"><a href="http://talkbinary.com/wp-content/uploads/2008/08/settings2.png"><img class="size-medium wp-image-606 aligncenter" title="Reset Default, OK, OK, OK" src="http://talkbinary.com/wp-content/uploads/2008/08/settings2-300x270.png" alt="" width="300" height="270" /></a></p>
<p>That&#8217;s it you now have SDL support on CodeBlocks!</p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/programming/opengl/codeblocks-with-sdl-support/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Piranha Plant, Wario, and Coin Game</title>
		<link>http://talkbinary.com/programming/opengl/piranha-plant-wario-and-coin-game/</link>
		<comments>http://talkbinary.com/programming/opengl/piranha-plant-wario-and-coin-game/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 02:06:07 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[cool games]]></category>
		<category><![CDATA[free games]]></category>
		<category><![CDATA[game source code]]></category>
		<category><![CDATA[learn opengl]]></category>
		<category><![CDATA[learn sdl]]></category>
		<category><![CDATA[logic puzzles]]></category>
		<category><![CDATA[sdl]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=560</guid>
		<description><![CDATA[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&#8217;s called Piranha Plant, Wario, and Coin Game. The logic of the game is<a class="moretag" href="http://talkbinary.com/programming/opengl/piranha-plant-wario-and-coin-game/">&#160;&#160;Full Article&#8230;</a>
]]></description>
			<content:encoded><![CDATA[<p>If you have been following the Talk Binary posts, you might remember that Diego made a post about the<br />
<a href="http://talkbinary.com/2008/07/fox-sheep-and-cabbage-puzzle/">Fox, Sheep, and Cabbage Game</a>. Well, in the last two weeks I have been developing a spin off to that same game. It&#8217;s called Piranha Plant, Wario, and Coin Game. The logic of the game is easy. Don&#8217;t leave the Piranha Plant with Wario and don&#8217;t leave Wario with the Coin.</p>
<p>Here is a screen shot of the main menu:</p>
<p><center><a href="http://talkbinary.com/wp-content/uploads/2008/08/untitled-2.png"><img src="http://talkbinary.com/wp-content/uploads/2008/08/untitled-2-300x225.png" alt="" title="Piranha Plant, Wario, and Coin Game" width="300" height="225" class="alignnone size-medium wp-image-561" /></a></center><br />
<span id="more-560"></span></p>
<p>My main incentive for making this game was to demonstrate the use of OpenGL and SDL on Windows. For that reason both the Compiled game and Source code will be available for download. With it you can easily edit images, and make your own changes to it. While doing so we encourage you to ask question in our forums as well as post your modifications. I hope everyone enjoys this! You can find the <a href="http://talkbinary.com/forums/index.php?topic=61.0">source code</a> in our forums in our OpenGL board. </p>
<p><strong>Instructions on how to play the game:</strong></p>
<p>Click a selection block to select a character to go onto the floater.<br />
Hit <strong>Spacebar</strong> to toggle between Selection mode and Go! mode.<br />
When in Go! mode use <strong>Left click</strong> to move floater <strong>Right</strong> and <strong>Right click</strong> to move floater <strong>Left.</strong></p>
<p>That is pretty much it. </p>
<p><strong>Here is the link to the game &#038; source code, Enjoy! </strong><br />
<a href="http://www.mediafire.com/?np5cabtduyw">Piranha Plant, Wario, and Coin Game</a><br />
<a href="http://talkbinary.com/forums/index.php?topic=61.0">Piranha Plant, Wario, and Coin Game Source Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/programming/opengl/piranha-plant-wario-and-coin-game/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: talkbinary.com @ 2012-05-21 18:50:44 -->
