<?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; sdl</title>
	<atom:link href="http://talkbinary.com/tag/sdl/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>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>
		<item>
		<title>Classic Pong</title>
		<link>http://talkbinary.com/programming/game-development/classic-pong/</link>
		<comments>http://talkbinary.com/programming/game-development/classic-pong/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 17:04:13 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[make games]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[pong]]></category>
		<category><![CDATA[sdl]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=541</guid>
		<description><![CDATA[I&#8217;m releasing a preview of my Pong game. This is simply the first release, the second release should be the final. So far it took me about an hour to create. Not bad eh? You too will soon be able to make games like these so stick around so you can also be proficient in<a class="moretag" href="http://talkbinary.com/programming/game-development/classic-pong/">&#160;&#160;Full Article&#8230;</a>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m releasing a preview of my Pong game. This is simply the first release, the second release should be the final. So far it took me about an hour to create. Not bad eh? You too will soon be able to make games like these so stick around so you can also be proficient in Talking Binary!</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>
<p>For now the velocity of the ball is constant. I plan on changing that on my second release so its possible to beat the computer. </p>
<p>This was created using CodeBlocks and an OpenGL/SDL package from a friend of mine. So, soon once I believe the code is user friendly, I&#8217;ll release it so anyone can learn and create your own game! Don&#8217;t worry, it isn&#8217;t difficult. You use C++ and OpenGL/SDL handle all the graphics for you.</p>
<p><a href="http://talkbinary.com/forums/index.php?topic=59.0">Download and comment on the game here. </a></p>
<p>Controls: You move up and down with W and S.</p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/programming/game-development/classic-pong/feed/</wfw:commentRss>
		<slash:comments>2</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-24 10:02:36 -->
