Jump to content

OutOfBoundsKill doesn't work


Recommended Posts

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

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


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,


Link to comment
Share on other sites


  • Recently Browsing   0 members

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