ken_blanco31 Posted January 9, 2015 Share Posted January 9, 2015 Hi there. I have been doing a game about a ball maze using the accelerometer from an android phone as the main inputand navigating through maze walls. It works great in desktop web browser but in mobile after I port it using cordova causes physics glitch so serious that the game is almost unplayable and it lags. The codes are written in 1.1.6 phaser.min.js my problem is how to convert it to 2.2.2 phaser. I successfully did the scalemanager changes but there seems to be a problem in texture here's the error TypeError: this.texture is undefined phaser.min.js:3TypeError: a.texture is undefinedCan anyone help me convert the codes?I am truly lost here.Thanks a lot! Link to comment Share on other sites More sharing options...
ken_blanco31 Posted January 10, 2015 Author Share Posted January 10, 2015 here's my codehttps://github.com/kenblanco31/accelerometer-game Link to comment Share on other sites More sharing options...
cathelper Posted February 10, 2015 Share Posted February 10, 2015 The problem is the size of phaser.min.js . At the beggining i had the one with 322 kb. When i changed it to the one with 589 kb the error dissapeared. The second file is inside the tutorials folder. Link to comment Share on other sites More sharing options...
Recommended Posts