<?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: Corona Game Example: OOP, Scope, and Box2D Collisions &#8211; Part 1	</title>
	<atom:link href="https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Sun, 14 Aug 2011 11:40:50 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Elliot		</title>
		<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242697</link>

		<dc:creator><![CDATA[Elliot]]></dc:creator>
		<pubDate>Sun, 14 Aug 2011 11:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=2733#comment-242697</guid>

					<description><![CDATA[+1 for &lt;a href=&quot;http://rauberlabs.blogspot.com/2011/05/loader-class.html&quot; rel=&quot;nofollow&quot;&gt;Ricardo Rauberâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />s loader class&lt;/a&gt;. It really does make the transition from AS3 to lua/corona a breeze. 

There is not much documentation, but the example he provides has pretty much everything you need in it. To be honest, its so simple, not much is really required in the way of an API etc...

Elliot.]]></description>
			<content:encoded><![CDATA[<p>+1 for <a href="http://rauberlabs.blogspot.com/2011/05/loader-class.html" rel="nofollow">Ricardo Rauberâ€™s loader class</a>. It really does make the transition from AS3 to lua/corona a breeze. </p>
<p>There is not much documentation, but the example he provides has pretty much everything you need in it. To be honest, its so simple, not much is really required in the way of an API etc&#8230;</p>
<p>Elliot.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: producerism		</title>
		<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242599</link>

		<dc:creator><![CDATA[producerism]]></dc:creator>
		<pubDate>Thu, 21 Jul 2011 13:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=2733#comment-242599</guid>

					<description><![CDATA[Excited to see another Corona/Lua post - there aren&#039;t enough out there yet!  I agree with you that one of the best reasons to try Corona out is simply because it&#039;s fun.  If you already know AS3, or game programming in general, it&#039;s only a matter of minutes/hours to crank out a game.]]></description>
			<content:encoded><![CDATA[<p>Excited to see another Corona/Lua post &#8211; there aren&#8217;t enough out there yet!  I agree with you that one of the best reasons to try Corona out is simply because it&#8217;s fun.  If you already know AS3, or game programming in general, it&#8217;s only a matter of minutes/hours to crank out a game.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ted		</title>
		<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242559</link>

		<dc:creator><![CDATA[Ted]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 13:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=2733#comment-242559</guid>

					<description><![CDATA[It may be that Lua usage is just too varied to have a one size fits all OO approach and Corona is too new to have even reached the stage where it gets to the level of a couple of well argued positions with advocates etc to choose from. In Flash it didn&#039;t really start til Flash 5 as I recall with ACK/Flem and the arguments that kicked off which took on steam in FlashMX.  So it may just take time to develop.]]></description>
			<content:encoded><![CDATA[<p>It may be that Lua usage is just too varied to have a one size fits all OO approach and Corona is too new to have even reached the stage where it gets to the level of a couple of well argued positions with advocates etc to choose from. In Flash it didn&#8217;t really start til Flash 5 as I recall with ACK/Flem and the arguments that kicked off which took on steam in FlashMX.  So it may just take time to develop.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jon Howard		</title>
		<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242556</link>

		<dc:creator><![CDATA[Jon Howard]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 05:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=2733#comment-242556</guid>

					<description><![CDATA[Finding out how to do proper OOP was the biggest issue for me when I started using Lua / Corona - I wrote an forum article on my initial experiments (http://developer.anscamobile.com/forum/2011/04/21/ways-implement-oop-lua) which pretty much mirror your last attempt.

I did consider &quot;middle class&quot; however I eventually stumbled on Ricardo Rauber&#039;s loader class (http://rauberlabs.blogspot.com/2011/05/loader-class.html) which (IMHO) is a very clean and structured way to add OOP functionality and something I would heartily recommend.

Using Ricardo&#039;s loader the preferred way seems to be to &quot;promote&quot; the Corona displayObject to a fully fledged class, however you can (and I&#039;ve just done it on a current project) create an object instance out of any empty table.  It provides a nice clean way to encapsulate all your data, provide class and instance variables, private and public data and functions - basically everything you need.

Jon...

Ps. Nice tip about the categories with Box2D - I&#039;ll look into using that in the future!]]></description>
			<content:encoded><![CDATA[<p>Finding out how to do proper OOP was the biggest issue for me when I started using Lua / Corona &#8211; I wrote an forum article on my initial experiments (<a href="http://developer.anscamobile.com/forum/2011/04/21/ways-implement-oop-lua" rel="nofollow ugc">http://developer.anscamobile.com/forum/2011/04/21/ways-implement-oop-lua</a>) which pretty much mirror your last attempt.</p>
<p>I did consider &#8220;middle class&#8221; however I eventually stumbled on Ricardo Rauber&#8217;s loader class (<a href="http://rauberlabs.blogspot.com/2011/05/loader-class.html" rel="nofollow ugc">http://rauberlabs.blogspot.com/2011/05/loader-class.html</a>) which (IMHO) is a very clean and structured way to add OOP functionality and something I would heartily recommend.</p>
<p>Using Ricardo&#8217;s loader the preferred way seems to be to &#8220;promote&#8221; the Corona displayObject to a fully fledged class, however you can (and I&#8217;ve just done it on a current project) create an object instance out of any empty table.  It provides a nice clean way to encapsulate all your data, provide class and instance variables, private and public data and functions &#8211; basically everything you need.</p>
<p>Jon&#8230;</p>
<p>Ps. Nice tip about the categories with Box2D &#8211; I&#8217;ll look into using that in the future!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242555</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 20:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=2733#comment-242555</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242553&quot;&gt;Jeremiah Nunn&lt;/a&gt;.

See what I mean? You offer an intelligent point, humbly, and don&#039;t make the claim it&#039;s right for everyone. *sigh* To be fair, ActionScript was only used for Flash.

Lua, however, is used in games, for game tooling like Unreal, Neverwinter Nights, World of Warcraft extensions, and robotics. So, I&#039;m sure it&#039;d be hard to have an implementation that would work across those vastly different demographics.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://jessewarden.com/2011/07/corona-game-example-oop-scope-box2d-collisions-part-1.html/comment-page-1#comment-242553">Jeremiah Nunn</a>.</p>
<p>See what I mean? You offer an intelligent point, humbly, and don&#8217;t make the claim it&#8217;s right for everyone. *sigh* To be fair, ActionScript was only used for Flash.</p>
<p>Lua, however, is used in games, for game tooling like Unreal, Neverwinter Nights, World of Warcraft extensions, and robotics. So, I&#8217;m sure it&#8217;d be hard to have an implementation that would work across those vastly different demographics.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
