Jump to content

generateTexture() is not rendering some objects on screen


omarojo
 Share

Recommended Posts

Im doing 

this.thegame.world.generateTexture(1,this.thegame.renderer);

And I get a pixel perfect texture, the only issue is that some elements are not rendered in that texture.

I have no idea why. 

 

My code https://github.com/omarojo/Phaser-Test6

 

WarpGroup.js line 197

the problem is.. Im adding ThreadGroups (Thread.js) into that WarpGroup, and they get added properly and animated and everything. Is just that the generateTexture is not rendering them. just those ThreadGroup instances. everything else is fine.
WarpGroup.js line 147 and 162 is where I add those objects  (the ones that are not rendering in the generateTexture)
 
 
This is so bizarre...

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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