Jump to content

Weird triangles display error


sifon
 Share

Recommended Posts

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!

Screenshot_2016-01-18-17-56-07.png

Link to comment
Share on other sites

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

 Share

  • Recently Browsing   0 members

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