<?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: More Quick Start</title>
	<atom:link href="http://triangularpixels.net/games/tools/rebirth/quickstart2/feed/" rel="self" type="application/rss+xml" />
	<link>http://triangularpixels.net/games</link>
	<description>Blue Sky Games</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:27:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Casimir</title>
		<link>http://triangularpixels.net/games/tools/rebirth/quickstart2/comment-page-1/#comment-43458</link>
		<dc:creator>Casimir</dc:creator>
		<pubDate>Thu, 08 Dec 2011 12:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://triangularpixels.net/games/tools/rebirth/quickstart2/#comment-43458</guid>
		<description>Hello !

I&#039;m experimenting with Rebirth, but I have a problem :

The application will not close by itself after my test is finished and it will use 100% of cpu time until force killed.

I see there&#039;s no destroy() method in the ResourcePool class, contrary to what&#039;s specified in the quick start, so I can&#039;t use it. Has it moved to some other class ?</description>
		<content:encoded><![CDATA[<p>Hello !</p>
<p>I&#8217;m experimenting with Rebirth, but I have a problem :</p>
<p>The application will not close by itself after my test is finished and it will use 100% of cpu time until force killed.</p>
<p>I see there&#8217;s no destroy() method in the ResourcePool class, contrary to what&#8217;s specified in the quick start, so I can&#8217;t use it. Has it moved to some other class ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steel Plume</title>
		<link>http://triangularpixels.net/games/tools/rebirth/quickstart2/comment-page-1/#comment-27496</link>
		<dc:creator>Steel Plume</dc:creator>
		<pubDate>Sat, 24 Jul 2010 03:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://triangularpixels.net/games/tools/rebirth/quickstart2/#comment-27496</guid>
		<description>Excellent! decoder is just what I need to support multiple OpenGL engines like JMonkey/Ardor3D/Xilith3D/Java3d.

P.S.
What xml attributes, like &quot;parent&quot;, are reserved for your fw?</description>
		<content:encoded><![CDATA[<p>Excellent! decoder is just what I need to support multiple OpenGL engines like JMonkey/Ardor3D/Xilith3D/Java3d.</p>
<p>P.S.<br />
What xml attributes, like &#8220;parent&#8221;, are reserved for your fw?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Sparks</title>
		<link>http://triangularpixels.net/games/tools/rebirth/quickstart2/comment-page-1/#comment-4537</link>
		<dc:creator>Tony Sparks</dc:creator>
		<pubDate>Fri, 31 Jul 2009 19:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://triangularpixels.net/games/tools/rebirth/quickstart2/#comment-4537</guid>
		<description>You must be using some sort of XML API under the hood, which should allow for counting nodes.  Although like you had mentioned these nodes could link to other files, in which case they can be treated as one unit of work (granted a large unit of work).

I haven&#039;t looked to deeply into the API, but something like this would be nice:

interface ProgressListener {
 void onLoaded(ProgressEvent e);
 // this could replace the polling of if (tankHandle.getState() == ResourceHandle.State.CREATED)
 void onCompleted(ProgressEvent e);
}

class ProgressEvent {
  ResourceHandle handle;
  long timeToLoadResource;
  String nextResourceToLoad;
  ...
}

ProgressListener listener = new MyProgressListener() {
 void onLoaded(ProgressEvent e) {
   MenuState m = stateManager.getCurrentState();
   m.updateStatus(&quot;Finished loading: &quot; + e.getHandle() );
   m.updateStatus(&quot;Loading: &quot; + e.getNextResourceName() );
 }

 void onCompleted(ProgressEvent e) {
   stateManager.changeState(InGameState.class);
 }
};
ResourcePool resources; = Resources.createPool(&quot;Data&quot;, Resources.DecoderGroup.CORE, true);
resources.backgroundParse(&quot;resources.xml&quot;, listener);</description>
		<content:encoded><![CDATA[<p>You must be using some sort of XML API under the hood, which should allow for counting nodes.  Although like you had mentioned these nodes could link to other files, in which case they can be treated as one unit of work (granted a large unit of work).</p>
<p>I haven&#8217;t looked to deeply into the API, but something like this would be nice:</p>
<p>interface ProgressListener {<br />
 void onLoaded(ProgressEvent e);<br />
 // this could replace the polling of if (tankHandle.getState() == ResourceHandle.State.CREATED)<br />
 void onCompleted(ProgressEvent e);<br />
}</p>
<p>class ProgressEvent {<br />
  ResourceHandle handle;<br />
  long timeToLoadResource;<br />
  String nextResourceToLoad;<br />
  &#8230;<br />
}</p>
<p>ProgressListener listener = new MyProgressListener() {<br />
 void onLoaded(ProgressEvent e) {<br />
   MenuState m = stateManager.getCurrentState();<br />
   m.updateStatus(&#8220;Finished loading: &#8221; + e.getHandle() );<br />
   m.updateStatus(&#8220;Loading: &#8221; + e.getNextResourceName() );<br />
 }</p>
<p> void onCompleted(ProgressEvent e) {<br />
   stateManager.changeState(InGameState.class);<br />
 }<br />
};<br />
ResourcePool resources; = Resources.createPool(&#8220;Data&#8221;, Resources.DecoderGroup.CORE, true);<br />
resources.backgroundParse(&#8220;resources.xml&#8221;, listener);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://triangularpixels.net/games/tools/rebirth/quickstart2/comment-page-1/#comment-4532</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Thu, 30 Jul 2009 16:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://triangularpixels.net/games/tools/rebirth/quickstart2/#comment-4532</guid>
		<description>That does sound like a good idea. Have you any particular ideas what kind of API you have in mind for that?

Figuring out a percentage could be tricky though, since there&#039;s no way of determining up-front exactly how much data there is to load (since resource files can include other resource files).</description>
		<content:encoded><![CDATA[<p>That does sound like a good idea. Have you any particular ideas what kind of API you have in mind for that?</p>
<p>Figuring out a percentage could be tricky though, since there&#8217;s no way of determining up-front exactly how much data there is to load (since resource files can include other resource files).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Sparks</title>
		<link>http://triangularpixels.net/games/tools/rebirth/quickstart2/comment-page-1/#comment-4530</link>
		<dc:creator>Tony Sparks</dc:creator>
		<pubDate>Thu, 30 Jul 2009 14:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://triangularpixels.net/games/tools/rebirth/quickstart2/#comment-4530</guid>
		<description>You should include a call back function to the ResourcePool.  This call back could determine the loading progress.</description>
		<content:encoded><![CDATA[<p>You should include a call back function to the ResourcePool.  This call back could determine the loading progress.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

