<?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>Emanuele Feronato &#187; Contests</title>
	<atom:link href="http://www.emanueleferonato.com/category/contests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Thu, 11 Mar 2010 00:11:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Games that Challenge the World Come2Play contest &#8211; $8,000 in prizes</title>
		<link>http://www.emanueleferonato.com/2010/01/25/games-that-challenge-the-world-come2play-contest-8000-in-prizes/</link>
		<comments>http://www.emanueleferonato.com/2010/01/25/games-that-challenge-the-world-come2play-contest-8000-in-prizes/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 12:30:53 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=2269</guid>
		<description><![CDATA[Do you want to make something interesting out of the Come2Play multiplayer API tutorial?
Here it is your chance to win up to $5,000!!
Come2Play – Creators of the first white-label social gaming platform and multiplayer game API &#8211; are holding a contest, in conjunction with the LinkedIn Flash Game Developers group, for the development of turn [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to make something interesting out of the <a href="http://www.emanueleferonato.com/2010/01/14/come2play-multiplayer-api-tutorial/">Come2Play multiplayer API tutorial</a>?</p>
<p>Here it is your chance to win up to $5,000!!</p>
<p><a href="http://www.come2play.com/" target = "_blank">Come2Play</a> – Creators of the first white-label social gaming platform and multiplayer game API &#8211; are holding a contest, in conjunction with the <a href="http://www.linkedin.com/groups?home=&#038;gid=121017" target = "_blank">LinkedIn Flash Game Developers</a> group, for the development of turn based multiplayer games with <strong>prizes</strong> totaling <strong>$8,000</strong>. </p>
<p>In a gaming world where new games are launched and disappear just as quickly, multiplayer games with a social infrastructure are a huge hit amongst users; developing a loyal fan base that come back daily to play against each other and their friends. </p>
<p>Come2Play has developed this infrastructure and are inviting game developers to take advantage of it.</p>
<p>Come2Play is revitalizing the formula by allowing for correspondence challenges. With correspondence challenges, a player makes the first move in a game and then sends it to all their friends through email or their favorite social network. Each individual friend can then send back their next move. Each friend who responds starts a new game with the creator of the game. This gaming form provides a huge viral opportunity to game developers looking to expand the reach of their games. </p>
<p>In light of this initiative, Come2Play is launching their latest contest &#8211; <strong>The Games That Challenge the World Competition</strong>.<span id="more-2269"></span></p>
<p>Using Come2Play&#8217;s multiplayer API, developers are challenged to create head-to-head turn based multiplayer games that fit this concept. Prizes will be given out to games that successfully implement this turn based model based on the contest’s concept. Games will be judged based on originality, design, game play and use of Come2Play’s API features. Judging will be done by Come2Play in conjunction with a panel of industry judges. </p>
<p>Games entered into the competition do not have to be exclusive. In addition, you can retrofit an old game that has already been published and released. </p>
<p><strong>$8,000 in Prizes!</strong></p>
<p>Prizes for the contest will be as follows:<br />
$5,000 for first place,<br />
$2,000 for second place<br />
$1,000 for third place</p>
<p><strong>The contest runs from January 1st through March 31st</strong>. Games must be submitted by 11:59pm EST on March 31st, 2010.</p>
<p>In addition to the prize money, Come2Play will pay developers with single player games, which have over 100,000 game plays and a rating over 3.5 on Kongregate or Newgrounds, up to $3,000 to convert their single player game to a multiplayer version. Contact Come2Play at submissions[at]come2play.com to see if you qualify.</p>
<p>More information at the <a href="http://come2play.com/dev_inner.asp?f=1&#038;newsid=337" target ="_blank">official page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2010/01/25/games-that-challenge-the-world-come2play-contest-8000-in-prizes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Play BarBalance, my latest game</title>
		<link>http://www.emanueleferonato.com/2009/12/09/play-barbalance-my-latest-game/</link>
		<comments>http://www.emanueleferonato.com/2009/12/09/play-barbalance-my-latest-game/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 01:00:12 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Box2D]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=2043</guid>
		<description><![CDATA[I would like you to play BarBalance

It&#8217;s a Box2D game made for the 60 seconds to fame contest built around Stabilize! concept.
You can follow the various steps during the creation of this game at this post and the links you will find in it (I won&#8217;t fill this post with links&#8230;)
You probably noticed I created [...]]]></description>
			<content:encoded><![CDATA[<p>I would like you to play <strong><a href="http://www.barbalance-game.com/" target = "_blank">BarBalance</a></strong></p>
<p><a href="http://www.barbalance-game.com/" target = "_blank"><img src="http://www.emanueleferonato.com/wp-content/uploads/2009/12/barbal.png"  /></a></p>
<p>It&#8217;s a <a href="http://www.emanueleferonato.com/category/box2d/">Box2D</a> game made for the <a href="http://www.emanueleferonato.com/2009/11/07/60-seconds-to-fame-contest/">60 seconds to fame</a> contest built around <a href="http://www.triqui.com/2009/10/10/stabilize/" target = "_blank">Stabilize!</a> concept.</p>
<p>You can follow the various steps during the creation of this game at <a href="http://www.emanueleferonato.com/2009/11/25/creation-of-a-flash-stabilize-clone-using-box2d-part-5/">this post</a> and the links you will find in it (I won&#8217;t fill this post with links&#8230;)</p>
<p>You probably noticed I created a website for the game.</p>
<p>Once the contest will be over and the winners will be announced on friday december 11, I&#8217;ll start making a couple of game versions with a more interesting and complex gameplay (this is quite simple because it&#8217;s meant to end in 60 seconds) with some interesting additional features if the game is played on the website.</p>
<p>It&#8217;s also a good way to give some credit to all &#8220;underground&#8221; third party libraries such as Box2D and SWFObject.</p>
<p>So, from now on, every game I&#8217;ll make will have its own site.</p>
<p>If you like to buy a lifetime banner for a few bucks, give me a shout&#8230; you know I&#8217;ll drive some millions people to the site :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/12/09/play-barbalance-my-latest-game/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flash Game Developers LinkedIn group and Come2Play Flash game competition</title>
		<link>http://www.emanueleferonato.com/2009/11/27/flash-game-developers-linkedin-group-and-come2play-flash-game-competition/</link>
		<comments>http://www.emanueleferonato.com/2009/11/27/flash-game-developers-linkedin-group-and-come2play-flash-game-competition/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 10:38:41 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=2009</guid>
		<description><![CDATA[I received a shout from Barry White (do you remember GameJacket?) about an interesting tournament made by Flash Game Developers LinkedIn group and Come2Play with $8,000 in prizes.
Original press release:
&#171; Come2Play has teamed up with the LinkedIn Flash Game Developers group to bring you an awesome Flash Game Competition! Just integrate their API in your [...]]]></description>
			<content:encoded><![CDATA[<p>I received a shout from <strong>Barry White</strong> (do you remember <a href="http://www.emanueleferonato.com/2008/05/23/monetize-your-flash-game-with-gamejacket/">GameJacket</a>?) about an interesting tournament made by <a href="http://www.linkedin.com/groups?home=&#038;gid=121017" target="_blank">Flash Game Developers LinkedIn group</a> and <a href="http://www.come2play.com/" target ="_blank">Come2Play</a> with <strong>$8,000</strong> in prizes.</p>
<p>Original press release:</p>
<p>&laquo; Come2Play has teamed up with the LinkedIn Flash Game Developers group to bring you an awesome Flash Game Competition! Just integrate their API in your game, submit it and you could win one of the following cash prizes: </p>
<p><strong>1st Place</strong>: <strong>$5,000</strong><br />
<strong>2nd Place</strong>: <strong>$2,000</strong><br />
<strong>3rd Place</strong>: <strong>$1,000 </strong></p>
<p>It&#8217;s not a massive group, so everybody here has a good chance &#8211; this is a competition with no strings attached! The game does NOT have to be new, exclusive, advert free or free of sponsor links to be entered. </p>
<p>The main requirement is that all submissions must have the Come2Play API implemented. </p>
<p>Extra benefits of implementing the API include revenue sharing, game distribution to Come2Play partners and multiplayer features. </p>
<p>The deadline is <strong>January 31st, 2010</strong>, so there is plenty of time to implement the API to all of your games and submit them to Come2Play! &raquo;</p>
<p>More information at the <a target = "_blank" href="http://www.come2play.com/dev_inner.asp?f=1&#038;newsid=337">official page</a>.</p>
<p>Expect a tutorial about Come2Play features soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/11/27/flash-game-developers-linkedin-group-and-come2play-flash-game-competition/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>60 Seconds to Fame Contest</title>
		<link>http://www.emanueleferonato.com/2009/11/07/60-seconds-to-fame-contest/</link>
		<comments>http://www.emanueleferonato.com/2009/11/07/60-seconds-to-fame-contest/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 22:39:13 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1929</guid>
		<description><![CDATA[Once upon a time there was Flash Game Friday
It was a Flash Game contest held by Mochimedia, and the staff awarded one game a week a $100 prize for being awesome. There were no other rules and no theme. It was simply the staff choosing something they really enjoyed.
Now things changed. The original Flash Game [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time there was <strong>Flash Game Friday</strong></p>
<p>It was a Flash Game contest held by <a target = "_blank" href="https://www.mochimedia.com/r/972ae333a3c92a2a">Mochimedia</a>, and the staff awarded one game a week a $100 prize for being awesome. There were no other rules and no theme. It was simply the staff choosing something they really enjoyed.</p>
<p>Now things changed. The original Flash Game Friday has now become a monthly contest!</p>
<p>Developers will have one month to develop a game based on a specific theme, and the monthly prize is <strong>$500</strong>.</p>
<p><img src="http://www.emanueleferonato.com/wp-content/uploads/2009/11/3syt725z.jpg" /></p>
<p>Winners will be chosen from the eligible games by the <a target = "_blank" href="https://www.mochimedia.com/r/972ae333a3c92a2a">Mochi</a> staff.</p>
<p>The first monthly contest is <strong>60 Seconds to Fame</strong>.<span id="more-1929"></span></p>
<p><strong>Rules</strong>: Your game must be over/finished and ready for a score submission in 60 seconds or less. It does not matter how good you are in the game, it will still end in 60 seconds or less. The goal in these types of games is to push a user to get better, not so they can last longer, but rather get more points within that same time limit. It’s to spark the “oh, I get it,” or, “Maybe if I tried this…” in the player. Also, it’s to force a developer to stick to their idea without the fear of feature creep, which is often times a key factor in <a href="http://www.emanueleferonato.com/2008/03/17/wipe-the-vaporware-out-of-your-life/">causing your game to not be completed</a>.</p>
<p><strong>Deadline</strong>: December 4th, 2009 – 11:59PM PST</p>
<p><strong>Prizes</strong>: $400 for the winner, $50 each for two honorable mentions.</p>
<p>If you need some inspiration, on the <a href="http://mochiland.com/articles/november-2009-contest-60-seconds-to-fame" target = "_blank">official page</a> you can find six examples of games built around this theme. You will find all additional rules too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/11/07/60-seconds-to-fame-contest/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WorDrop</title>
		<link>http://www.emanueleferonato.com/2009/10/17/wordrop/</link>
		<comments>http://www.emanueleferonato.com/2009/10/17/wordrop/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 14:38:11 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Box2D]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1756</guid>
		<description><![CDATA[Word Play contest is over, you can see the winners in the official MochiLand post, and it&#8217;s time to show you my little game based on words.
It&#8217;s called WorDrop and it&#8217;s a Box2D game made in a couple of days based on this prototype.

It&#8217;s not that great game but I would like to localize it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.emanueleferonato.com/2009/06/16/win-up-to-7000-with-%e2%80%9cword-play%e2%80%9d-flash-game-contest/">Word Play contest</a> is over, you can see the winners in the <a href="http://mochiland.com/articles/dictionary-com-word-play-winners">official MochiLand post</a>, and it&#8217;s time to show you my little game based on words.</p>
<p>It&#8217;s called <strong><a target = "_blank" href="http://www.triqui.com/2009/09/18/wordrop/">WorDrop</a></strong> and it&#8217;s a <a href="http://www.emanueleferonato.com/category/box2d/">Box2D</a> game made in a couple of days based on <a href="http://www.emanueleferonato.com/2009/09/14/word-play-contest-prototype-four-days-to-make-something-decent-out-of-it/">this prototype</a>.</p>
<p><a target = "_blank" href="http://www.triqui.com/2009/09/18/wordrop/"><img src="/wp-content/uploads/2009/10/wd.jpg" /></a></p>
<p>It&#8217;s not that great game but I would like to localize it in italian and spanish and see how does it perform.</p>
<p>Obviously big kudos to winners and expect some prototype based on winning games durin next days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/10/17/wordrop/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Word Play contest prototype, four days to make something decent out of it</title>
		<link>http://www.emanueleferonato.com/2009/09/14/word-play-contest-prototype-four-days-to-make-something-decent-out-of-it/</link>
		<comments>http://www.emanueleferonato.com/2009/09/14/word-play-contest-prototype-four-days-to-make-something-decent-out-of-it/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 09:37:24 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Box2D]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1646</guid>
		<description><![CDATA[The final deadline for &#8220;Word Play&#8221; Flash Game Contest ran by MochiMedia is September 18 and if you did not submit any entry, here it is a prototype you can use to make something better out of it.
The concept is based upon How to use an embedded text file in Flash and some concepts from [...]]]></description>
			<content:encoded><![CDATA[<p>The final deadline for <a href="http://www.emanueleferonato.com/2009/06/16/win-up-to-7000-with-%E2%80%9Cword-play%E2%80%9D-flash-game-contest/">&#8220;Word Play&#8221; Flash Game Contest</a> ran by <a href="https://www.mochimedia.com/r/972ae333a3c92a2a" target = "_blank">MochiMedia</a> is <strong>September 18</strong> and if you did not submit any entry, here it is a prototype you can use to make something better out of it.</p>
<p>The concept is based upon <a href="http://www.emanueleferonato.com/2009/07/24/how-to-use-an-embedded-text-file-in-flash/">How to use an embedded text file in Flash</a> and some concepts from <a href="http://www.emanueleferonato.com/2009/01/12/samephysics-my-first-box2d-game/">SamePhysics</a>.</p>
<p>Letters are falling (very quickly in this example), click on them to make a word, click on a previously clicked letter to submit a word and make letters disappear, or click outside to reset the word.</p>
<p>If a letter falls outside the stage, then it&#8217;s game over.<span id="more-1646"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Sprite</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">MouseEvent</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.utils</span>.<span style="color: #004993;">Timer</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">TimerEvent</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> Box2D.Dynamics.<span style="color: #000000; font-weight: bold;">*</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> Box2D.Collision.<span style="color: #000000; font-weight: bold;">*</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> Box2D.Collision.Shapes.<span style="color: #000000; font-weight: bold;">*</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> Box2D.Common.<span style="color: #004993;">Math</span>.<span style="color: #000000; font-weight: bold;">*</span>;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> HelloWorld extends <span style="color: #004993;">Sprite</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> words<span style="color: #000000; font-weight: bold;">:</span>embedded_text = <span style="color: #0033ff; font-weight: bold;">new</span> embedded_text<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> m_world<span style="color: #000000; font-weight: bold;">:</span>b2World;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> m_iterations<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">10</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> m_timeStep<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>=<span style="color: #000000; font-weight:bold;">1.0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">30.0</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> body<span style="color: #000000; font-weight: bold;">:</span>b2Body;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> bodyDef<span style="color: #000000; font-weight: bold;">:</span>b2BodyDef;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> boxDef<span style="color: #000000; font-weight: bold;">:</span>b2PolygonDef;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> word<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">&quot;&quot;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> letters<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> words_array<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Array</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> remove<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> release_letters<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> game_over<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> HelloWorld<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			words_array=words.<span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>.<span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;,&quot;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> worldAABB<span style="color: #000000; font-weight: bold;">:</span>b2AABB = <span style="color: #0033ff; font-weight: bold;">new</span> b2AABB<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			worldAABB.lowerBound.Set<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">100.0</span>, <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">100.0</span><span style="color: #000000;">&#41;</span>;
			worldAABB.upperBound.Set<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">100.0</span>, <span style="color: #000000; font-weight:bold;">100.0</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> gravity<span style="color: #000000; font-weight: bold;">:</span>b2Vec2=<span style="color: #0033ff; font-weight: bold;">new</span> b2Vec2<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0.0</span>,<span style="color: #000000; font-weight:bold;">10.0</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> doSleep<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">true</span>;
			m_world=<span style="color: #0033ff; font-weight: bold;">new</span> b2World<span style="color: #000000;">&#40;</span>worldAABB,gravity,doSleep<span style="color: #000000;">&#41;</span>;
			add_walls<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> time_count<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Timer</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Timer</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">1000</span><span style="color: #000000;">&#41;</span>;
			time_count.<span style="color: #004993;">start</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			time_count.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">TimerEvent</span>.<span style="color: #004993;">TIMER</span>, on_time<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">ENTER_FRAME</span>, Update, <span style="color: #0033ff; font-weight: bold;">false</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span>.<span style="color: #004993;">MOUSE_DOWN</span>, on_mouse_down<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> add_walls<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			bodyDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2BodyDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			bodyDef.<span style="color: #004993;">position</span>.Set<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">10.5</span>, <span style="color: #000000; font-weight:bold;">15.75</span><span style="color: #000000;">&#41;</span>;
			boxDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2PolygonDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			boxDef.SetAsBox<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">10.5</span>, <span style="color: #000000; font-weight:bold;">0.25</span><span style="color: #000000;">&#41;</span>;
			boxDef.friction=<span style="color: #000000; font-weight:bold;">0.3</span>;
			boxDef.density=<span style="color: #000000; font-weight:bold;">0</span>;
			body=m_world.CreateBody<span style="color: #000000;">&#40;</span>bodyDef<span style="color: #000000;">&#41;</span>;
			body.CreateShape<span style="color: #000000;">&#40;</span>boxDef<span style="color: #000000;">&#41;</span>;
			body.SetMassFromShapes<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			bodyDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2BodyDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			bodyDef.<span style="color: #004993;">position</span>.Set<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0.25</span>, <span style="color: #000000; font-weight:bold;">12</span><span style="color: #000000;">&#41;</span>;
			boxDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2PolygonDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			boxDef.SetAsBox<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0.25</span>, <span style="color: #000000; font-weight:bold;">4</span><span style="color: #000000;">&#41;</span>;
			boxDef.friction=<span style="color: #000000; font-weight:bold;">0.3</span>;
			boxDef.density=<span style="color: #000000; font-weight:bold;">0</span>;
			body=m_world.CreateBody<span style="color: #000000;">&#40;</span>bodyDef<span style="color: #000000;">&#41;</span>;
			body.CreateShape<span style="color: #000000;">&#40;</span>boxDef<span style="color: #000000;">&#41;</span>;
			body.SetMassFromShapes<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			bodyDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2BodyDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			bodyDef.<span style="color: #004993;">position</span>.Set<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">20.75</span>, <span style="color: #000000; font-weight:bold;">12</span><span style="color: #000000;">&#41;</span>;
			boxDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2PolygonDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			boxDef.SetAsBox<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0.25</span>, <span style="color: #000000; font-weight:bold;">4</span><span style="color: #000000;">&#41;</span>;
			boxDef.friction=<span style="color: #000000; font-weight:bold;">0.3</span>;
			boxDef.density=<span style="color: #000000; font-weight:bold;">0</span>;
			body=m_world.CreateBody<span style="color: #000000;">&#40;</span>bodyDef<span style="color: #000000;">&#41;</span>;
			body.CreateShape<span style="color: #000000;">&#40;</span>boxDef<span style="color: #000000;">&#41;</span>;
			body.SetMassFromShapes<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> the_walls<span style="color: #000000; font-weight: bold;">:</span>walls=<span style="color: #0033ff; font-weight: bold;">new</span> walls<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>the_walls<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> on_time<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">TimerEvent</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight: bold;">!</span> game_over<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> lett=letters.<span style="color: #004993;">charAt</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">26</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
				bodyDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2BodyDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				bodyDef.<span style="color: #004993;">position</span>.<span style="color: #004993;">x</span>=<span style="color: #004993;">Math</span>.<span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">19</span><span style="color: #000000; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">1</span>;
				bodyDef.<span style="color: #004993;">position</span>.<span style="color: #004993;">y</span>=<span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">2</span>;
				boxDef = <span style="color: #0033ff; font-weight: bold;">new</span> b2PolygonDef<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				boxDef.SetAsBox<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0.75</span>,<span style="color: #000000; font-weight:bold;">0.75</span><span style="color: #000000;">&#41;</span>;
				boxDef.density=<span style="color: #000000; font-weight:bold;">1.0</span>;
				boxDef.friction=<span style="color: #000000; font-weight:bold;">0.5</span>;
				boxDef.restitution=<span style="color: #000000; font-weight:bold;">0.2</span>;
				bodyDef.userData = <span style="color: #0033ff; font-weight: bold;">new</span> letter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				bodyDef.userData.lettertext.<span style="color: #004993;">text</span>=lett;
				bodyDef.userData.<span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">1.5</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
				bodyDef.userData.<span style="color: #004993;">height</span>=<span style="color: #000000; font-weight:bold;">1.5</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
				body=m_world.CreateBody<span style="color: #000000;">&#40;</span>bodyDef<span style="color: #000000;">&#41;</span>;
				body.CreateShape<span style="color: #000000;">&#40;</span>boxDef<span style="color: #000000;">&#41;</span>;
				body.SetMassFromShapes<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>bodyDef.userData<span style="color: #000000;">&#41;</span>;
				bodyDef.userData.<span style="color: #004993;">x</span>=bodyDef.<span style="color: #004993;">position</span>.<span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
				bodyDef.userData.<span style="color: #004993;">y</span>=bodyDef.<span style="color: #004993;">position</span>.<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> on_mouse_down<span style="color: #000000;">&#40;</span>evt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			remove=<span style="color: #0033ff; font-weight: bold;">false</span>;
			<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight: bold;">!</span> game_over<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> body<span style="color: #000000; font-weight: bold;">:</span>b2Body=GetBodyAtMouse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">position</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>;
				<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>body<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
					<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>body.m_userData.<span style="color: #004993;">alpha</span>==<span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
						body.m_userData.<span style="color: #004993;">alpha</span>=<span style="color: #000000; font-weight:bold;">0.5</span>;
						word<span style="color: #000000; font-weight: bold;">+</span>=body.m_userData.lettertext.<span style="color: #004993;">text</span>.<span style="color: #004993;">toLowerCase</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
					<span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">else</span> <span style="color: #000000;">&#123;</span>
						<span style="color: #004993;">position</span>=words_array.<span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span>word<span style="color: #000000;">&#41;</span>;
						<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>position<span style="color: #000000; font-weight: bold;">&gt;-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
							word=<span style="color: #990000;">&quot;&quot;</span>;
							remove=<span style="color: #0033ff; font-weight: bold;">true</span>;
						<span style="color: #000000;">&#125;</span>
					<span style="color: #000000;">&#125;</span>
				<span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">else</span> <span style="color: #000000;">&#123;</span>
					word=<span style="color: #990000;">&quot;&quot;</span>;
					release_letters=<span style="color: #0033ff; font-weight: bold;">true</span>;
				<span style="color: #000000;">&#125;</span>
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> GetBodyAtMouse<span style="color: #000000;">&#40;</span>includeStatic<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span>b2Body <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> real_x_mouse = <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseX</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">30</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> real_y_mouse = <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">mouseY</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">30</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> mousePVec<span style="color: #000000; font-weight: bold;">:</span>b2Vec2 = <span style="color: #0033ff; font-weight: bold;">new</span> b2Vec2<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			mousePVec.Set<span style="color: #000000;">&#40;</span>real_x_mouse, real_y_mouse<span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> aabb<span style="color: #000000; font-weight: bold;">:</span>b2AABB = <span style="color: #0033ff; font-weight: bold;">new</span> b2AABB<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			aabb.lowerBound.Set<span style="color: #000000;">&#40;</span>real_x_mouse <span style="color: #000000; font-weight: bold;">-</span> <span style="color: #000000; font-weight:bold;">0.001</span>, real_y_mouse <span style="color: #000000; font-weight: bold;">-</span> <span style="color: #000000; font-weight:bold;">0.001</span><span style="color: #000000;">&#41;</span>;
			aabb.upperBound.Set<span style="color: #000000;">&#40;</span>real_x_mouse <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">0.001</span>, real_y_mouse <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">0.001</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> k_maxCount<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">10</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> shapes<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Array</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> count<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=m_world.Query<span style="color: #000000;">&#40;</span>aabb,shapes,k_maxCount<span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> body<span style="color: #000000; font-weight: bold;">:</span>b2Body=<span style="color: #0033ff; font-weight: bold;">null</span>;
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">0</span>; i <span style="color: #000000; font-weight: bold;">&lt;</span>count; <span style="color: #000000; font-weight: bold;">++</span>i<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>shapes<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>.m_body.IsStatic<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>==<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">||</span>includeStatic<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
					<span style="color: #6699cc; font-weight: bold;">var</span> tShape<span style="color: #000000; font-weight: bold;">:</span>b2Shape=shapes<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span> <span style="color: #0033ff; font-weight: bold;">as</span> b2Shape;
					<span style="color: #6699cc; font-weight: bold;">var</span> inside<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=tShape.TestPoint<span style="color: #000000;">&#40;</span>tShape.m_body.GetXForm<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,mousePVec<span style="color: #000000;">&#41;</span>;
					<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>inside<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
						body=tShape.m_body;
						<span style="color: #0033ff; font-weight: bold;">break</span>;
					<span style="color: #000000;">&#125;</span>
				<span style="color: #000000;">&#125;</span>
			<span style="color: #000000;">&#125;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> body;
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Update<span style="color: #000000;">&#40;</span>e<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			m_world.Step<span style="color: #000000;">&#40;</span>m_timeStep, m_iterations<span style="color: #000000;">&#41;</span>;
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> bb<span style="color: #000000; font-weight: bold;">:</span>b2Body = m_world.m_bodyList; bb; bb = bb.m_next<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>bb.m_userData <span style="color: #0033ff; font-weight: bold;">is</span> <span style="color: #004993;">Sprite</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
					bb.m_userData.<span style="color: #004993;">x</span>=bb.GetPosition<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>.<span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
					bb.m_userData.<span style="color: #004993;">y</span>=bb.GetPosition<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>.<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000; font-weight:bold;">30</span>;
					<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>bb.m_userData.y<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight:bold;">500</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
						game_over=<span style="color: #0033ff; font-weight: bold;">true</span>;
					<span style="color: #000000;">&#125;</span>
					bb.m_userData.<span style="color: #004993;">rotation</span> = bb.GetAngle<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">180</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #004993;">Math</span>.<span style="color: #004993;">PI</span><span style="color: #000000;">&#41;</span>;
					<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>remove<span style="color: #000000; font-weight: bold;">&amp;&amp;</span>bb.m_userData.<span style="color: #004993;">alpha</span>==<span style="color: #000000; font-weight:bold;">0.5</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
						<span style="color: #004993;">removeChild</span><span style="color: #000000;">&#40;</span>bb.m_userData<span style="color: #000000;">&#41;</span>;
						bb.m_userData=<span style="color: #0033ff; font-weight: bold;">null</span>;
						m_world.DestroyBody<span style="color: #000000;">&#40;</span>bb<span style="color: #000000;">&#41;</span>;
					<span style="color: #000000;">&#125;</span>
					<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>release_letters<span style="color: #000000; font-weight: bold;">&amp;&amp;</span>bb.m_userData.<span style="color: #004993;">alpha</span>==<span style="color: #000000; font-weight:bold;">0.5</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
						bb.m_userData.<span style="color: #004993;">alpha</span>=<span style="color: #000000; font-weight:bold;">1</span>;
					<span style="color: #000000;">&#125;</span>
				<span style="color: #000000;">&#125;</span>
			<span style="color: #000000;">&#125;</span>
			release_letters=<span style="color: #0033ff; font-weight: bold;">false</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>where <code>embedded_text.as</code> is coded as follows:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.utils</span>.<span style="color: #004993;">ByteArray</span>;
	<span style="color: #000000;">&#91;</span>Embed<span style="color: #000000;">&#40;</span><span style="color: #004993;">source</span>=<span style="color: #990000;">&quot;words.txt&quot;</span>,mimeType=<span style="color: #990000;">&quot;application/octet-stream&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> embedded_text extends <span style="color: #004993;">ByteArray</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> embedded_text<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>And this is the result&#8230; (a bit shrinked to make it fit in the blog)</p>
<p><embed src="/downloads/wordzproto.swf" menu="false" quality="high" width="520" height="396" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
<p><a href="/downloads/wordzproto.zip">Download the source code</a>&#8230; four days left&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/09/14/word-play-contest-prototype-four-days-to-make-something-decent-out-of-it/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Win up to $7000 with “Word Play” Flash Game Contest</title>
		<link>http://www.emanueleferonato.com/2009/06/16/win-up-to-7000-with-%e2%80%9cword-play%e2%80%9d-flash-game-contest/</link>
		<comments>http://www.emanueleferonato.com/2009/06/16/win-up-to-7000-with-%e2%80%9cword-play%e2%80%9d-flash-game-contest/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 11:19:09 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1343</guid>
		<description><![CDATA[Dictionary.com and MochiAds are bringing you a completely new contest for summer 2009 with $15,000 in prizes.

Beside the cash, this is a very interesting contest because you must use words, and this will require a lot of game design skill to procude something different than Scrabble.
Another interesting thing is Dictionary.com is even providing a word [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dictionary.reference.com/" target ="_blank">Dictionary.com</a> and <a href="https://www.mochiads.com/r/972ae333a3c92a2a" target = "_blank">MochiAds</a> are bringing you a completely new contest for summer 2009 with $15,000 in prizes.</p>
<p><a target = "_blank" href="http://www.mochiads.com/contest/may09"><img src="/images/wordplay[1].jpg" alt="Word Play Flash Game Contest" /></a></p>
<p>Beside the cash, this is a very interesting contest because you must use words, and this will require a lot of game design skill to procude something different than Scrabble.</p>
<p>Another interesting thing is Dictionary.com is even providing a word list to help you get started! The only rules for using this list is to mark on the Title Screen of your game that it is being powered by “dictionary.com”.</p>
<p>You can download the list at <a href="http://www.mochiads.com/dl/dictionarycom_assets.zip">this link</a>, and in the zipped file you will find a <code>.eps</code> file with the logo and a list of 147,306 (!!) words.</p>
<p>I will made a couple of tutorials about the use of these words during next days, meanwhile let me talk about the prizes:</p>
<p><strong>1st Place</strong> &#8211; $7,000<br />
<strong>2nd Place</strong> &#8211; $4,000<br />
<strong>3rd Place</strong> &#8211; $2,000<br />
<strong>Honorable Mention</strong> (x2) &#8211; $1,000 each</p>
<p><strong>Start Date</strong>: June 9th, 2009</p>
<p><strong>End Date</strong>: August 14th, 2009</p>
<p><strong>Contest Criteria</strong>:</p>
<p>* Must incorporate the MochiAds Version Control and Encryption service<br />
* Must be distribution-enabled and use MochiAds Leaderboards<br />
* Must run MochiAds advertisements<br />
* Must be a word game or a game themed around words and puzzles<br />
* Must be entered in MochiAds before midnight August 14th, 2009 PST<br />
* Must be tagged with &#8220;dictionary.com&#8221;</p>
<p>Check the <a target = "_blank" href="http://www.mochiads.com/contest/may09">official page</a> for all information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/06/16/win-up-to-7000-with-%e2%80%9cword-play%e2%80%9d-flash-game-contest/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Win $9,000 + $15,000 with Batman: The Brave and the Bold Game Casting Call!</title>
		<link>http://www.emanueleferonato.com/2009/03/14/win-9000-15000-with-batman-the-brave-and-the-bold-game-casting-call/</link>
		<comments>http://www.emanueleferonato.com/2009/03/14/win-9000-15000-with-batman-the-brave-and-the-bold-game-casting-call/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 19:24:26 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1046</guid>
		<description><![CDATA[Big news for Flash game developers.
MochiAds and Warner Bros have teamed up to bring you a fresh new promotion.
It&#8217;s an open casting call for all top Flash developers out there to submit your awesome game ideas for a chance to create an officially licensed game starring none other than Batman himself!

Out of all the submissions, [...]]]></description>
			<content:encoded><![CDATA[<p>Big news for Flash game developers.</p>
<p><a target = "_blank" href="https://www.mochiads.com/r/972ae333a3c92a2a">MochiAds</a> and <a href="http://www.warnerbros.com/" target ="_blank">Warner Bros</a> have teamed up to bring you a fresh new promotion.</p>
<p>It&#8217;s an open casting call for all top Flash developers out there to submit your awesome game ideas for a chance to create an officially licensed game starring none other than Batman himself!</p>
<p><a target = "_blank" href="http://mochiland.com/articles/batman-the-brave-and-the-bold-game-casting-call"><img src="/images/bmbb_bluelogo.jpg" alt="" /></a></p>
<p>Out of all the submissions, Mochi will select their favorites. Those selected developers will then go on to create these games with, for the first time, official Batman assets provided by Warner Bros. and a chance to win one of many cash prizes!</p>
<p><strong>DEADLINE</strong></p>
<p>Game idea submissions for this promotion are to be submitted by 3/27/2009 11:59PM PST</p>
<p><strong>PRIZE BREAKDOWN</strong></p>
<p>Grand Prize &#8211; <strong>$9,000</strong> + Contract to create another game for <strong>$15,000</strong><br />
WB Choice Award &#8211; Four winners receiving <strong>$5,000</strong> each<br />
WB Appreciation Award &#8211; Five winners receiving <strong>$4,000</strong> each </p>
<p><strong>RULES</strong></p>
<p>Phase 1 (3/11/2009 &#8211; 3/27/2009)<br />
Submit a game idea that describes your idea for the perfect Batman: The Brave and the Bold game! The submission form asks for items like â€œgame descriptionâ€ and links to â€œgame mockupsâ€. The more comprehensive and detailed these pieces are, the better idea we will have on the game you plan on creating and can then judge accordingly.</p>
<p>Phase 2 (4/10/2009 &#8211; 7/2/2009)<br />
Finalists from the casting call are announced and invited to start development on their game! Official Batman assets passed out to finalists participating in the game creation!</p>
<p>Phase 3 (7/3/2009)<br />
Winners announced!</p>
<p><strong>MY CONSIDERATIONS</strong></p>
<p>Obviously, if just had to draw a game idea for a Batman game, it&#8217;s quite easy to talk about a GTA game where you roam around Gotham City hunting and chasing criminals.</p>
<p>Unfortunately you must be able to complete your game in about two months, so I think your project will be also evalued according to its chances to be completed in two months.</p>
<p>Moreover, you must provide mockups using the <a target = "_blank" href="http://braveandtheboldcastingcall.mochiads.com/batman_assets.html">assets</a> you can find at the <a href="http://braveandtheboldcastingcall.mochiads.com/" target = "_blank">official page</a>, so I think this will be a very interesting contest.</p>
<p>Read more at <a target = "_blank" href="http://mochiland.com/articles/batman-the-brave-and-the-bold-game-casting-call">MochiLand blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2009/03/14/win-9000-15000-with-batman-the-brave-and-the-bold-game-casting-call/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Win $16,000 with Flash Game Walk of Fame Contest!</title>
		<link>http://www.emanueleferonato.com/2008/11/19/win-16000-with-flash-game-walk-of-fame-contest/</link>
		<comments>http://www.emanueleferonato.com/2008/11/19/win-16000-with-flash-game-walk-of-fame-contest/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 15:00:21 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Monetize]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=660</guid>
		<description><![CDATA[Are you ready for a big Flash game development contest?
MochiAds and ArcadeTown are running the Flash Game Walk of Fame Contest with $16,000 in sponsorships to be distributed to top five entries in this way:
1st Place: $7,000
2nd Place: $4,000
3rd Place: $2,000
4th Place: $1,500
5th Place: $1,500

To be elegible for the contest, games have to incorporate the [...]]]></description>
			<content:encoded><![CDATA[<p>Are you ready for a big Flash game development contest?</p>
<p><a href="https://www.mochiads.com/r/972ae333a3c92a2a" target = "_blank">MochiAds</a> and <a href="http://www.arcadetown.com/" target = "_blank">ArcadeTown</a> are running the Flash Game Walk of Fame Contest with $16,000 in sponsorships to be distributed to top five entries in this way:</p>
<p>1st Place: $7,000<br />
2nd Place: $4,000<br />
3rd Place: $2,000<br />
4th Place: $1,500<br />
5th Place: $1,500</p>
<p><img src="/images/walkcontest.jpg" alt="" /></p>
<p>To be elegible for the contest, games have to incorporate the <a href="http://mochiland.com/articles/mochiads-version-control-encryption-services" target = "_blank">MochiAds Version Control and Encryption</a> service and run <a href="https://www.mochiads.com/r/972ae333a3c92a2a" target = "_blank">MochiAds</a>.</p>
<p>Unlike most contest, this one has no theme so you can unleash your creativity (or submit any of your games currently under development without changing a byte)  and you have to opt-in your game to enter the contest.</p>
<p>Deadline is midnight December 31, 2008 PST.</p>
<p>More information at the <a target = "_blank" href="http://www.mochiads.com/contest/nov08/enter">official page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2008/11/19/win-16000-with-flash-game-walk-of-fame-contest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The great Multiwinia give-away</title>
		<link>http://www.emanueleferonato.com/2008/09/29/the-great-multiwinia-give-away/</link>
		<comments>http://www.emanueleferonato.com/2008/09/29/the-great-multiwinia-give-away/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 09:52:22 +0000</pubDate>
		<dc:creator>Emanuele Feronato</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[Game design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=540</guid>
		<description><![CDATA[Sometimes Flash developers also work to game development on other platforms.
It&#8217;s the case of byronay that worked on Multiwinia, a multiplayer game that will make you challenge your opponent to a game of stick-man slaughter and witness devastating digital-war unfold.

Byron has decided to give away all 10 copies to random people and all you have [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes Flash developers also work to game development on other platforms.</p>
<p>It&#8217;s the case of <strong>byronay</strong> that worked on <strong><a href="http://www.introversion.co.uk/multiwinia/" target = "_blank">Multiwinia</a></strong>, a multiplayer game that will make you challenge your opponent to a game of stick-man slaughter and witness devastating digital-war unfold.</p>
<p><a href="http://www.introversion.co.uk/multiwinia/" target = "_blank"><img src="/images/multiwinia.jpg" alt="Multiwinia" /></a></p>
<p>Byron has decided to give away all 10 copies to random people and all you have to do to get one of those 10 copies is:</p>
<p>1 Download the demo copy of Multiwinia, from the <a href="http://www.introversion.co.uk/multiwinia/" target = "_blank">Multiwinia website</a></p>
<p>2 Play the demo and take a screenshot of the game over screen showing you winning the game. Change the gamer tag to show your name and you have to have won the game to qualify.</p>
<p>3 Send the screenshot of you winning the game to dev[at]xiotexstudios.com. Make sure you put â€˜The great Multiwinia give-awayâ€™ as the subject of the email.</p>
<p>Then Byron will choose the winners and post them <a href="http://www.xiotexstudios.com/" target = "_blank">his blog</a>, where you can also find more information about the give-away in the <a href="http://www.xiotexstudios.com/the-great-multiwinia-give-away/" target = "_blank">official page</a>.</p>
<p>At this time I wanted to know something more about RTS making and game developing on platforms different than Flash, and that&#8217;s the exclusive content Byron is sharing on this blog.</p>
<p><strong>Byron&#8217;s opinions</strong></p>
<p>Multiwinia was the first RTS game I have worked on. Previous games were games like Mutant Storm Empire for XBox 360 Live Arcade and NHL for XBox so Multiwinia was a fresh change. The biggest challenge was the sheer amount of activity going on in a single game and making sure that all 4 players saw the same thing. We did that by using a predictive physics system that when it worked well was a dream but when it went wrong was a nightmare to debug. The network protocol devised for this game is very light-weight and sends very little information between the clients and the server and yet we are able to have over 2000 units all having battles on screen. I must admit from a game point of view it is the game I am most proud to have worked on.</p>
<p>One of the biggest issues we had however was on the control mechanism &#8211; everybody has their own view on how an RTS game should be played and this caused a lot of issues with our beta testers and the magazines that were reviewing the game. In the end Chris Delay locked himself in a room for a week and came out with the current control methods we have and I think it works well.</p>
<p>Cheers,</p>
<p>Byron.</p>
<p><strong>Let&#8217;s win the copy!</strong></p>
<p>At the time I am writing, only 2 people won the free copy, so there are 8 more waiting for us.</p>
<p>What are you waiting for?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.emanueleferonato.com/2008/09/29/the-great-multiwinia-give-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
