<?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>Hybrid Mind Studios &#187; actionscript</title>
	<atom:link href="http://hybridmind.com/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://hybridmind.com</link>
	<description>the adventures of</description>
	<lastBuildDate>Fri, 20 Apr 2012 18:54:52 +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>AVOIDAL Post Mortem</title>
		<link>http://hybridmind.com/games/avoidal-post-mortem/</link>
		<comments>http://hybridmind.com/games/avoidal-post-mortem/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 10:53:12 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[avoidal]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gameplay]]></category>
		<category><![CDATA[ld18]]></category>
		<category><![CDATA[ld48]]></category>
		<category><![CDATA[ludumdare]]></category>
		<category><![CDATA[postmortem]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[timelapse]]></category>
		<category><![CDATA[trailer]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=623</guid>
		<description><![CDATA[Play AVOIDAL Gameplay Trailer (watch me score 1.5 million points!) Watch my TIMELAPSE Play the LD48 Official Compo Version of AVOIDAL Play the Original LD48 Compo Version I had a lot of fun this Ludum Dare! After missing the past few it was good to participate again for sure. I&#8217;ve never done one of these [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a title="Play AVOIDAL" href="http://avoidal.com"><img class="alignleft" style="margin-left: 10px; margin-right: 10px;" src="http://hybridmind.com/wp-content/uploads/2010/08/screenshot4-v1-150x150.png" alt="Play AVOIDAL!" width="150" height="150" /></a></strong></p>
<p><strong><a href="http://avoidal.com">Play AVOIDAL</a></strong></p>
<p><strong><a href="http://www.youtube.com/watch?v=qH0AL9sNrro">Gameplay Trailer (watch me score 1.5 million points!)</a></strong></p>
<p><strong><a href="http://www.youtube.com/watch?v=LKtZNylG74M">Watch my TIMELAPSE</a></strong></p>
<p><strong><a href="http://avoidal.com/compo.html">Play the LD48 Official Compo Version of AVOIDAL </a></strong></p>
<p><strong><a href="http://avoidal.com/compo.html">Play the Original LD48 Compo Version</a></strong></p>
<p><strong><br />
</strong></p>
<p>I had a lot of fun this <a href="http://ludumdare.com/compo"><strong>Ludum Dare</strong></a>! After missing the past few it was good to participate again for sure. I&#8217;ve never done one of these post mortem entries but I enjoy reading the other ones people post so I thought I&#8217;d take a crack at it.</p>
<p>You can read my detailed post mortem below:</p>
<p><span id="more-623"></span></p>
<p><strong>FRIDAY</strong></p>
<p>I had an idea within two minutes of the theme announcement. This doesn&#8217;t always happen so I&#8217;m pretty excited.  I normally spend Friday night sleeping on the theme announcement after drawing a few mockups but this time was a bit different. I had an idea that I figured would be simple enough that I fired up photoshop and drew the following mockup:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/mockup0.png"><img style="border: 0px initial initial;" src="http://hybridmind.com/wp-content/uploads/2010/08/mockup0-150x150.png" alt="First Mockup" width="150" height="150" /></a></p>
<p>I read over my notes and the concept felt solid for fun potential as well as being in line with the scope of a 48 hour competition. For my game studio work I typically develop within the 1 to 3 week time period but I&#8217;m familiar with the 48 hour marathon since I&#8217;ve competed in about 6 or more of these 2 day game competitions. I&#8217;ve also worked on learning my lessons (failures) well!</p>
<p>I refine the idea into a color mockup by doodling it again in photoshop:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/mockup11.png"><img class="alignnone size-thumbnail wp-image-26644" src="http://hybridmind.com/wp-content/uploads/2010/08/mockup11-150x150.png" alt="Second Mockup" width="150" height="150" /></a></p>
<p>You can see that I&#8217;ve got the basic enemy and player elements of the final game already in place. Spike and seeker type enemies. A large and silly player character that eventually becomes a stylized robot character. The gold stars as targets for the enemies to collide into.</p>
<p>Having fleshed the idea out more I&#8217;m ready to open up the Flash CS4 IDE and start implementing a graphical mockup:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/mockup21.png"><img class="alignnone size-thumbnail wp-image-26649" src="http://hybridmind.com/wp-content/uploads/2010/08/mockup21-150x150.png" alt="Third Mockup" width="150" height="150" /></a></p>
<p>Now the graphical assets above are all usable as initial art once I&#8217;m finished creating the mockup in Flash. It is a really cool thing about prototyping in an IDE like Flash that I can quickly put game logic into ActionScript 3.0 files behind each of those assets.</p>
<p>I work for about 3 more hours trying to get a first playable prototype. Getting the first playable prototype build is so crucial to iterating on the next part of the game that the earlier you can get feedback and play the game&#8211;the earlier you will be able to see how much more you need to implement. This couldn&#8217;t be more important than in a 48 hour game competition scenario.</p>
<p>I manage to post the following prototype build at 2am&#8211;four hours into the competition:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/screenshot-v001-11.png"><img class="alignnone size-thumbnail wp-image-26655" src="http://hybridmind.com/wp-content/uploads/2010/08/screenshot-v001-11-150x150.png" alt="First Playable Prototype" width="150" height="150" /></a></p>
<p>You can even <a href="http://hybridmind.com/ld18-eaw-v001.html"><strong>play the first prototype here</strong></a> if you want to see what I started out with.</p>
<p>I was very happy with what I was able to come up with at this point. I was able to know that the game idea was solid and more importantly&#8211;already very fun!  I knew that I&#8217;d sleep well Friday night and was looking forward to beginning to iterate on Saturday with a good start in the competition.</p>
<p>Time spent at this point was four hours.</p>
<p><strong>SATURDAY</strong></p>
<p>I awoke Saturday morning after about 5 hours of sleep. I checked out the Ludum Dare blog and found that a few people had played my game already and had left some encouraging feedback. This was a big morale and motivational boost as it meant more than just myself found the game fun.  I also found I had been awarded two funny LD awards: One for &#8220;Flash prototyping like Flash!&#8221; by Zlash and a second &#8220;Silver Star for Prototyping goodness&#8221; by Tyler. Thanks guys&#8211;you really made my morning!</p>
<p>Now today I was also excited because I was going to be driving over to Portsmouth NH for an in person meetup with some other Ludum Dare participants I had never met before. I&#8217;ve been working on getting out more into the game community around the New England area and this was an excellent opportunity to meet some other people who enjoy making games.</p>
<p>We met up in an awesome cafe called &#8220;Me and Ollies&#8221; and found an entire downstairs community center with AC and wifi and plenty of nice seating!</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/Portsmouth-NH-LD-meetup-saturday.png"><img class="alignnone size-thumbnail wp-image-26660" src="http://hybridmind.com/wp-content/uploads/2010/08/Portsmouth-NH-LD-meetup-saturday-150x150.png" alt="Portsmouth NH Meetup at Me and Ollies Cafe" width="150" height="150" /></a></p>
<p>That is me on the left and <em>billkyne </em>on the right.</p>
<p><strong><a href="http://www.youtube.com/watch?v=fEAC4fnobGI">Here is a short YouTube video</a></strong> filmed by <em>Jonny D</em> of the beginning of our meetup.</p>
<p>The meetup went really well. It was so refreshing to be able to see what others were working on and to just talk about game development and Ludum Dare related things. I also enjoyed the strange looks I got from others in the room when we would talk about our games to each other or when I would take photographs of my food:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/aug21-lunch1.jpg"><img class="alignnone size-thumbnail wp-image-26662" src="http://hybridmind.com/wp-content/uploads/2010/08/aug21-lunch1-150x150.jpg" alt="Saturday Lunch at &quot;Me and Ollies Cafe&quot;" width="150" height="150" /></a></p>
<p>I ended up getting less than four hours of work in on my game but the small lack of productivity was more than made up for by getting to meet <em>Jonny D</em> and <em>billknye</em>. I was able to post version <strong><a href="http://hybridmind.com/ld18-eaw-v002.html">two</a> </strong>of my game from the cafe.</p>
<p>I had so much fun and was inspired to drive back home after 6pm to get cracking again on my game!</p>
<p>Once I got home I was finally able to decide on the name<em> AVOIDAL</em> for my game<em>. </em>It took me longer than normal to pick a name this time.<em> </em>I like picking out unique names as well as names that often have domain name availability.</p>
<p>Avoidal isn&#8217;t a <em>real</em> word but it is in use lightly on the internet and has Urban Dictionary entries strangely enough. I decide that the low Google search noise will allow my game to eventually place well in search results for <em>Avoidal</em>.</p>
<p>I discover that avoidal.com was available and I register it and quickly setup some HTML and CSS in place on my sever to hold the eventual competition game entry. Why go through this extra effort? I enjoy crafting the entire experience for the player and I like the elegance of the idea of having my competition entry hosted on a dedicated, short, and memorable domain.</p>
<p>Having prepared the final destination for my game I get back to work on the actual game itself. Here is a screenshot from <strong><a href="http://hybridmind.com/avoidal-v03.html">version three</a></strong>:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/screenshot-v03-11.png"><img class="alignnone size-thumbnail wp-image-26667" src="http://hybridmind.com/wp-content/uploads/2010/08/screenshot-v03-11-150x150.png" alt="Version three" width="150" height="150" /></a></p>
<p>I spend some of Saturday night implementing <a href="http://playtomic.com/"><strong>SWFStats</strong></a> gameplay analytics. I love using an analytics package like <em>SWFStats</em> so I can start getting valuable aggregated play testing data to help improve the game as early as possible. It allows me to track custom metrics like average scores over the various difficulty levels and highest chain multipliers reached. Stats like that help me see graphs of what the difficulty curve is and make intelligent decisions about the mechanics and settings. I can also analyze play length data and number of views versus plays to see if my game is holding player interest or not.</p>
<p>I then focus on getting the bulk of the menus and game flow logic in place. I know from past competitions that once Sunday rolls around my brain will be a chaotic and spastic place. I like to handle all the <em>mundane</em> things like <a href="http://hybridmind.com/2009/08/28/how-to-use-mochimedia-global-leaderboards-with-your-flash-entry/"><strong>online highscores implementation</strong></a>, preloader and initializer, game over screens, game state tracking, main menus, pause menus, sound mute widgets and all the other miscellaneous ephemera that goes into making a polished game. I enjoy putting a high level of polish into my games so it helps to still be fresh when I implement these things.</p>
<p>All told I put about four hours into my game getting all the non-gameplay stuff in place. I know that tomorrow will be reserved for final tuning, final graphics, sound effects, and music composition. I am preparing myself mentally for what I know will be a long day. I head off to bed and plan on getting another 5 hours of sleep.</p>
<p>That brings my Saturday development hours in at this point at about 8 and 12 total for the competition so far.</p>
<p><strong>SUNDAY</strong></p>
<p>Final day and I am PUMPED!  There is so much left to do to bring AVOIDAL to life and it&#8217;s time to get going.</p>
<p>I start off by redesigning the mine asset:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/mine-creation.png"><img class="alignnone size-thumbnail wp-image-26675" src="http://hybridmind.com/wp-content/uploads/2010/08/mine-creation-150x150.png" alt="Mine Creation" width="150" height="150" /></a></p>
<p>Those white spikes will become projectiles that eventually fly off if the player let&#8217;s the mine explode before destroying it. Those spikes also do the most damage of any of the enemies in the game.  I want the player to be motivated to destroy the mines with the other enemies so I do two things. First the the chain multiplier goes up each time you destroy a mine. A mine has a lifespan and will eventually explode if left alone for too long. When it explodes it releases the projectiles as well as resets the chain multiplier.  The second motivation for the player is that when the mines explode the spikes move pretty fast and in eight directions so they can be quite deadly. I&#8217;m hoping that this will be another aspect of excitement and tension in the game.</p>
<p>In order to get my coordinate offsets and angles correct I draw the following mockup:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/mine-design.png"><img class="alignnone size-thumbnail wp-image-26674" src="http://hybridmind.com/wp-content/uploads/2010/08/mine-design-150x150.png" alt="Mine Design" width="150" height="150" /></a></p>
<p>This will let me spawn the mine tips at the correct coordinates when the mine detonates so that it will be a seamless visual effect of the tips of the mine sprite flying off. It ends up working quite well and my Sunday is off to a productive start.</p>
<p>I then go through and revamp all the graphics replacing all the placeholder art.  I pick new colors for some things while others remain more or less the same. I put in animations for most of the assets.</p>
<p>I then spent some time to tackle the main character design:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/main-character-design.png"><img class="alignnone size-large wp-image-26680" src="http://hybridmind.com/wp-content/uploads/2010/08/main-character-design-550x137.png" alt="Main Character Design" width="550" height="137" /></a></p>
<p>On the left is the placeholder art for the character from the prototype. Next to that is the character I had doodled in my original mockup. I still wanted to capture the light-hearted and goofy feel of that doodle instead of the cool mathematics of the pentagon.</p>
<p>I initially drew the third image overtop of the original sprite in the Flash IDE. This was so I would have the dimensions be equivalent so that gameplay wouldn&#8217;t change. I couldn&#8217;t get a freehand style I liked that I felt blended in well with the polygonal style I was already working with.</p>
<p>I scrapped the third freehand concept and started using basic primitives to sculpt out what would eventually become the little flying robot. I even sort of think of him in my mind as being named <em>Avoidal</em>.</p>
<p>Once I saw him animated I knew that I was happy with how I captured my original intentions with the doodle of the little flapping guy with the target on his chest.</p>
<p>I now had all my final art in place:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2010/08/screenshot3-v1.png"><img style="border: 0px initial initial;" src="http://hybridmind.com/wp-content/uploads/2010/08/screenshot3-v1-150x150.png" alt="Final Art In Place" width="150" height="150" /></a></p>
<p>When I wasn&#8217;t working on the final art for my game I was playing it as much as I could and posted two more playable builds to get player feedback and start working out balance and difficulty issues.</p>
<p>Here is <strong><a href="http://hybridmind.com/avoidal-v04.html">version four</a></strong> and <strong><a href="http://hybridmind.com/avoidal-v05.html">version five</a></strong> for reference.</p>
<p>Now at this point I&#8217;ve been working since about 7:30am Sunday morning and I&#8217;m starting to really feel it. I find myself zoning off into space and starting to lose track of my train of thought.</p>
<p>I realize that I need to grab a quick dinner since I only have less than three hours remaining in the competition and there is still final menu polish, sound effects and music to create! I run out and grab some pizza and come back and inhale it. I didn&#8217;t even have time to take a photo because at this point the game is clearly the priority for me.</p>
<p>It may sound weird but participating in Ludum Dare competitions over the years has really helped me to remain cool under pressure when developing. When I feel the brain-tightening stress start I remember to relax and breathe in and out. I then refocus and keep working. I find using an online todo list web app really helps me stay on track.</p>
<p>With just a few hours remaining in the competition I fire up the <strong><a href="http://www.superflashbros.net/as3sfxr/">web version of SFXR</a> </strong>and start cranking out sound effects like a machine. During this part I keep a list of sound assets I need and the game playing in the background. I tab back and forth between SFXR and my game in the browser and imagine what kinds of sounds I am going for.</p>
<p>Then it is a frenzied mashing of buttons and hoping I get lucky on the <em>randomize</em> feature. I really love this part in that it feels like I&#8217;m fishing and I don&#8217;t know what I will catch.  I score some really lucky hits on randomize as well as some old standbys from the more normal themed buttons. I import them into Flash and tie them in with code. I even take the time to add some nice stereo panning to applicable sound effects based on sprite screen location.</p>
<p>I also have been taking care of various other tiny polish items from my todo list. I wanted to get a slight left and right lean to the robot sprite when the player is moving quickly back and forth. I also wanted to make sure to add an instructions screen in the event that someone gets stumped and actually decides to read the instructions (<em>hardly ever happens I know</em>&#8230;)</p>
<p>I now have less than 45 minutes remaining and I fire up Reason and use my Alesis midi keyboard to layout a quick menu chiptune loop.  I compress it into MP3 and put it in place in the game.</p>
<p>Holy crap only 15 minutes remains to do final screenshot and upload. I&#8217;m sort of a purist in I like to have my game fully submitted by the deadline. I managed to get everything filled out in the form and turned in with 5 minutes to spare.</p>
<p>Now comes the relief knowing that <strong><a href="http://avoidal.com/compo.html">I&#8217;M FINISHED</a></strong>.</p>
<p>Total time spent on Sunday was over 14 hours&#8211;phew what a crunch!</p>
<p>Total game time spent developing was 26 hours. I&#8217;m getting faster&#8230;</p>
<p><strong>FINAL THOUGHTS</strong></p>
<p>I&#8217;m really quite pleased with how my game came out and my weekend in general. I feel lucky to have come up with such a simple and fun idea very early in the competition. I had a playable prototype so early it really let me focus on polishing the heck out of this little game and putting in all the normal bells and whistles I&#8217;d put into a releasable Flash game from my studio. This has been my most successful Ludum Dare yet&#8211;now I just have to see how other players like it!</p>
<p>I have to really pump myself up sometimes to participate in something as demanding as the marathon that is Ludum Dare. I almost want to collapse or feel like I might vomit sometimes from the amount of strain and wear that hits me after working 25-35 hours straight over the two days.</p>
<p>Why do I do it then?</p>
<p>Despite the wear and tear it is just an amazing concept to participate in a global event with so many other passionate game developers. I have a strong sense of competitive spirit and I like the opportunity to demonstrate my skills and love for game development. I like feeling the inertia of 100s of other game developers trying their best and simultaneously creating awesome games!</p>
<p>Ludum Dare really teaches me how to distill a game down into what is critically important and make hard decisions about features and scope that I have found I can apply outside of the stringent competition to my normal game studio work.</p>
<p>I started my independent studio and returned to game development largely because of participating in Ludum Dare a few years ago. It will always hold a dear place in my heart because of putting me back in touch with mychildhood dream of game creation. I&#8217;m just glad it clued me into what a great game development movement was going on that I was unaware of.</p>
<p>I can&#8217;t wait to play all the other games here!</p>
<p><strong>MY LINKS</strong></p>
<p><strong><a title="Play AVOIDAL" href="http://avoidal.com"><img class="size-thumbnail wp-image-26688 alignleft" style="margin-left: 10px; margin-right: 10px;" src="http://hybridmind.com/wp-content/uploads/2010/08/screenshot4-v1-150x150.png" alt="Play AVOIDAL!" width="150" height="150" /></a></strong></p>
<p><strong><a href="http://avoidal.com">Play AVOIDAL</a></strong></p>
<p><a href="http://www.youtube.com/watch?v=qH0AL9sNrro"><strong>Gameplay Trailer (watch me score 1.5 million points!)</strong></a></p>
<p><a href="http://www.youtube.com/watch?v=LKtZNylG74M"><strong>Watch my TIMELAPSE</strong></a></p>
<p><a href="http://avoidal.com/compo.html"><strong>Play the LD48 Official Compo Version of AVOIDAL</strong></a></p>
<p><a href="http://avoidal.com/compo.html"><strong>Play the Original LD48 Compo Version</strong></a></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/avoidal-post-mortem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple AS3 Viewport Tutorial</title>
		<link>http://hybridmind.com/tutorials/simple-as3-viewport-tutorial/</link>
		<comments>http://hybridmind.com/tutorials/simple-as3-viewport-tutorial/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 16:21:40 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[circles]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gamedev]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[teaching]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[viewport]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=433</guid>
		<description><![CDATA[Simple Flash AS3 Viewport Demo Click inside and use arrow keys to move viewport This is a little demo I made this morning as a way to get a viewport concept working for the latest game I am developing.  I&#8217;ve done a few viewport type projects in other languages but had not implemented one in [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;"><strong>Simple Flash AS3 Viewport Demo</strong></div>
<div style="text-align: center;"><object id="ViewPort" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="350" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="ViewPort" /><param name="bgcolor" value="#000000" /><param name="src" value="http://hybridmind.com/ViewPort.swf" /><param name="quality" value="high" /><embed id="ViewPort" type="application/x-shockwave-flash" width="350" height="300" src="http://hybridmind.com/ViewPort.swf" quality="high" bgcolor="#000000" name="ViewPort"></embed></object></div>
<div style="text-align: center;"><em>Click inside and use arrow keys to move viewport</em></div>
<p>This is a little demo I made this morning as a way to get a viewport concept working for the latest game I am developing.  I&#8217;ve done a few viewport type projects in other languages but had not implemented one in Flash AS3 yet.</p>
<p>This demo creates 300 random balls and sets them in motion inside the world.  The world&#8217;s dimensions are four times larger than the viewport above.</p>
<p>You can click in the window above and use the arrow keys to move the viewport around the world.  The source files for this tutorial are available at the end of the article.</p>
<p><span id="more-433"></span></p>
<h4>BACKGROUND<strong> </strong></h4>
<p>I needed to be able to have world coordinates for my latest game along with a viewport which follows the player.  All the objects in the world must move according to various physics and be able to be mapped into the current viewport for display purposes.  After hacking around for a while unsuccessfully last night on the game code I realized this morning that it would just be better to start fresh on a little proof of concept demo until I had it all working.</p>
<p>I thought I&#8217;d share some of the concepts in case it could help someone else as well as get any code or design feedback from anyone who may have implemented these in a different or more efficient way.  I can already think of a ton of improvements my rudimentary solution could use but I&#8217;ll add them as necessary.</p>
<h4>BASIC DOCUMENT CLASS VARS AND CONSTANTS:</h4>
<pre><code>
// Viewport related constants:
private static const VIEWPORT_WIDTH:Number = 350;
private static const VIEWPORT_HEIGHT:Number = 300;
private static const VIEW_STEP:int = 25;

// World related constants:
public static const WORLD_WIDTH:Number = 1400;
public static const WORLD_HEIGHT:Number = 1200;

// Current viewport coords:
private var viewportX:Number;
private var viewportY:Number;
</code></pre>
<h4>INITIAL SETUP OF VIEWPORT AND CREATING CIRCLES WITHIN WORLD:</h4>
<p>This snippet is occurring inside an init() function that is called from the document class constructor.  This is all one time setup.</p>
<pre><code>
// set view port coords to middle of world:
viewportX = WORLD_WIDTH / 2;
viewportY = WORLD_HEIGHT / 2;

// create a bunch of random circles scattered across the world:
circles = new Array();
for (var i:int = 0; i &lt; NUM_CIRCLES; i++) {
var circle:Circle = new Circle();

// grab random x that falls within world space:
var wX:Number = GameUtils.randRange(0 + (circle.width / 2), WORLD_WIDTH - (circle.width / 2));

// grab random y that falls within world space:
var wY:Number = GameUtils.randRange(0 + (circle.height / 2), WORLD_HEIGHT - (circle.height / 2));

// set the coordinates for our circle:
circle.placeInWorld(wX, wY);

// add our circle to the display list:
addChild(circle);

// push our circle onto our array of circles:
circles.push(circle);
</code></pre>
<h4>SNIPPET OF HANDLING KEYBOARD INPUT TO MOVE THE VIEWPORT:</h4>
<p>This snippet is occurring inside a keyDown listener function which listens for the user hitting the arrow keys.  Each time the keys are hit it moves the viewport in the appropriate direction while performing range checking with the world borders.</p>
<pre><code>
if (e.keyCode == 38) {            // UP
 viewportY -= VIEW_STEP;
 if (viewportY &lt; 0) { viewportY = 0; }
}
</code></pre>
<h4>MAIN PROGRAM LOOP:</h4>
<p>This is a simple enterFrame listener that loops through all the active circles and calls their update method.  After the update method we alter the coordinates of the parent display object (in this case the instance of our viewport) inversely with the viewport coordinates.  This allows Flash to automatically handle updating all the positions of the circles which are children of our viewport instance.  <em>Thanks to <a href="http://www.draknek.org" target="_blank">draknek</a> for this elegant suggestion!</em></p>
<pre><code>
private function enterFrameListener(e:Event):void {
	for (var i:int = 0; i &lt; circles.length; i++) {
		circles[i].update();
	}

	// pan the viewport
	x = -viewportX;
	y = -viewportY;
}
</code></pre>
<h4>CIRCLE CLASS VARS:</h4>
<p>Here are the variables that define my circle class.  This class is pretty basic and nothing too special has to happen here with regards to the viewport.  The class will have to perform range checking with the borders of the world.</p>
<pre><code>
// Velocity:
private var velX:Number;
private var velY:Number;
</code></pre>
<h4>CIRCLE UPDATE METHOD:</h4>
<p>Here is a snippet from the update method that gives the basic idea of how to adjust the coords while range checking against the larger world borders.</p>
<pre><code>
// Adjust the x coord by current x velocity:
x += velX;

// Perform boundary checking with world borders and adjust
// position and velocity direction accordingly:
if (x &lt; (width / 2)) {
	x = (width / 2);
	velX = -velX;
} else if (x &gt; ViewPort.WORLD_WIDTH - (width / 2)) {
	x = ViewPort.WORLD_WIDTH - (width / 2);
	velX = -velX;
}
</code></pre>
<p>So that is my concept of one way to do a basic viewport in AS3.  I am happy to get any feedback on this code and the way I solved this problem.  I know there are many ways to implement these things but this is what I am going to run with for now as it seems to be working pretty good!</p>
<p><em>EDIT: Thank you to <a href="http://www.draknek.org" target="_blank">Draknek</a> (see comments below) for an elegant refinement to my code that allowed me to no longer have to track world coordinates on the child objects.  Now I can just let Flash handle updating all the positions for me by moving the parent display object instead of manually doing that.</em></p>
<p><a href="/ViewportTutorial.zip">Download the v0.2 source files and fla for this tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/tutorials/simple-as3-viewport-tutorial/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Worderfall &#8211; New Flash Game Released</title>
		<link>http://hybridmind.com/games/worderfall-new-flash-game-released/</link>
		<comments>http://hybridmind.com/games/worderfall-new-flash-game-released/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 21:47:16 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[brain]]></category>
		<category><![CDATA[brainfitness]]></category>
		<category><![CDATA[braintraining]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[dictionary.com]]></category>
		<category><![CDATA[fish]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[mochi]]></category>
		<category><![CDATA[ocean]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[whales]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[worderfall]]></category>
		<category><![CDATA[words]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=351</guid>
		<description><![CDATA[I have just completed a new Flash game called Worderfall this month with my good friend and fellow game designer Jeremy P. Bushnell.  This time around it is a word game that utilizes an extremely large database of valid English words. The concept is a fairly simple one.  You have three minutes to create as [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Play Worderfall" href="/worderfall.html"><img class="alignnone size-full wp-image-352" title="Play Worderfall" src="http://hybridmind.com/wp-content/uploads/2009/09/worderfall-1.jpg" alt="Worderfall Main Menu" /></a></p>
<p>I have just completed a new Flash game called <a title="Play Worderfall" href="/worderfall.html"><em>Worderfall</em></a> this month with my good friend and fellow game designer <a href="http://www.imaginaryyear.com/raccoon/index.html" target="_blank">Jeremy P. Bushnell</a>.  This time around it is a word game that utilizes an extremely large database of valid English words.</p>
<p>The concept is a fairly simple one.  You have three minutes to create as many high scoring words as you can.  The game increases pace with each minute that passes.  There are a ton of game statistics that are tracked as well for those who would like to improve their scores or at least measure their progress.</p>
<p><span id="more-351"></span></p>
<p><strong>Here is a game play video which explains how to play:</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" 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/ue5sDSdpO7o&amp;hl=en&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/ue5sDSdpO7o&amp;hl=en&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>Here is a game play screenshot:</strong></p>
<p><a title="Play Worderfall" href="/worderfall.html"><img class="alignnone size-full wp-image-354" title="Play Worderfall" src="http://hybridmind.com/wp-content/uploads/2009/09/worderfall-4.jpg" alt="Worderfall Game Play" width="550" height="450" /></a></p>
<p>I welcome your feedback and thoughts positive or negative.  Thanks for giving it a try!</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/worderfall-new-flash-game-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Orange You Glad &#8211; New Flash Game Released</title>
		<link>http://hybridmind.com/games/orange-you-glad-new-flash-game-released/</link>
		<comments>http://hybridmind.com/games/orange-you-glad-new-flash-game-released/#comments</comments>
		<pubDate>Fri, 01 May 2009 12:11:30 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Game Business]]></category>
		<category><![CDATA[glad]]></category>
		<category><![CDATA[kongregate]]></category>
		<category><![CDATA[licenses]]></category>
		<category><![CDATA[mochi]]></category>
		<category><![CDATA[mochiads]]></category>
		<category><![CDATA[monetization]]></category>
		<category><![CDATA[orange]]></category>
		<category><![CDATA[oranges]]></category>
		<category><![CDATA[primary]]></category>
		<category><![CDATA[sponsorship]]></category>
		<category><![CDATA[you]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=187</guid>
		<description><![CDATA[My new Flash game Orange You Glad has finally been published! Description: How good are you with your tongue? Got a bad case of scurvy? See if you can handle the Orange Frenzy! Orange You Glad features 20 levels of citrus madness. 10 special power effects and 25 unique and humorous items to avoid. Can [...]]]></description>
			<content:encoded><![CDATA[<p>My new Flash game <em>Orange You Glad</em> has finally been published!</p>
<p><a title="Play Orange You Glad" href="/orange-you-glad.html"><img class="alignnone size-full wp-image-116" title="oygscreen1" src="http://hybridmind.com/wp-content/uploads/2009/04/oygscreen1.jpg" alt="oygscreen1" width="552" height="402" /></a></p>
<p><strong>Description:</strong></p>
<p>How good are you with your tongue? Got a bad case of scurvy?</p>
<p>See if you can handle the Orange Frenzy!</p>
<p>Orange You Glad features 20 levels of citrus madness. 10 special power effects and 25 unique and humorous items to avoid. Can you lick enough oranges on each level to advance to the next? It&#8217;s not as easy as it sounds.</p>
<p><a title="Play Orange You Glad" href="/orange-you-glad.html">Play Orange You Glad</a></p>
<p><span id="more-187"></span><strong>Background:</strong></p>
<p>This is my second Flash game and first ActionScript 3.0 game.  This is also my first foray into Flash sponsorship and licensing.  I am quite excited that after putting this game on <a href="http://flashgamelicense.com">Flash Game License</a> as well as emailing marketing materials to over 50 sponsors I was able to secure both a primary sponsorship from <a href="http://www.flasharcadegamessite.com" target="_blank">Flasharcade Gamessite</a> as well as a non-exclusive license from <a href="http://www.bigfishgames.com" target="_blank">Big Fish Games</a>.</p>
<p>I worked on this game during the month of March and the beginning of April.  It was a little slow going because I was under heavy learning curve from both ActionScript 3.0 and the Flash CS4 IDE.  This project was a great learning experience from both a technical and business aspect.</p>
<p>The game received a few different bids for primary sponsorship on <a href="http://flashgamelicense.com">Flash Game License</a> and it only took about two weeks total from posting time till I accepted a favorable bid and delivered the sponsored SWF file.  Both <a href="http://www.flasharcadegamessite.com" target="_blank">Flasharcade Gamessite</a> and <a href="http://www.bigfishgames.com" target="_blank">Big Fish Games</a> have been great to work with and I am quite happy with both deals.</p>
<p>My primary sponsorship allows my to sell non-exclusive site-locked licenses and keep my <a href="http://mochiads.com" target="_blank">MochiAds</a> which is one of the prime reasons that type of sponsorship model was promoted by <a href="http://flashgamelicense.com" target="_blank">Flash Game License</a>.</p>
<p>I am very excited to see how my second game does out there in the wild.  It has been almost 6 weeks since I started this project and it is definitely a test of patience controlling your enthusiasm as you wait for the day you can release your game.</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/orange-you-glad-new-flash-game-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Game Teaser</title>
		<link>http://hybridmind.com/games/new-game-teaser/</link>
		<comments>http://hybridmind.com/games/new-game-teaser/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 14:46:39 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[collab]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[fgl]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[teaser]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=158</guid>
		<description><![CDATA[Here is level 4 from a new Flash game I am making with my good friend and fellow game designer Jeremy P. Bushnell. It marks the first collaboration Hybrid Mind Studios has done and I&#8217;m very excited about co-designing this game with Jeremy. We&#8217;ve been working hard on this during the month of April.  I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hybridmind.com/wp-content/uploads/2009/04/bo-preview.jpg"><img class="alignnone size-full wp-image-159" title="bo-preview" src="http://hybridmind.com/wp-content/uploads/2009/04/bo-preview.jpg" alt="bo-preview" width="554" height="555" /></a></p>
<p>Here is level 4 from a new Flash game I am making with my good friend and fellow game designer <em>Jeremy P. Bushnell</em>. It marks the first collaboration <em>Hybrid Mind Studios</em> has done and I&#8217;m very excited about co-designing this game with Jeremy.</p>
<p>We&#8217;ve been working hard on this during the month of April.  I did an initial prototype in about 3 hours which I sent out to my play tester email list and initial response was very good.  Since then Jeremy has been working on creating 10 great levels, art assets, sounds, ambient loops, title and inter-level screens.  I have been programming the game engine and integrating all the levels and assets and coding in some nice animations for the different collectibles and units in the game.  We&#8217;ve both been playing the heck out of it too and working together to tune the game mechanics.</p>
<p>That&#8217;s all I&#8217;m gonna say about this new game for now but we plan to do another play tester release this weekend.  Probably on Sunday or Monday at the latest.  After that we will likely make any changes based on feedback and we&#8217;ll be posting it for developer review up on <a href="http://flashgamelicense.com">Flash Game License</a> before finally opening it up to sponsor bidding.  You want to set the best first impression you can and make the best use of the sponsor&#8217;s valuable time when you are trying to monetize your Flash games!</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/new-game-teaser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fleedom &#8211; My entry for Ludum Dare 14</title>
		<link>http://hybridmind.com/games/fleedom-flies-my-entry-for-ludum-dare-14/</link>
		<comments>http://hybridmind.com/games/fleedom-flies-my-entry-for-ludum-dare-14/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:15:33 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[advancing]]></category>
		<category><![CDATA[alien]]></category>
		<category><![CDATA[armada]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[compo]]></category>
		<category><![CDATA[cryptozoology]]></category>
		<category><![CDATA[dare]]></category>
		<category><![CDATA[doom]]></category>
		<category><![CDATA[entry]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fleedom]]></category>
		<category><![CDATA[flies]]></category>
		<category><![CDATA[ld]]></category>
		<category><![CDATA[ludum]]></category>
		<category><![CDATA[ludumdare]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[turnstyle]]></category>
		<category><![CDATA[wall]]></category>
		<category><![CDATA[weekend]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=148</guid>
		<description><![CDATA[I spent the weekend competing in the tri-annual Ludum Dare 48 hour game competition.  This was the 14th competition the site has hosted and there was a record turn-out!  121 games where created and submitted in a 48  hour period.  The theme was Advancing Wall of Doom. This theme was picked by the community through [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hybridmind.com/fleedom.html" target="_blank"><img class="alignnone size-full wp-image-149" title="fleedom" src="http://hybridmind.com/wp-content/uploads/2009/04/fleedom.jpg" alt="fleedom" width="560" height="390" /></a></p>
<p>I spent the weekend competing in the <a href="http://ludumdare.com/compo">tri-annual <em>Ludum Dare</em> 48 hour game competition</a>.  This was the 14th competition the site has hosted and there was a record turn-out!  121 games where created and submitted in a 48  hour period.  The theme was <em>Advancing Wall of Doom. </em>This theme was picked by the community through a system of voting during the week leading up to the competition.  Once the theme was announced on Friday night participants had 48 hours to create an entire game from scratch.  All content had to be produced by the participant during the competition.  The event ran from Friday night on April 17th through Sunday night on April 19th, 2009.</p>
<p><em>Fleedom </em>is the game I managed to finish as my entry.  It is a Flash game so you can <a href="http://hybridmind.com/fleedom.html">play it in your browser here</a>. I&#8217;m fairly happy with how it turned out think it is a great base prototype for further improving into a really great game.  I will continue to work on it and turn this prototype into a finished Flash game.  I won&#8217;t know the final results for two weeks on how it did but the competition is so much fun that the results aren&#8217;t really the point.  I have participated now in about 5 or 6 of these 48 hr <em>Ludum Dare</em> competitions and I am the most happy with this game than any of my past ones.  I actually enjoy playing this one a lot so that is a good sign indeed. Creating a game in under 48 hours can teach you a lot about game design.</p>
<p>One of the last Ludum Dare contests I entered was a smaller version called a &#8220;Mini&#8221; <em>Ludum Dare</em>.  These happen in the 9 off-months that aren&#8217;t hosting a normal <em>Ludum Dare</em>.  They are hosted by veterans of the LD community and can have customized house-rules depending on the host.  A <a href="http://hybridmind.com/games/cryptid-puzzle-challenge/">prototype</a> I created for the theme <em>Cryptozoology</em> eventually became my first published Flash game <em><a href="http://hybridmind.com/games/turnstyle-new-flash-game-released/">TurnStyle</a></em>.  So, I hope to take <em>Fleedom Flies</em> into a similar published future.</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/fleedom-flies-my-entry-for-ludum-dare-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orange You Glad &#8211; Preview</title>
		<link>http://hybridmind.com/games/orange-you-glad-preview/</link>
		<comments>http://hybridmind.com/games/orange-you-glad-preview/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 14:25:51 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[fgl]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[frenzy]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[glad]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[orange]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[sponsorship]]></category>
		<category><![CDATA[teaser]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=115</guid>
		<description><![CDATA[I know it has been a bit quiet around here lately. That is because I spent most of March and the beginning of April not only learning ActionScript 3.0 but also working on a new game! I have just put the game up on Flash Game License to seek sponsorship. In the meantime, here are [...]]]></description>
			<content:encoded><![CDATA[<p>I know it has been a bit quiet around here lately.  That is because I spent most of March and the beginning of April not only learning ActionScript 3.0 but also working on a new game!  I have just put the game up on <a href="http://flashgamelicense.com">Flash Game License</a> to seek sponsorship.  In the meantime, here are a few tasty screen shots:</p>
<p><a href="http://hybridmind.com/wp-content/uploads/2009/04/oygscreen1.jpg"><img class="alignnone size-full wp-image-116" title="oygscreen1" src="http://hybridmind.com/wp-content/uploads/2009/04/oygscreen1.jpg" alt="oygscreen1" width="560" height="408" /></a></p>
<p><a href="http://hybridmind.com/wp-content/uploads/2009/04/oygscreen2.jpg"><img class="alignnone size-full wp-image-117" title="oygscreen2" src="http://hybridmind.com/wp-content/uploads/2009/04/oygscreen2.jpg" alt="oygscreen2" width="560" height="407" /></a></p>
<p>I&#8217;ll have more info and a big announcement once the game secures a sponsorship and/or is ready to be released into the wild.  In the meantime I&#8217;m going to be combing my list of sponsor email addresses encouraging them to take a look at my game over on <a href="http://flashgamelicense.com">FGL</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/orange-you-glad-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TurnStyle In The Wild</title>
		<link>http://hybridmind.com/games/turnstyle-in-the-wild/</link>
		<comments>http://hybridmind.com/games/turnstyle-in-the-wild/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 16:03:41 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[experience]]></category>
		<category><![CDATA[experiences]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Game Business]]></category>
		<category><![CDATA[illustrations]]></category>
		<category><![CDATA[kongregate]]></category>
		<category><![CDATA[mochiads]]></category>
		<category><![CDATA[mochibot]]></category>
		<category><![CDATA[monetization]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[newgrounds]]></category>
		<category><![CDATA[portals]]></category>
		<category><![CDATA[preloader]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[turnstyle]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=105</guid>
		<description><![CDATA[So, my game TurnStyle has been out about 3 days now roaming about the internet and I just felt like reporting the current stats and my experiences in case anyone is interested or curious about this aspect of the Flash game / business space: This is not only my first Flash game but also the [...]]]></description>
			<content:encoded><![CDATA[<p>So, my game <a href="http://www.kongregate.com/games/HybridMind/turnstyle">TurnStyle</a> has been out about 3 days now roaming about the internet and I just felt like reporting the current stats and my experiences in case anyone is interested or curious about this aspect of the Flash game / business space:</p>
<p>This is not only my first Flash game but also the first thing I have ever really released onto the internet as well so it has been a real interesting learning experience!</p>
<p><em> <strong>If you don&#8217;t care about tech mumbo jumbo if you skip down near the bottom you can see some funny stats from which countries are playing this game and my personal thoughts on my experience so far.</strong></em></p>
<p><strong><span style="text-decoration: underline;">Distribution and Ad channel technology I used &#8211; MochiAds:</span></strong></p>
<p>I decided to go with <a href="http://mochiads.com">MochiAds</a> to do my game distribution.  It is non-exclusive and free so I am also able to make other deals as well.  One of the main benefits they offer is that they &#8220;wrap&#8221; your Flash game in a preloader that contains customizable and controllable ads from their network.  So, the further your game spreads on the internet the better for them and you.  You get a percentage of the revenue from the &#8220;impressions&#8221; that the ads receive as people wait for your game to download.  I like that people have the ability to skip the ad by clicking the &#8216;x&#8217; because let&#8217;s face it- ads are annoying.  I also then think that let&#8217;s face it, I have to eat too.</p>
<p><span id="more-105"></span></p>
<p>Another great free benefit that MochiAds provides you is that the preloader that wraps your Flash game is encrypted as well as version controlled.  This means that I can update my Flash game with bug fixes, new links, new ads or whatever I want in ONE location and that anyone playing the file (even if they have downloaded or are linking to a SWF somewhere on a portal) will receive a &#8220;diff&#8221; of the changes in the version.  All seamlessly while it downloads.  This is really incredible in my opinion.  It has been a joy to work with and I have made quite a few tweaks and changes to my game already and it is nice to see them being picked up by all the portals which have received a copy of my game.  The encryption is a nice benefit too I would guess though I don&#8217;t know much about Flash obfuscation yet I just hear it slows down someone decompiling your code a little bit.</p>
<p>Along with the distribution channels your game is automatically placed in you receive a full stat report at your MochiAd dashboard page.  This is where you setup all the keywords, game thumbnail, description, instructions etc. that are distributed when a partner of MochiAds receives your game.  I have watched my game spreading to over 40 sites now all without me having to do any further work.  They do this because they benefit as well as the developer the further the game gets.  They also have a more detailed stat service through <a href="http://mochibot.com">MochiBot</a> which I also signed up for which provides further detail on people who saw more than the ad.  In other words, people who actually played your game.</p>
<p>The stats are a blast to watch!  Especially for someone who is a complete stat and number junkie like myself.</p>
<p><strong><span style="text-decoration: underline;">Other portals I have released my game on:</span></strong></p>
<p><strong><a href="http://kongregate.com">Kongregate:</a></strong></p>
<p>Kongregate was the first portal I uploaded my game on myself.  The submit process was very easy and only involved a few steps.  You must have a Kongregate user account obviously but besides that it is really straightforward to get your game up there.  You fill out the form with info on your game, upload a thumbnail, check any of the API options you may be using, and also let them know whether your game is &#8220;exclusive&#8221; to the Kongregate site or not. Options like this one, along with the stats API question control how much your percentage of the ad revenue will be.</p>
<p>Since Kongregate has a deal with MochiAds already they will suppress the display of your ads in your MochiAds preloader.  The preloader download bar still works fine but no ads will display.  They do this for many reasons and it seems to make fair sense.</p>
<p>Anyway, back to the percentage points:  You get 25% of the ad revenue that your game receives just for uploading it to the site.  If you also integrate either (or both) of their APIs (HighScore and Statistics) you receive an additional 10% for this bringing your total possible to 35%.  Now, if you make your game exclusive to Kongregate you can receive a another 15% bonus bring the grand total to 50%.  A nice thing about the exclusive is that they do let you turn that off if you ever feel like putting your game elsewhere and you will revert back to the 25% or 35% share depending on your other options.</p>
<p>Once your game is uploaded and published it will show up on their new games list.  At this point it is up to the portal users to rate and view your game past a &#8216;under judgement&#8217; period.  The judgement period is a timeframe where you can&#8217;t view the rating of the game yet when you go to rate.  I guess the idea is that this helps early reviewers judge with less bias.  In actuality most early commenters during this phase like to post their ratings in the comment feed below the game.  Once your game has received 75 ratings the rating number is revealed to all.  If your game does well enough it will move through the rankings accordingly. TurnStyle seemed to fair pretty well for a first attempt.  TurnStyle&#8217;s rating seems to fluctuate around 3.25/5 stars over there.  It is ranked around 240/3200 in the puzzle game category currently on their site too.  I guess that isn&#8217;t too shabby at all with everything considered.  As of this post date my game was played over 3500 times, rated over 450 times, favorited 17 times, and earned me 1 fan.</p>
<p><strong><a href="http://newgrounds.com">Newgrounds:</a></strong></p>
<p>This is the only other portal I have submitted to so far.  Similar to Kongregate it followed a manual form submission process.  Once your game is up on the site it also undergoes a judgement mode where people have to vote and review it for it to acheive it&#8217;s placement ranking.  The system is similar enough to Kongregate&#8217;s that I won&#8217;t go into great detail here.  They also offer an API but I haven&#8217;t looked into that yet.  I am allowed to have my MochiAds viewed up there and they seem to get me a pretty good eCPM rate so far based on my MochiAd stats so that is good.</p>
<p>It seems TurnStyle faired a good deal better on Newgrounds than on Kongregate.  My game got 7 reviews: 6 perfect &#8220;10s&#8221; and 1 &#8220;9&#8243; for a review rating of 9.9.  The voting system seems to indicate that my game has a vote rating of around 3.5/5 stars with 298 votes received and over 1200 plays.</p>
<p>The cool news was the first day I submitted it my game did well enough to get voted 6th Most Hottest Game for Monday!  That was pretty exciting.  I missed the coveted 1-5 spots that would have gotten my game even higher in views.  It was still on the front page though just didn&#8217;t have the icon next to it.  Oh well, pretty good for first Flash game I guess.</p>
<p><strong><span style="text-decoration: underline;">Traffic Stats and Ad Revenue so far:</span></strong></p>
<p>So, I wanted to provide all the above data for context to what I will now share so that other developers can see how these stats relate to what distribution technology I used and where I have manually uploaded it.  I will detail the rough number of hosts my game has reached (remember only two of which I submitted to myself) along with traffic numbers, impressions received, and revenue received so far.  I do this because I have found it really helpful seeing the <a href="http://www.emanueleferonato.com/2008/10/28/the-experiment-one-year-later/">other Flash developers who have been transparent about this business space</a> so that all may learn to be better.</p>
<p><strong><span style="text-decoration: underline;">TurnStyle Stats:  3 Days in the wild</span></strong></p>
<p><span style="text-decoration: underline;">Dates:  Feb 28, 2009  – Mar 02, 2009</span><br />
<em>Ad requests</em><br />
<strong>Total:</strong> ~15000<br />
<strong>Impressions:</strong> ~10000<br />
<strong>Skips:</strong> ~5000<br />
<strong>Revenue:</strong> $2.40<br />
<strong># of Hosts:</strong> 42<br />
<strong># of Countries:</strong> 101</p>
<p><span style="text-decoration: underline;">% of Plays by Top 5 Countries:</span><br />
39% from Finland   (<em>this is crazy.. also almost half the leaderboard scores are from Finland too.</em>)<br />
20% from USA<br />
7% from UK<br />
4% from Canada<br />
4% from Germany</p>
<p>I have also made about $3 dollars from my 3500 plays at Kongregate through their system.</p>
<p>So, while this game hasn&#8217;t been a financial success yet at a whopping $6 of ad revenue so far the education that I have received and continue to receive is fairly priceless.  Also, ad revenue is more of a long tail approach as my game (and future games) spread through the internet.  I try to visualize a day where I may have 10-20 games roaming about each bringing me a couple bucks a day potentially.  Well, that ads up when these little critters can &#8220;work&#8221; 24/7.  Heck, who couldn&#8217;t use an extra 10x $1 a day.. that&#8217;s almost $4k a year when you think about it.  So, while $6 earned so far on 200 hours of work at least might initially discourage some- I believe that is a short-sighted reaction.  There is also the idea that while most of your games will end up relatively &#8220;unplayed&#8221; in the scheme of things- you only need 1 or 2 to really &#8220;blow up&#8221;.  I think the more quality games you can release over time the better.</p>
<p>In order to work on a different angle to monetizing the Flash business space there is also the world of licenses and sponsorship to consider. I have signed up for an account over at <a href="http://flashgamelicense.com">FlashGameLicense</a> which lets you sell licenses to released games and find sponsorships of various types for unreleased games that portals buy.  It allows bidding and reviewing and other matchmaking services to allow Flash developers to get a fair price for good work.  I am excited about the potential that FGL offers to do this kind of work fulltime.  I will be posting more experiences regarding those adventures in later posts!</p>
<p><strong><span style="text-decoration: underline;">Aside from all the business aspects and traffic aspects I&#8217;ll share a few personal joys from this experience:</span></strong></p>
<p>The thought tickles me so that potentially 15,000 people have seen my illustrations and played my game.  I can&#8217;t believe I didn&#8217;t do something like this earlier in my life because it is so much darn fun!  There is something so tantalizingly weird about hitting refresh on your browser while watching your MochiAd stat page and seeing that every 5 seconds 20 more people have tried your game.  It blows my simple mind.</p>
<p>I would also like to thank all my close friends and friends of friends that have played this game and offered their feedback.  In the anonymous world of the internet it is still the opinions of those I am close to that I most value hearing.  I can&#8217;t wait to make more games!</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/turnstyle-in-the-wild/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TurnStyle &#8211; New Flash Game Released</title>
		<link>http://hybridmind.com/games/turnstyle-new-flash-game-released/</link>
		<comments>http://hybridmind.com/games/turnstyle-new-flash-game-released/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 06:09:22 +0000</pubDate>
		<dc:creator>Dave "HybridMind" Evans</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[cryptid]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[highschores]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mochiads]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[slice]]></category>
		<category><![CDATA[turnstyle]]></category>

		<guid isPermaLink="false">http://hybridmind.com/?p=90</guid>
		<description><![CDATA[Well after an incredible amount of work I have finally released my first Flash / ActionScript 2.0 game!  You can play it here for now. TurnStyle is a unique visual and memory based puzzle game where each of the 15 puzzles are original illustrations that follow a complete story arc over the duration of the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Well after an incredible amount of work I have finally released my first Flash / ActionScript 2.0 game!  You can <a href="http://www.kongregate.com/games/HybridMind/turnstyle">play it here for now.</a></p>
<p><a href="http://www.kongregate.com/games/HybridMind/turnstyle" target="_blank"><img class="size-full wp-image-91 alignleft" title="TurnStyle" src="http://hybridmind.com/wp-content/uploads/2009/02/turnstyle.jpg" alt="turnstyle" width="560" height="473" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">TurnStyle is a unique visual and memory based puzzle game where each of the 15 puzzles are original illustrations that follow a complete story arc over the duration of the game.</p>
<p style="text-align: left;">Every puzzle is made up of individual pieces which have been randomly rotated so that they are scrambled each time. You must work quickly and efficiently to rotate the individual pieces into the proper alignment before the timer runs out.</p>
<p style="text-align: left;">There are easy, medium, and hard difficulty puzzles mainly guided by the amount of individual image pieces that make up each puzzle and the way that I break up the images into pieces.</p>
<p style="text-align: left;">Personal best records are stored locally for score and rotation count per puzzle. Global high scores may be submitted to the Mochi Leaderboards at any puzzle progress screen. You are able to retry a level if the time runs out.</p>
<p style="text-align: left;">The original game play idea came from my Cryptid Puzzle Challenge entry in the Mini-Ludum Dare #7 competition back at the beginning of the month.</p>
<p style="text-align: left;">I will try to post more about my adventure in creating this game and learning Flash but for now this is finished!</p>
]]></content:encoded>
			<wfw:commentRss>http://hybridmind.com/games/turnstyle-new-flash-game-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

