Ryuuke Posted January 16, 2014 Share Posted January 16, 2014 Hi,I notice there's a problem with the tile maps on cocoonjs, the map is black, someone has already tested? ps : Tested with phaser 1.1.3 and 1.1.4 Link to comment Share on other sites More sharing options...
Ryuuke Posted January 18, 2014 Author Share Posted January 18, 2014 Up ! Link to comment Share on other sites More sharing options...
jcs Posted January 18, 2014 Share Posted January 18, 2014 last time I ran under cocoonjs my tilemaps rendered fine (1.1.3)... Link to comment Share on other sites More sharing options...
Ryuuke Posted January 18, 2014 Author Share Posted January 18, 2014 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 More sharing options...
Ryuuke Posted January 19, 2014 Author Share Posted January 19, 2014 Its maybe the new version of cocoonJS, no one have this problem? Link to comment Share on other sites More sharing options...
agmcleod Posted January 26, 2014 Share Posted January 26, 2014 Not sure if it applies, but I know cocoonjs doesnt like XML very much. For MelonJS, we added the support for the tiled json export. Link to comment Share on other sites More sharing options...
Ryuuke Posted January 26, 2014 Author Share Posted January 26, 2014 Hi, Im using Json file generated by Tiled, it work anywhere except with cocoonjs, Unfortunately, seems like nobody cares Link to comment Share on other sites More sharing options...
CaueCR Posted January 29, 2014 Share Posted January 29, 2014 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 More sharing options...
Latimed Posted March 23, 2014 Share Posted March 23, 2014 I have a similar problem too, the Tilemap is invisible in both modes, CANVAS and WEBGL. i am using CocoonJS 1.4.7 and Phaser 1.1.4 Have anyone found a solution to this problem ? Link to comment Share on other sites More sharing options...
Recommended Posts