Jump to content

Troubles porting Phaser game with NativeScript


TheLox95
 Share

Recommended Posts

Hello. I'm trying to port for Android a game I made with Phaser , I'm using NativeScript but I have some issues. 

chromium: [INFO:CONSOLE(11)] "%c %c %c Phaser CE v2.7.5 | Pixi.js | Canvas | WebAudio  %c %c %c http://phaser.io %c♥%c♥%c♥", source: file:///data/data/org.nativescript.blackHoleGamePort/files/app/blackHoleGame/lib/phaser.min.js (11)
chromium: [INFO:CONSOLE(21)] "Phaser.Loader - json[textProperties]: error loading asset from URL http://localhost/blackHoleGame/src/assets/textProperties.json?1494444486513", source: file:///data/data/org.nativescript.blackHoleGamePort/files/app/blackHoleGame/lib/phaser.min.js (21)
chromium: [INFO:CONSOLE(21)] "Phaser.Loader - image[hole]: error loading asset from URL http://localhost/blackHoleGame/src/assets/hole.png", source: file:///data/data/org.nativescript.blackHoleGamePort/files/app/blackHoleGame/lib/phaser.min.js (21)
chromium: [INFO:CONSOLE(16)] "Uncaught TypeError: undefined is not a function", source: file:///data/data/org.nativescript.blackHoleGamePort/files/app/blackHoleGame/lib/phaser.min.js (16)

Trying to fix this I commented both the JSON file and png image but cannot get rid of the last error. I comment this because is the original problem. I quite new on this so I'm looking for help

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...