• Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    scofieldly reacted to Alamantus in can I stop sprite update when it been killed   
    If the same bullet is not going to be re-used again later, it should be removed from the game using destroy() instead of kill(). This will remove the bullet from the game, which would definitely stop the updating.
    To answer your question directly, though, in your update function, you can check the bullet's sprite for its alive property before running its update. All kill() does is set a few booleans to false so the sprite will stop displaying, not remove anything: Sprite.kill() docs