Jump to content

Ludei CocoonJS and Phaser tilemap


Ryuuke
 Share

Recommended Posts

Not working for me on CocoonJS, but working fine On webView & apache cordova.

 

this is the code : 

        this.Map = this.game.add.tilemap(argRule.Map.MapName);        this.Map.addTilesetImage(argRule.Map.TileSetName, argRule.Map.TileImageName);        var firstLayer = this.Map.createLayer("background");        firstLayer.resizeWorld();        var secondLayer = this.Map.createLayer("bg-house");        secondLayer.resizeWorld();        var thirdLayer = this.Map.createLayer("tiles");        thirdLayer.resizeWorld();
Link to comment
Share on other sites

I'm having similar problems with CocoonJS, and nobody gave me a solution as well, but there IS something wrong with that update. After 1.4.6, even my old ImpactJS games, in which I used Cocoon, does not work with it anymore. Maybe they have changed the way you should create the .zip file?

 

In my case, nothing that uses cocoonJS works. The app starts, black screen, freezes, android send me back to home. That happened even with the compiled launcher and the Play Store's launcher.

I'm trying to find a solution in their support page. Let's see what they have to say.

Link to comment
Share on other sites

  • 1 month later...
 Share

  • Recently Browsing   0 members

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