<?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 Update Phaser version in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028232#M40987</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I was wondering how you upgrade Phaser (and other frameworks) version in XDK.&lt;/P&gt;

&lt;P&gt;Since XDK includes all sources when creating a new project, how do you make XDK create new Phaser projects with a newer version ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2015 13:40:13 GMT</pubDate>
    <dc:creator>Emanuele_S_</dc:creator>
    <dc:date>2015-04-16T13:40:13Z</dc:date>
    <item>
      <title>Update Phaser version</title>
      <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028232#M40987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I was wondering how you upgrade Phaser (and other frameworks) version in XDK.&lt;/P&gt;

&lt;P&gt;Since XDK includes all sources when creating a new project, how do you make XDK create new Phaser projects with a newer version ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2015 13:40:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028232#M40987</guid>
      <dc:creator>Emanuele_S_</dc:creator>
      <dc:date>2015-04-16T13:40:13Z</dc:date>
    </item>
    <item>
      <title>Currently, Intel XDK "Game"</title>
      <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028233#M40988</link>
      <description>&lt;P&gt;Currently, Intel XDK "Game" samples and templates are set to only the provided version included with the project, but you can update the necessary files as you would like.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:45:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028233#M40988</guid>
      <dc:creator>Elroy_A_Intel</dc:creator>
      <dc:date>2015-04-16T18:45:30Z</dc:date>
    </item>
    <item>
      <title>Hi there,</title>
      <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028234#M40989</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;could I simply replace the file phaser.js with the new version?&lt;/P&gt;

&lt;P&gt;I tried this but my project stopped running.&lt;/P&gt;

&lt;P&gt;Could you give me more specific instructions?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Elvis&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 22:07:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028234#M40989</guid>
      <dc:creator>ELVIS_T_1</dc:creator>
      <dc:date>2016-07-06T22:07:00Z</dc:date>
    </item>
    <item>
      <title>This post might help &gt; https:</title>
      <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028235#M40990</link>
      <description>&lt;P&gt;This post might help &amp;gt; &lt;A href="https://software.intel.com/en-us/forums/intel-xdk/topic/629285#comment-1871814" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-xdk/topic/629285#comment-1871814&lt;/A&gt; &amp;lt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 23:17:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028235#M40990</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-07-06T23:17:14Z</dc:date>
    </item>
    <item>
      <title>Thank you Paul,</title>
      <link>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028236#M40991</link>
      <description>&lt;P&gt;Thank you Paul,&lt;/P&gt;

&lt;P&gt;I tried the workaround presented in that post:&lt;/P&gt;

&lt;P&gt;//initiate the Phaser framework&lt;BR /&gt;
	var game = new Phaser.Game(800, 600, Phaser.AUTO, 'divgame');&lt;/P&gt;

&lt;P&gt;game.state.add('GameState', GameState);&lt;BR /&gt;
	game.state.start('GameState');&lt;/P&gt;

&lt;P&gt;//--BEGIN-- WORKAROUND&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; function onPause() {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(!game.paused) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; game.gamePaused();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; function onResume() {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setTimeout(function() {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(game.paused) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; game.gameResumed();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, 0);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; document.addEventListener('pause', onPause, false);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; document.addEventListener('resume', onResume, false);&lt;BR /&gt;
	//--END-- &amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My main.js file has the same structure of the "phaser+ cordova pet tutorial". I'm working with that files of the tutorial.&lt;/P&gt;

&lt;P&gt;If I change from Phaser 2.1.2 to 2.5 it stops rendering the game.&lt;/P&gt;

&lt;P&gt;If you have a different approach, please let me know.&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;

&lt;P&gt;Elvis&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 02:30:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Update-Phaser-version/m-p/1028236#M40991</guid>
      <dc:creator>ELVIS_T_1</dc:creator>
      <dc:date>2016-07-12T02:30:04Z</dc:date>
    </item>
  </channel>
</rss>

