MrYankes Posted April 19, 2014 Share Posted April 19, 2014 I've got two issues with my game concerning CocoonJS (I've already checked "common problems with CocoonJS"): 1. I've migrated my application from Phaser version 1.1.3 to 2.0.3 successfully, works great on desktop and in WebViews. Problem is that when I'm packing the app using CocoonJS only result I receive is a black screen, but... touch events and game in general seem to be running, but not rendering (checked with console logs).2. When I pack my 1.1.3 version of the game it works, renders, but.. Phaser.Button are rendered as small black rectangles on the left of the screen. Did anyone encounter these issues and found a way to solve them? Link to comment Share on other sites More sharing options...
Videlais Posted April 20, 2014 Share Posted April 20, 2014 If you have already checked the common issues thread, you probably already know that there is an image rendering problem. That is what your (1) reads as -- it's probably the image issue. If you are getting black rectangles, it is most likely that the images are either not loading or not rendering correctly. If you are using WebGL with Phaser in CocoonJS, there are a number of known issues with images not appearing correctly that still have not been fixed. If you are running in Canvas mode, it might be the same. Check under the MemoryLog in CocoonJS to see if, in WebGl mode, the images are not being loaded correctly. Link to comment Share on other sites More sharing options...
MrYankes Posted April 20, 2014 Author Share Posted April 20, 2014 Thank you my good man, I indeed missed information in the brackets concerning the first issue. Back to work then Link to comment Share on other sites More sharing options...
Recommended Posts