Jump to content

What is the diffenrence between alive, exists, visible and renderable


dianxiangan32
 Share

Recommended Posts

I don't think that really answered his question.

 

alive is simply an extra member they added for you to use in your game play, it doesn't affect anything, rendering or otherwise.

 

exists actually removes the physics body if it has one, and sets it's visible flag to false

 

renderable and visible can be explained here: http://www.html5gamedevs.com/topic/3594-renderable-property/

 

it doesn't show up in the phaser docs because it's part of pixi.js -- which I guess is for rendering and is what phaser uses (I really don't know much about pixi.js but you can look for it online)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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