<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Man With Code &#187; Making Games With Ruby</title>
	<atom:link href="http://manwithcode.com/category/making-games-with-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://manwithcode.com</link>
	<description>Teaching You, One Tutorial at a Time</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:57:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Making Games With Ruby &#8211; Episode 11 Written</title>
		<link>http://manwithcode.com/424/making-games-with-ruby-episode-11-written/</link>
		<comments>http://manwithcode.com/424/making-games-with-ruby-episode-11-written/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 05:49:38 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=424</guid>
		<description><![CDATA[Episode eleven of Making Games With Ruby: Options, has been written! This episode is short and sweet, and gives the players power over how our game plays. This episode also marks the end of the core development on our Pong game, everything after this will just be icing on the cake. You can read it [...]]]></description>
			<content:encoded><![CDATA[<p>Episode eleven of Making Games With Ruby: Options, has been written! This episode is short and sweet, and gives the players power over how our game plays. This episode also marks the end of the core development on our Pong game, everything after this will just be icing on the cake. You can read it here: <a title="Making Games With Ruby Ep. 11 - Options" href="http://devel.manwithcode.com/making-games-with-ruby.html#9">http://devel.manwithcode.com/making-games-with-ruby.html#9</a></p>
<p>I hope enjoy this one! <img src='http://manwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>- Tyler</p>
<p>(After posting this, I realized that the last episode came out just about a month ago, I&#8217;m really sorry for how long this took. In all honesty, I had the code for this written about 3 days after finishing Episode 10, but procrastination, school, and random stuff kept me away from writing the episode. Those reasons are no excuses, and I hope you&#8217;ll accept my apologies!)</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/424/making-games-with-ruby-episode-11-written/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 10 Written</title>
		<link>http://manwithcode.com/419/making-games-with-ruby-episode-10-written/</link>
		<comments>http://manwithcode.com/419/making-games-with-ruby-episode-10-written/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 04:39:35 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=419</guid>
		<description><![CDATA[Episode ten of the Making Games With Ruby series: Sound, has been written! As you could probably tell by the title, we add sound to our game in this episode, more specifically one sound effect and some background music. You can read it here: http://devel.manwithcode.com/making-games-with-ruby.html#8 I&#8217;d like to say sorry for how long this episode [...]]]></description>
			<content:encoded><![CDATA[<p>Episode ten of the Making Games With Ruby series: Sound, has been written! As you could probably tell by the title, we add sound to our game in this episode, more specifically one sound effect and some background music. You can read it here: <a title="Making Games With Ruby Ep. 10 - Sound" href="http://devel.manwithcode.com/making-games-with-ruby.html#8">http://devel.manwithcode.com/making-games-with-ruby.html#8</a></p>
<p>I&#8217;d like to say sorry for how long this episode took to come out. It&#8217;s a short one, but I still had difficulty finding the time and motivation to produce it. For the most part this is because I&#8217;m back at school, so expect future delays, but I&#8217;ll still try my best to get them out as fast as I can.</p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/419/making-games-with-ruby-episode-10-written/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 9 Written</title>
		<link>http://manwithcode.com/411/making-games-with-ruby-episode-9-written/</link>
		<comments>http://manwithcode.com/411/making-games-with-ruby-episode-9-written/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 02:52:10 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=411</guid>
		<description><![CDATA[Episode nine of the Making Games With Ruby series, Game States (Title, About, and Pause), is finally written! This episode has us implementing game states, which lays the foundation for our Pause, Title, and About screens, which we also implement in this episode. You can read it here: http://devel.manwithcode.com/making-games-with-ruby.html#7 This one is probably the longest [...]]]></description>
			<content:encoded><![CDATA[<p>Episode nine of the Making Games With Ruby series, Game States (Title, About, and Pause), is finally written! This episode has us implementing game states, which lays the foundation for our Pause, Title, and About screens, which we also implement in this episode. You can read it here: <a title="Making Games With Ruby Ep. 9 - Game States (Title, About, and Pause)" href="http://devel.manwithcode.com/making-games-with-ruby.html#7">http://devel.manwithcode.com/making-games-with-ruby.html#7</a></p>
<p>This one is probably the longest episode in the entire series (at least so far), which is why it&#8217;s taken me a bit longer to finish. (I&#8217;m still not 100% sure I&#8217;ve caught every mistake, so if you see any code errors or script typos, don&#8217;t hesitate to email me, or leave a comment here).</p>
<p>Enjoy! <img src='http://manwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/411/making-games-with-ruby-episode-9-written/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 8 Written</title>
		<link>http://manwithcode.com/407/making-games-with-ruby-episode-8-written/</link>
		<comments>http://manwithcode.com/407/making-games-with-ruby-episode-8-written/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 20:12:31 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=407</guid>
		<description><![CDATA[Episode eight of Making Games With Ruby, Winning and Playing Again, is written! This one&#8217;s a pretty short and easy episode, but it&#8217;s still a good one! You can read it here: http://devel.manwithcode.com/making-games-with-ruby.html#6 Have fun! - Tyler]]></description>
			<content:encoded><![CDATA[<p>Episode eight of Making Games With Ruby, Winning and Playing Again, is written! This one&#8217;s a pretty short and easy episode, but it&#8217;s still a good one! You can read it here: <a title="Making Games With Ruby Ep. 8 - Winning and Playing Again" href="http://devel.manwithcode.com/making-games-with-ruby.html#6">http://devel.manwithcode.com/making-games-with-ruby.html#6</a></p>
<p>Have fun! <img src='http://manwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/407/making-games-with-ruby-episode-8-written/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 7 Written</title>
		<link>http://manwithcode.com/404/making-games-with-ruby-episode-7-written/</link>
		<comments>http://manwithcode.com/404/making-games-with-ruby-episode-7-written/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 02:26:21 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=404</guid>
		<description><![CDATA[Episode seven of Making Games With Ruby, Keeping Score, has been written. You can get to it from this link: http://devel.manwithcode.com/making-games-with-ruby.html#5 This episode has text drawing and players scoring on each other, I hope you like it - Tyler]]></description>
			<content:encoded><![CDATA[<p>Episode seven of Making Games With Ruby, Keeping Score, has been written. You can get to it from this link: <a title="Making Games With Ruby Ep. 7 - Keeping Score" href="http://devel.manwithcode.com/making-games-with-ruby.html#5">http://devel.manwithcode.com/making-games-with-ruby.html#5</a></p>
<p>This episode has text drawing and players scoring on each other, I hope you like it <img src='http://manwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/404/making-games-with-ruby-episode-7-written/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 6 Written</title>
		<link>http://manwithcode.com/401/making-games-with-ruby-episode-6-written/</link>
		<comments>http://manwithcode.com/401/making-games-with-ruby-episode-6-written/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 04:28:16 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=401</guid>
		<description><![CDATA[Episode six of Making Games With Ruby, The Ball, is written, online, and available at this link: http://devel.manwithcode.com/making-games-with-ruby.html#4 This episode has the ball boucing off the sides of the screen and the paddles, so it&#8217;s pretty cool, I hope you like it! - Tyler]]></description>
			<content:encoded><![CDATA[<p>Episode six of Making Games With Ruby, The Ball, is written, online, and available at this link: <a title="Making Games With Ruby Ep. 6 - The Ball" href="http://devel.manwithcode.com/making-games-with-ruby.html#4">http://devel.manwithcode.com/making-games-with-ruby.html#4</a></p>
<p>This episode has the ball boucing off the sides of the screen and the paddles, so it&#8217;s pretty cool, I hope you like it! <img src='http://manwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/401/making-games-with-ruby-episode-6-written/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Games With Ruby &#8211; Episode 5 Written</title>
		<link>http://manwithcode.com/389/making-games-with-ruby-episode-5-written/</link>
		<comments>http://manwithcode.com/389/making-games-with-ruby-episode-5-written/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 03:09:18 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=389</guid>
		<description><![CDATA[Episode five of Making Games With Ruby, Input and Movement, is all written up and available at this link: http://devel.manwithcode.com/making-games-with-ruby.html#3 Enjoy! - Tyler]]></description>
			<content:encoded><![CDATA[<p>Episode five of Making Games With Ruby, Input and Movement, is all written up and available at this link: <a title="Making Games With Ruby Ep. 5 - Input and Movement" href="http://devel.manwithcode.com/making-games-with-ruby.html#3">http://devel.manwithcode.com/making-games-with-ruby.html#3</a></p>
<p>Enjoy!</p>
<p>- Tyler</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/389/making-games-with-ruby-episode-5-written/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making Games with Ruby Ep. 3 &#8211; Basics</title>
		<link>http://manwithcode.com/322/making-games-with-ruby-ep-3-basics/</link>
		<comments>http://manwithcode.com/322/making-games-with-ruby-ep-3-basics/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 23:58:06 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[basics window games rubygame ruby]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=322</guid>
		<description><![CDATA[Covered In This Episode: Creating a Window Basic Event Handling Transcript: Hello Everybody and welcome to making games with Ruby episode 3, Basics. I&#8217;m Tyler and these videos are brought to you by manwithcode.com. Today we&#8217;re just going to be talking about the very basics of game creation, just getting a window on the screen. [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/rcsNp8deJVs&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/rcsNp8deJVs&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><strong>Covered In This Episode:</strong></p>
<ul>
<li>Creating a Window</li>
<li>Basic Event Handling</li>
</ul>
<p><strong>Transcript:</strong></p>
<p>Hello Everybody and welcome to making games with Ruby episode 3, Basics. I&#8217;m Tyler and these videos are brought to you by manwithcode.com.</p>
<p>Today we&#8217;re just going to be talking about the very basics of game creation, just getting a window on the screen. The code for this episode is on manwithcode.com, if you&#8217;re not there already. <a title="Making Games with Ruby Episode 3 - Basics" href="http://manwithcode.com/322/making-games-with-ruby-ep-3-basics">http://manwithcode.com/322/making-games-with-ruby-ep-3-basics</a></p>
<p>Lets get started!</p>
<p>We&#8217;re going to start by requiring in the libraries we need, which for now is only rubygems and rubygame:</p>
<pre class="brush: ruby; title: ; notranslate">
require 'rubygems'
require 'rubygame'
</pre>
<p>Then we&#8217;re going to create the main Game class, and stub out all the methods in it:</p>
<pre class="brush: ruby; title: ; notranslate">
class Game
	def initialize
	end

	def run!
	end

	def update
	end

	def draw
	end
end
</pre>
<p>And after that we&#8217;re going to add the code to run the game:</p>
<pre class="brush: ruby; title: ; notranslate">
g = Game.new
g.run!
</pre>
<p>So far this is just some very basic structure, nothing really happens yet. I&#8217;m going to run the code just to double check we have no syntax errors&#8230;</p>
<p>The first thing we&#8217;re going to do is initialize everything we&#8217;ll need:</p>
<pre class="brush: ruby; title: ; notranslate">
def initialize
	@screen = Rubygame::Screen.new [640, 480], 0, [Rubygame::HWSURFACE, Rubygame::DOUBLEBUF]
	@screen.title = &quot;Pong&quot;

	@queue = Rubygame::EventQueue.new
	@clock = Rubygame::Clock.new
	@clock.target_framerate = 60
end
</pre>
<p>Some of this is self explaitory, but let&#8217;s break it down. The first line of <code>initialize</code> creates the window for our game, Rubygame calls this a Screen. The first argument <code>[640, 480]</code> is the size of the screen, the second is the screen depth (you don&#8217;t need to worry about this), the last one is a list of flags we pass to rubygame. HWSURFACE means we want it to be accelerated on the graphics card if available, and DOUBLEBUF means we want the screen to be double buffered. Double buffering is a way of drawing to the screen. I won&#8217;t go into too much detail right now to explain double buffering, but I will in a later episode.</p>
<p>The second line has an obvious purpose, it sets the title at the top of the screen to Pong</p>
<p>The fifth line is setup so we can handle events, I&#8217;ll talk more about this later.</p>
<p>The last two lines are the setup so we can limit the framerate to 60 frames per second. The frame rate is how many times the screen is drawn every second (we&#8217;ll be doing our drawing in the <code>Game#draw</code> method). If we let this go unchecked, our game will run as fast as possible which isn&#8217;t desireable since top speed will be different on different computers, and depending on what the game is doing at a particular moment in time. I think 60 is a good number, but we can easily change it later if we want.</p>
<p>Next we&#8217;re going to setup the main game loop:</p>
<pre class="brush: ruby; title: ; notranslate">
def run!
	loop do
		update
		draw
		@clock.tick
	end
end
</pre>
<p>This loops indefinately until we decide in a different part of the code to end the game. <code>@clock.tick</code> is what allows us to limit our framerate. You can now run the game, it should just be a black screen. You can see the title at the top, like we set in the initialize function.</p>
<p>But if you try to close the window&#8230; Nothing happens!!! To close it try pressing CTRL+C in the command prompt window, or you may have to go to the task manager and kill it from there. To fix this problem, we need to talk about the event queue.</p>
<p>We&#8217;re going to start by defining the <code>update</code> method:</p>
<pre class="brush: ruby; title: ; notranslate">
def update
	@queue.each do |ev|
		case ev
			when Rubygame::QuitEvent
				Rubygame.quit
				exit
		end
	end
end
</pre>
<p>Whenever the user gives us some input, presses a key, moves the mouse, etc. the Rubygame adds an event for this input onto the queue. We handle these events in our update method.</p>
<p><code>@queue.each</code> loops over each event, and we have a case statement that handles the event depending on the type. For closing the window, the event type is <code>Rubygame::QuitEvent</code>, which is generated whenever the user presses the close window button or ALT+F4.</p>
<p>Now if you run the game, the window should appear and you should be able to close it now! Yay!</p>
<p>This is the final source listing for this episode:</p>
<pre class="brush: ruby; title: ; notranslate">
require 'rubygems'
require 'rubygame'

class Game
	def initialize
		@screen = Rubygame::Screen.new [640, 480], 0, [Rubygame::HWSURFACE, Rubygame::DOUBLEBUF]
		@screen.title = &amp;quot;Pong&amp;quot;

		@queue = Rubygame::EventQueue.new
		@clock = Rubygame::Clock.new
		@clock.target_framerate = 60
	end

	def run!
		loop do
			update
			draw
			@clock.tick
		end
	end

	def update
		@queue.each do |ev|
			case ev
				when Rubygame::QuitEvent
					Rubygame.quit
					exit
			end
		end
	end

	def draw
	end
end

g = Game.new
g.run!
</pre>
<p>This brings us to the end of the episode.</p>
<p>If you have any questions, comments, or suggestions, leave a comment on this page or email me at tyler@manwithcode.com.</p>
<p>Thank you very much for watching! Goodbye!</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/322/making-games-with-ruby-ep-3-basics/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<series:name><![CDATA[Making Games With Ruby]]></series:name>
	</item>
		<item>
		<title>Making Games with Ruby Ep. 2 &#8211; Setup</title>
		<link>http://manwithcode.com/310/making-games-with-ruby-ep-2-setup/</link>
		<comments>http://manwithcode.com/310/making-games-with-ruby-ep-2-setup/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 00:06:26 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[setup rubygame windows mac linux]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=310</guid>
		<description><![CDATA[Windows: Mac: Linux: Links: Rubygame Installation guides Rubygame windows dependencies Covered in This Episode: How to get set up for this series on Windows, Mac, and Linux]]></description>
			<content:encoded><![CDATA[<p><strong>Windows:</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/zJgyefzctRg&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/zJgyefzctRg&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<pre class="brush: plain; title: ; notranslate">
gem install rubygame
</pre>
<p><strong>Mac:</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/URGqLBfcI5A&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/URGqLBfcI5A&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>Linux:</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/aq0LGlMrQgM&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/aq0LGlMrQgM&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get install -y libsdl1.2debian libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl-gfx1.2-4 libsdl-gfx1.2-dev

sudo gem install rubygame
</pre>
<p><strong>Links:</strong></p>
<ul>
<li><a title="Rubygame installation guides" href="http://rubygame.org/wiki/Installation_Instructions">Rubygame Installation guides</a></li>
<li><a title="Rubygame windows dependancies" href="http://manwithcode.com/wp-content/uploads/2009/11/rubygame-deps.zip">Rubygame windows dependencies</a></li>
</ul>
<p><strong>Covered in This Episode:</strong></p>
<ul>
<li>How to get set up for this series on Windows, Mac, and Linux</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/310/making-games-with-ruby-ep-2-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<series:name><![CDATA[Making Games With Ruby]]></series:name>
	</item>
		<item>
		<title>Making Games With Ruby Ep. 1 &#8211; Intro</title>
		<link>http://manwithcode.com/299/making-games-with-ruby-ep-1-intro/</link>
		<comments>http://manwithcode.com/299/making-games-with-ruby-ep-1-intro/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 22:02:31 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[intro]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=299</guid>
		<description><![CDATA[Links: Programming with Ruby Video Tutorials Covered In This Episode: What you&#8217;ll learn What we&#8217;re using What I&#8217;m assuming about you Why I&#8217;m teaching this Transcript: Hello Everybody, and Welcome to the first episode of Making Games With Ruby! I&#8217;m Tyler, and this video is brought to you by manwithcode.com In this episode I&#8217;ll be [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/QnXPUEXKrzg&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/QnXPUEXKrzg&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><strong>Links:</strong></p>
<ul>
<li><a title="Programming With Ruby - Man With Code" href="http://manwithcode.com/ruby-programming-tutorials/">Programming with Ruby Video Tutorials</a></li>
</ul>
<p><strong>Covered In This Episode:</strong></p>
<ul>
<li>What you&#8217;ll learn</li>
<li>What we&#8217;re using</li>
<li>What I&#8217;m assuming about you</li>
<li>Why I&#8217;m teaching this</li>
</ul>
<p><strong>Transcript:</strong></p>
<p>Hello Everybody, and Welcome to the first episode of Making Games With Ruby! I&#8217;m Tyler, and this video is brought to you by manwithcode.com</p>
<p>In this episode I&#8217;ll be covering what you will be learning in this series, what we&#8217;re using to develop our games, what I&#8217;m assuming about you, and why I&#8217;m teaching you.</p>
<p><strong>What you&#8217;ll learn</strong></p>
<p>If you couldn&#8217;t tell by the title, you&#8217;re going to learn how to make games using the Ruby programming language. More specifically I&#8217;m going to teach you how to make Pong. Though Pong may sound a little simplistic, and I&#8217;m not claiming it isn&#8217;t, learning how to make Pong will teach you almost everything you&#8217;ll need to know to make any game, with out getting bogged down in game specific details.<strong></strong></p>
<p><strong>What we&#8217;re using</strong></p>
<p>Of course we&#8217;re using the Ruby programming language. To create games, we&#8217;ll have the help of the Rubygame library, which is many things including a wrapper around SDL, and a nice framework for developing games.</p>
<p>In the creation of this series I will be using Ruby 1.8.7-p174, and Rubygame 2.6.2. Theoretically The code in this series should run on Ruby 1.8.whatever and Rubygame 2.whatever, no promises though, since languages and libraries change.</p>
<p>And if you want to know about my environment, I&#8217;ll be running Ubuntu 9.10 as my Operating System, and using Gedit as my text editor. You can write and run the code on any platform you wish, but this is what I prefer.</p>
<p><strong>What I&#8217;m assuming about you</strong></p>
<p>So I don&#8217;t have to explain every line of code to you, I&#8217;m going to be assuming that you already know the Ruby programming language. If you don&#8217;t there are many books available, as well as my own video series Programming With Ruby at http://manwithcode.com/ruby-programming-tutorials/</p>
<p>Just reading one book, or watching my video series probably isn&#8217;t enough. I&#8217;ll be easier if you have used Ruby for a while, and are comfortable with it. This isn&#8217;t<br />
a requirement, but it would help make things easier on yourself.</p>
<p><strong>Why I&#8217;m teaching this</strong></p>
<p>There are many reasons why, but I&#8217;ll talk about the most important few:</p>
<p>1) I love making games.<br />
2) I love teaching.<br />
3) Teaching teaches me something. &#8211; When you actually sit down and think about what you do, things become more concrete, and you know why you do what you do, or even see bad habits that you need to correct<br />
4) I&#8217;m trying to make money &#8211; Yep, I&#8217;m not going to try and hide this. Some of the videos in this series will be put up for sale, you&#8217;ll be able to see them as I put out more videos.</p>
<p>Thank you very much for watching! I&#8217;ll see you in the next video.</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/299/making-games-with-ruby-ep-1-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Making Games With Ruby]]></series:name>
	</item>
		<item>
		<title>Announcing: Making Games with Ruby</title>
		<link>http://manwithcode.com/287/announcing-making-games-with-ruby/</link>
		<comments>http://manwithcode.com/287/announcing-making-games-with-ruby/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 01:20:39 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Making Games With Ruby]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://manwithcode.com/?p=287</guid>
		<description><![CDATA[Making Games with Ruby is the next video series!]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ENmkaga2CQ8&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/ENmkaga2CQ8&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Making Games with Ruby is the next video series!</p>
]]></content:encoded>
			<wfw:commentRss>http://manwithcode.com/287/announcing-making-games-with-ruby/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

