<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
	xmlns="http://purl.org/rss/1.0/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel rdf:about="http://feeds.garagegames.com/rss/blogs/developer/31303/">
		<title>Blog for Clint Herron at GarageGames.com</title>
		<description>Blog feeds for Gamers and Developers in the GarageGames community.</description>
		<link>http://www.garagegames.com/</link>
		<image rdf:resource="http://www.garagegames.com/images/GarageGames_logo_small_w.gif" />
		<dc:date>2008-09-07T01:45:36+00:00</dc:date>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://www.garagegames.com/blogs/31303/12328"/>
			</rdf:Seq>
		</items>
	</channel>
	<item rdf:about="http://www.garagegames.com/blogs/31303/12328">
		<dc:format>text/html</dc:format>
		<dc:date>2007-02-14T19:46:48+00:00</dc:date>
		<dc:creator>Clint Herron</dc:creator>
		<title>Roses or game?</title>
		<link>http://www.garagegames.com/blogs/31303/12328</link>
		<description>&lt;i&gt;Some guys give roses, some guys give poems.&lt;br&gt;Some guys give dinners, or perhaps a trip to Rome.&lt;br&gt;But for my special valentine, I didn't do the same.&lt;br&gt;Because I gave my valentine, her very own small game.&lt;/i&gt;&lt;br&gt;&lt;br&gt;I wanted to give it to her for Christmas, but I didn't get it done in time. However, I was able to sneak enough time away from the rest of my projects without her knowing too much about it, and I showed her a playable version of it last week. I'm so glad, because she *really* liked it -- it's not every day you have a wife that you can give them a video game and it makes them get all teary-eyed. :)&lt;br&gt;&lt;br&gt;My wife and I both have fairly fluttery memories, and so this was a game that I wrote to help us remember some of the fun times we've had since we've known each other. The game is done in a stick-figure hand-drawn style, very similar to &lt;a href='http://www.ambrosiasw.com/games/sketchfighter/' target=_blank&gt;SketchFighter&lt;/a&gt;. The game is chock-full of things that are special to us, even down to the art style. We draw little stick-figure caricatures of ourselves from time to time in the corners of church sermon notes or on cards that we write to each other, so I happily ran with that concept and did the whole game in that art style. I drew up a sprite sheet with an ink pen on a piece of paper, took a picture of it with our digital camera, and then cleaned it up in Gimp before bringing it into Torque Game Builder. With heavy reliance on the TGB Mini Platformer example, I tweaked it and added some things that I think make it pretty fun. The boogs (bugs) in the game are this particular kind of beetle that hang around our house in the summertime and are the bane of my wife's existence when they're in full season -- they eat her garden plants and generally just crawl around on the ground so much that it looks like it's moving. It's really gross. So it seemed very fitting to have them be the things that one has to dodge in the game.&lt;br&gt;&lt;img src='http://www.rickherron.com/clint/JenGame/JenGame3.png'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;So basically, you run around and collect treasure chests, which contain memories that I've written down. Your goal is to collect all of the treasures on a level, then the gate opens up and you can proceed to the next one, and at the end, her little avatar is reunited with mine, and we go walking off into the sunset holding hands (this end cutscene has the artwork done, but it's not put into the game yet).&lt;br&gt;&lt;img src='http://www.rickherron.com/clint/JenGame/JenGame2.png'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;It loads all of the memories from a text file, and removes them one-by-one so that a memory is never repeated during the same game.&lt;br&gt;&lt;br&gt;The biggest thing I changed in the TGB mini platformer was making a variable-height jump, by making my jump function look like the following:&lt;br&gt;&lt;br&gt;&lt;div class='codeblock'&gt;&lt;pre&gt;function Jen::Jump( %this, %pressed )&lt;br&gt;{&lt;br&gt;	if (%pressed)&lt;br&gt;	{&lt;br&gt;		if ( MemoryWindow.visible == true )&lt;br&gt;		{&lt;br&gt;			HideMemoryWindow();&lt;br&gt;		}&lt;br&gt;		else if (!%this.airborne)&lt;br&gt;		{&lt;br&gt;			%this.setLinearVelocityY($JUMP_SPEED);&lt;br&gt;		}&lt;br&gt;	}&lt;br&gt;	else&lt;br&gt;	{&lt;br&gt;		if ((%this.getLinearVelocityY() &amp;lt; 0) &amp;amp;&amp;amp; (%this.airborne))&lt;br&gt;		{&lt;br&gt;			%this.setLinearVelocityY( %this.getLinearVelocityY() / 2 );&lt;br&gt;		}&lt;br&gt;	}&lt;br&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;So that if they let go of the spacebar while jumping, then it cuts their vertical velocity in half. It actually makes for a very good jumping feel, and it's quite a bit of fun to run around in the level just jumping around on the platforms. My wife has hair that reaches almost to her waist, so I couldn't resist making the jumping-down sprite have her hair flying up in the air. :)&lt;br&gt;&lt;img src='http://www.rickherron.com/clint/JenGame/JenGame1.png'  alt=&quot;&quot;&gt;&lt;br&gt;&lt;br&gt;So in this festive (albeit overly-commercialized) Valentines holiday, I hope you all give your loved ones a big hug and kiss (if appropriate), and in some small way endeavor to love them with a heartfelt and selfless love. &lt;br&gt;&lt;br&gt;Cheers!&lt;br&gt;&lt;br&gt;--clint</description>
	</item>
</rdf:RDF>
