<?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: Flixel 2 Tutorial [Flash, Tutorials, Games]</title>
	<atom:link href="http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/</link>
	<description>Apps that Inspire..</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:55:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Amir</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-35016</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Tue, 10 Jan 2012 22:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-35016</guid>
		<description>Thank you very much for comment. Without you, I could not have succeeded.
Regards,
Amir</description>
		<content:encoded><![CDATA[<p>Thank you very much for comment. Without you, I could not have succeeded.<br />
Regards,<br />
Amir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xinkuzi</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-34810</link>
		<dc:creator>xinkuzi</dc:creator>
		<pubDate>Wed, 21 Sep 2011 19:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-34810</guid>
		<description>Awesome tutorial, thanks for sharing! Unfortunately I have been running into some errors. I solved the first few problems I had (noob problems) but now I&#039;m getting this when I try to &quot;test project&quot; in FlashDevelop, or run the compiled swf:

[Fault] exception, information=ArgumentError: Error #1063: Argument count mismatch on org.flixel::FlxGame(). Expected 3, got 0.

Any idea? Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome tutorial, thanks for sharing! Unfortunately I have been running into some errors. I solved the first few problems I had (noob problems) but now I&#8217;m getting this when I try to &#8220;test project&#8221; in FlashDevelop, or run the compiled swf:</p>
<p>[Fault] exception, information=ArgumentError: Error #1063: Argument count mismatch on org.flixel::FlxGame(). Expected 3, got 0.</p>
<p>Any idea? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pixelate</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-34745</link>
		<dc:creator>Pixelate</dc:creator>
		<pubDate>Thu, 25 Aug 2011 07:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-34745</guid>
		<description>@Chris, thanks for sharing your fixes for the tutorial!</description>
		<content:encoded><![CDATA[<p>@Chris, thanks for sharing your fixes for the tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-34743</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 24 Aug 2011 04:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-34743</guid>
		<description>Guess the particle image showed up as an attachment and not an avatar.</description>
		<content:encoded><![CDATA[<p>Guess the particle image showed up as an attachment and not an avatar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-34742</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 24 Aug 2011 04:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-34742</guid>
		<description>Thanks Andreas, this tutorial was great.  I learned a lot about Flixel by following it.
I did this last night using the version of Flixel you used.  I did it again tonight (23/08/2011) using the current Master version of Flixel, 2.55. Here&#039;s the changes I had to make to make it work with the newer version of Flixel.  I&#039;m hoping it&#039;ll help out anyone else that&#039;s using a newer version of Flixel:

First, using mxmlc as my compiler I was getting an error of &quot;VerifyError: Error #1014: Class mx.core::SpriteAsset could not be found.&quot; This has nothing to do with which version of Flixel is being used. It was fixed by adding the argument &quot;-static-link-runtime-shared-libraries=true&quot; when compiling.

changed &quot;bgColor&quot; to &quot;FlxG.bgColor&quot;
changed &quot;_ship.dead == false&quot; to &quot;_ship.alive&quot;
changed &quot;createGraphic&quot; to &quot;makeGraphic&quot;
changed &quot;_ship.dead&quot; to &quot;!_ship.alive&quot;
changed &quot;FlxG.quake.start&quot; to &quot;FlxG.shake&quot;
changed &quot;FlxU.overlap&quot; to &quot;FlxG.overlap&quot; I think &quot;FlxG.collision&quot; would work too.
changed &quot;FlxG.state = new PlayState();&quot; to FlxG.resetState();&quot;
changed &quot;emitter.delay&quot; to &quot;emitter.lifespan&quot;

I had what seemed to be an odd issue after those changes.  The particles were little Flex logos as opposed to the particles in your original example.  This may not be the best way to do this, but here&#039;s how I fixed it based off reading the docs for Flixel v2.55:

I removed the for Loop in createEmitter() in Playstate.as. (Starts as for (var i:int; i &lt; particles; i ++))
Then I added these two lines in Playstate.as&#039;s header by where you embed the sound files:
[code]
[Embed(source=&quot;../assets/png/particle.png&quot;)]
private var _imgParticle:Class;
[/code]

I added this line where the for loop used to be in createEmitter():
[code]
emitter.makeParticles(_imgParticle, 10);
[/code]

And I of course had to make the particle png, I just used KolourPaint to make a 4px X 4px png filled with 0x597137 and named it particle.png in my assets/png folder.  To save anyone else the trouble if this is indeed the correct way to do this with Flixel now the image of the particle should show up as my avatar for this comment.

Again, thanks for the great tutorial Andreas.  Prior to this I had been banging my head against the wall trying to learn how to make a game in AS3.  But this has shown me just how easy and great Flixel is so I&#039;m going to play around with Flixel while I&#039;m learning more of the complex issues with making a game from scratch.
-Chris


</description>
		<content:encoded><![CDATA[<p>Thanks Andreas, this tutorial was great.  I learned a lot about Flixel by following it.<br />
I did this last night using the version of Flixel you used.  I did it again tonight (23/08/2011) using the current Master version of Flixel, 2.55. Here&#8217;s the changes I had to make to make it work with the newer version of Flixel.  I&#8217;m hoping it&#8217;ll help out anyone else that&#8217;s using a newer version of Flixel:</p>
<p>First, using mxmlc as my compiler I was getting an error of &#8220;VerifyError: Error #1014: Class mx.core::SpriteAsset could not be found.&#8221; This has nothing to do with which version of Flixel is being used. It was fixed by adding the argument &#8220;-static-link-runtime-shared-libraries=true&#8221; when compiling.</p>
<p>changed &#8220;bgColor&#8221; to &#8220;FlxG.bgColor&#8221;<br />
changed &#8220;_ship.dead == false&#8221; to &#8220;_ship.alive&#8221;<br />
changed &#8220;createGraphic&#8221; to &#8220;makeGraphic&#8221;<br />
changed &#8220;_ship.dead&#8221; to &#8220;!_ship.alive&#8221;<br />
changed &#8220;FlxG.quake.start&#8221; to &#8220;FlxG.shake&#8221;<br />
changed &#8220;FlxU.overlap&#8221; to &#8220;FlxG.overlap&#8221; I think &#8220;FlxG.collision&#8221; would work too.<br />
changed &#8220;FlxG.state = new PlayState();&#8221; to FlxG.resetState();&#8221;<br />
changed &#8220;emitter.delay&#8221; to &#8220;emitter.lifespan&#8221;</p>
<p>I had what seemed to be an odd issue after those changes.  The particles were little Flex logos as opposed to the particles in your original example.  This may not be the best way to do this, but here&#8217;s how I fixed it based off reading the docs for Flixel v2.55:</p>
<p>I removed the for Loop in createEmitter() in Playstate.as. (Starts as for (var i:int; i &lt; particles; i ++))<br />
Then I added these two lines in Playstate.as&#039;s header by where you embed the sound files:<br />
[code]<br />
[Embed(source=&quot;../assets/png/particle.png&quot;)]<br />
private var _imgParticle:Class;<br />
[/code]</p>
<p>I added this line where the for loop used to be in createEmitter():<br />
[code]<br />
emitter.makeParticles(_imgParticle, 10);<br />
[/code]</p>
<p>And I of course had to make the particle png, I just used KolourPaint to make a 4px X 4px png filled with 0&#215;597137 and named it particle.png in my assets/png folder.  To save anyone else the trouble if this is indeed the correct way to do this with Flixel now the image of the particle should show up as my avatar for this comment.</p>
<p>Again, thanks for the great tutorial Andreas.  Prior to this I had been banging my head against the wall trying to learn how to make a game in AS3.  But this has shown me just how easy and great Flixel is so I&#039;m going to play around with Flixel while I&#039;m learning more of the complex issues with making a game from scratch.<br />
-Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: confused</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-34067</link>
		<dc:creator>confused</dc:creator>
		<pubDate>Fri, 15 Jul 2011 07:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-34067</guid>
		<description>Now if only there was a way for me to find out what all of this meant. I guess I&#039;ll go do some beginner tutorials and try again.</description>
		<content:encoded><![CDATA[<p>Now if only there was a way for me to find out what all of this meant. I guess I&#8217;ll go do some beginner tutorials and try again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barrow</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-33152</link>
		<dc:creator>Barrow</dc:creator>
		<pubDate>Tue, 21 Jun 2011 18:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-33152</guid>
		<description>Thanks dewey, was having a hard time trying to figure out the &quot;dead&quot; and &quot;state&quot; thing myself.

As for quake, I&#039;m not sure what it used to do, but it looks like the new syntax is &quot;FlxG.shake(.02);&quot;</description>
		<content:encoded><![CDATA[<p>Thanks dewey, was having a hard time trying to figure out the &#8220;dead&#8221; and &#8220;state&#8221; thing myself.</p>
<p>As for quake, I&#8217;m not sure what it used to do, but it looks like the new syntax is &#8220;FlxG.shake(.02);&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-33148</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 21 Jun 2011 12:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-33148</guid>
		<description>&quot;- FlxG.quake doesn&#039;t seem to exist any more... do you know what the newest function for quaking is?&quot;

FlxG.shake seems to be it.</description>
		<content:encoded><![CDATA[<p>&#8220;- FlxG.quake doesn&#8217;t seem to exist any more&#8230; do you know what the newest function for quaking is?&#8221;</p>
<p>FlxG.shake seems to be it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dewey</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-32944</link>
		<dc:creator>dewey</dc:creator>
		<pubDate>Tue, 14 Jun 2011 12:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-32944</guid>
		<description>Appreciate the response! A couple other small things:

I&#039;m using the latest Flixel &quot;master&quot; build:

- player.dead appears to now be !player.alive
- FlxU.state doesn&#039;t really work as it is now read-only... I have FlxG.resetState in there at the moment, but have no idea whether or not that&#039;s correct.
- FlxG.quake doesn&#039;t seem to exist any more... do you know what the newest function for quaking is?

Thanks!

--d</description>
		<content:encoded><![CDATA[<p>Appreciate the response! A couple other small things:</p>
<p>I&#8217;m using the latest Flixel &#8220;master&#8221; build:</p>
<p>- player.dead appears to now be !player.alive<br />
- FlxU.state doesn&#8217;t really work as it is now read-only&#8230; I have FlxG.resetState in there at the moment, but have no idea whether or not that&#8217;s correct.<br />
- FlxG.quake doesn&#8217;t seem to exist any more&#8230; do you know what the newest function for quaking is?</p>
<p>Thanks!</p>
<p>&#8211;d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dewey</title>
		<link>http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/comment-page-2/#comment-32945</link>
		<dc:creator>dewey</dc:creator>
		<pubDate>Tue, 14 Jun 2011 12:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.creativeapplications.net/?p=8533#comment-32945</guid>
		<description>Appreciate the response! A couple other small things:

I&#039;m using the latest Flixel &quot;master&quot; build:

- player.dead appears to now be !player.alive
- FlxU.state doesn&#039;t really work as it is now read-only... I have FlxG.resetState in there at the moment, but have no idea whether or not that&#039;s correct.
- FlxG.quake doesn&#039;t seem to exist any more... do you know what the newest function for quaking is?

Thanks!

--d</description>
		<content:encoded><![CDATA[<p>Appreciate the response! A couple other small things:</p>
<p>I&#8217;m using the latest Flixel &#8220;master&#8221; build:</p>
<p>- player.dead appears to now be !player.alive<br />
- FlxU.state doesn&#8217;t really work as it is now read-only&#8230; I have FlxG.resetState in there at the moment, but have no idea whether or not that&#8217;s correct.<br />
- FlxG.quake doesn&#8217;t seem to exist any more&#8230; do you know what the newest function for quaking is?</p>
<p>Thanks!</p>
<p>&#8211;d</p>
]]></content:encoded>
	</item>
</channel>
</rss>

