<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thanks for the feedback in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017210#M36655</link>
    <description>&lt;P&gt;Thanks for the feedback regarding the pixi templates. I'll let the respective owner of that component know.&lt;/P&gt;

&lt;P&gt;p.s. You can update those libraries yourself, inside your project. The templates are fairly simple, so they should not be heavily dependent on the version of the library.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 23:26:00 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-09-08T23:26:00Z</dc:date>
    <item>
      <title>Pixi JS Starter Project (OLD)</title>
      <link>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017209#M36654</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;HTML5 Dev here.&lt;/P&gt;

&lt;P&gt;First impressions of intel XDK are great, love the template HTML app projects and considering integrating the XDK into current dev workflow.&lt;/P&gt;

&lt;P&gt;Pixi JS Game template is old (v1.6), current stable release is (v3.0+). Any plans to update the template project?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ash&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 11:47:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017209#M36654</guid>
      <dc:creator>Ash_H_</dc:creator>
      <dc:date>2015-09-08T11:47:18Z</dc:date>
    </item>
    <item>
      <title>Thanks for the feedback</title>
      <link>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017210#M36655</link>
      <description>&lt;P&gt;Thanks for the feedback regarding the pixi templates. I'll let the respective owner of that component know.&lt;/P&gt;

&lt;P&gt;p.s. You can update those libraries yourself, inside your project. The templates are fairly simple, so they should not be heavily dependent on the version of the library.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 23:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017210#M36655</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-09-08T23:26:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Paul F. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017211#M36656</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Paul F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for the feedback regarding the pixi templates. I'll let the respective owner of that component know.&lt;/P&gt;

&lt;P&gt;p.s. You can update those libraries yourself, inside your project. The templates are fairly simple, so they should not be heavily dependent on the version of the library.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks Paul! Would be nice to keep the component up to date with PIXI's great new features so that the XDK is always looking fresh.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I already have done that :), although just for your info; the example code snippet would need to be changed a little, as the way that the renderer is instantiated has slightly changed as of v3.0 onwards.&lt;/P&gt;

&lt;P&gt;Adjusted slightly for the new version, the example should now look something like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var initApp = function()
{   
    var screenWidth = screen.availWidth;
    var screenHeight = screen.availHeight;

    var renderer = PIXI.autoDetectRenderer(screenWidth, screenHeight,{backgroundColor : 0x1099bb});
    document.body.appendChild(renderer.view);

    // create the root of the scene graph
    var stage = new PIXI.Container();

    // create a texture from an image path
    var texture = PIXI.Texture.fromImage('asset/bunny.png');

    // create a new Sprite using the texture
    var bunny = new PIXI.Sprite(texture);

    // center the sprite's anchor point
    bunny.anchor.x = 0.5;
    bunny.anchor.y = 0.5;

    // move the sprite to the center of the screen
    bunny.position.x = screenWidth / 2;
    bunny.position.y = screenHeight / 2;
    
    if(CC.isMobile)
    {
       stage.addChild(bunny);
    };

    

    // start animating    
    function animate() {
        requestAnimationFrame(animate);

        // just for fun, let's rotate mr rabbit a little
        bunny.rotation += 0.1;

        // render the container
        renderer.render(stage);
        }
    animate();
    
     console.log("application initialised");
};
/* jshint browser:true */
/* globals PIXI, requestAnimFrame */
(function() {

    document.addEventListener('DOMContentLoaded', initApp, false);

}());&lt;/PRE&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Ash&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 08:41:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017211#M36656</guid>
      <dc:creator>Ash_H_</dc:creator>
      <dc:date>2015-09-09T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Thanks Ash, I'll also forward</title>
      <link>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017212#M36657</link>
      <description>&lt;P&gt;Thanks Ash, I'll also forward that info to the developer in charge of that sample.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 17:00:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Pixi-JS-Starter-Project-OLD/m-p/1017212#M36657</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-09-09T17:00:47Z</dc:date>
    </item>
  </channel>
</rss>

