Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

OutOfBoundsKill doesn't work


Edravis
 Share

Recommended Posts

At first, It works perfectly. Then I change the world by 

game.world.setBounds(-500, -300, 1000, 600)

 and 

sprite.outOfBoundsKill = true 

doesn't work. Don't kill it. 

 

I tried to make the condition manually by:

if(sprite.inWorld === false) sprite.kill()

But in this case, never create any.

 

My version is v1.1.6 in the Chat IRC they told me to upgrade, I tried and the whole game breaks, I'm not able to migrate now because the calendar. Any idea? 

 

So much thank you,

R

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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