Jump to content

Can't set sprite size to 0. Is this working as intended?


Recommended Posts

I need to hide a child sprite until it's needed, both to avoid collisions with other sprites and to not be seen on screen. 

If use this.scale.setTo(0,0); I get odd effects (e.g sprite seems to all over the screen, and breaks other's sprite movement).

I can work around this with this.scale.setTo(0.1,0.1); so it's no problem at all. I was just wondering if is this supposed to work as intended

Link to comment
Share on other sites


  • Recently Browsing   0 members

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