<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: New Political Flash Game</title>
	<atom:link href="http://www.taterboy.com/blog/2008/10/new-political-flash-game/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/</link>
	<description>FLASH :: FLEX :: AIR :: ILLUSTRATION :: ANIMATION :: WEB DEVELOPMENT</description>
	<pubDate>Thu, 09 Sep 2010 20:22:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Game Up</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-584</link>
		<dc:creator>Game Up</dc:creator>
		<pubDate>Thu, 12 Aug 2010 12:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-584</guid>
		<description>Its little old now I know but, cool game it waisted a few minutes for me. :-)</description>
		<content:encoded><![CDATA[<p>Its little old now I know but, cool game it waisted a few minutes for me. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Games Loop</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-402</link>
		<dc:creator>Games Loop</dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-402</guid>
		<description>Cool game ... but a little old ... still good

You can try this also, only new games, very good ones:

&lt;a href="http://gamesloop.com" rel="nofollow"&gt;Free 2010 Games - New Games 2010&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Cool game &#8230; but a little old &#8230; still good</p>
<p>You can try this also, only new games, very good ones:</p>
<p><a href="http://gamesloop.com" rel="nofollow">Free 2010 Games - New Games 2010</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Game</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-236</link>
		<dc:creator>Game</dc:creator>
		<pubDate>Sat, 18 Apr 2009 18:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-236</guid>
		<description>Political Flash Game ...</description>
		<content:encoded><![CDATA[<p>Political Flash Game &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-195</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-195</guid>
		<description>I made a new post on the subject here with sample code. Hope this helps and I did not take to long.
http://www.taterboy.com/blog/2008/12/a-simple-game-engine-using-random/</description>
		<content:encoded><![CDATA[<p>I made a new post on the subject here with sample code. Hope this helps and I did not take to long.<br />
<a href="http://www.taterboy.com/blog/2008/12/a-simple-game-engine-using-random/" rel="nofollow">http://www.taterboy.com/blog/2008/12/a-simple-game-engine-using-random/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: June</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-188</link>
		<dc:creator>June</dc:creator>
		<pubDate>Mon, 24 Nov 2008 01:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-188</guid>
		<description>HI,i really thank you for your effort.However, for my game it does not come out from boxes. The item that will appear is a bug. It will appear on the stage randomly and it will disappear for 4 sec for each bugs. but they appear and disappear at different timing. I know this is quite simply but my AS3 is really not that good. Thank you for your time.</description>
		<content:encoded><![CDATA[<p>HI,i really thank you for your effort.However, for my game it does not come out from boxes. The item that will appear is a bug. It will appear on the stage randomly and it will disappear for 4 sec for each bugs. but they appear and disappear at different timing. I know this is quite simply but my AS3 is really not that good. Thank you for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taterboy</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-176</link>
		<dc:creator>taterboy</dc:creator>
		<pubDate>Wed, 05 Nov 2008 15:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-176</guid>
		<description>Check out this post first, http://www.taterboy.com/blog/2008/07/shuffle-objects-or-random-order-in-flash/

You can make an array by hand or generate it with code. This game has random candidates and random boxes that they pop out of. I wanted to make sure each candidate had equal exposure. The candidate list is an array to instruct how many times each candidate, party logo and even some null values, to break things up, appears. I shuffled this array using the technique in the link above. 

Then I created a timer, each time the timer cycles, I increment through the array and pull the next candidate from the shuffled array.
Then randomly choose a box number to have the candidate pop out of. 
If there are 6 boxes, the code would look like this.

var boxID:int = Math.random()*6;
 Then tell the box with the id that matches boxID  to pop up the candidate pulled from the array.

var currentBox:Object = getChildByName("box" + boxID);

Then set a boolean for that box id to true. I know that my timer cycle could end before the box i s empty again,
so the next time my timer cycles, there are some added checks to make sure my random boxID does not match a currently active box.

while( this["box" + boxID + "status"] == true){
   boxID = Math.random()*6;
}

Random is a really cool way to add some interest and variation into the gameplay. But if random is not controled the gameplay between each game can become very inconsistent.

If you have specific questions let me know.
Post a link to your game when you get it done, thanks.</description>
		<content:encoded><![CDATA[<p>Check out this post first, <a href="http://www.taterboy.com/blog/2008/07/shuffle-objects-or-random-order-in-flash/" rel="nofollow">http://www.taterboy.com/blog/2008/07/shuffle-objects-or-random-order-in-flash/</a></p>
<p>You can make an array by hand or generate it with code. This game has random candidates and random boxes that they pop out of. I wanted to make sure each candidate had equal exposure. The candidate list is an array to instruct how many times each candidate, party logo and even some null values, to break things up, appears. I shuffled this array using the technique in the link above. </p>
<p>Then I created a timer, each time the timer cycles, I increment through the array and pull the next candidate from the shuffled array.<br />
Then randomly choose a box number to have the candidate pop out of.<br />
If there are 6 boxes, the code would look like this.</p>
<p>var boxID:int = Math.random()*6;<br />
 Then tell the box with the id that matches boxID  to pop up the candidate pulled from the array.</p>
<p>var currentBox:Object = getChildByName(&#8221;box&#8221; + boxID);</p>
<p>Then set a boolean for that box id to true. I know that my timer cycle could end before the box i s empty again,<br />
so the next time my timer cycles, there are some added checks to make sure my random boxID does not match a currently active box.</p>
<p>while( this["box" + boxID + "status"] == true){<br />
   boxID = Math.random()*6;<br />
}</p>
<p>Random is a really cool way to add some interest and variation into the gameplay. But if random is not controled the gameplay between each game can become very inconsistent.</p>
<p>If you have specific questions let me know.<br />
Post a link to your game when you get it done, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: June</title>
		<link>http://www.taterboy.com/blog/2008/10/new-political-flash-game/comment-page-1/#comment-175</link>
		<dc:creator>June</dc:creator>
		<pubDate>Wed, 05 Nov 2008 03:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.taterboy.com/blog/?p=30#comment-175</guid>
		<description>Hi!This is exactly the type of game i am working for my final year rpoject. I simply could not figure out how do i actually make item to appear randomly at a random timing. Please help me. Thank you.</description>
		<content:encoded><![CDATA[<p>Hi!This is exactly the type of game i am working for my final year rpoject. I simply could not figure out how do i actually make item to appear randomly at a random timing. Please help me. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
