sifon Posted January 18, 2016 Share Posted January 18, 2016 Hello all, I have a game that is built with Phaser and converted to Android apk using Cordova. When I play to the game first time is ok, but when I finish, killing all and reload, something weird is happening with the display, does anybody knows why? any experience with something similar to this? (I'm attaching an image of the weird triangles). Thanks a lot! Link to comment Share on other sites More sharing options...
sifon Posted January 19, 2016 Author Share Posted January 19, 2016 I'm investigating this issue and I have more information: - Is not happening in the same game running in the browser, only in the mobile device. - Is related with the Phaser graphics class I use to draw circles, if I remove the part of the code that draws the circles the problem is not happening. I'm using the same code as here in the example to draw a circle progress: http://phaser.io/examples/v2/display/arc-details First time works, but second time after I kill the graphics and the game with this code: arc.destroy(); arc = undefined; game.destroy(); game = undefined; The weird thing is happening, I don't know why! Link to comment Share on other sites More sharing options...
Recommended Posts