Jump to content

Search the Community

Showing results for tags 'event kill'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi , i am a newbie in using PhaserIO and i am looking for a way to catch the kill event. Use Case: Spawning new objects when mininimum is reached. The objects die when lifespan is over and i do not get Info about that. How can i do this? // Create a star inside of the 'stars' group var star = stars.create(50 + i * distance, 0, 'star'); nStarsAlive++; // Let gravity do its thing star.body.gravity.y = 300; star.nStarsAlive star.lifespan = 20000; // 10 Sekunden
×
×
  • Create New...