Multi-Resolution Game Development With GameBuilder Studio Check it out!
NEW Version 0.9.7 has arrived! New Blazing Fast Particle Engine & More Game Actions. Check it out
Destroying a spawned object
  • Is there a way to delete a spawned object after it reaches a certain position?

    For example I have rain falling when the rain passes the height of the screen I want to destroy the rain spawn so that way i can free up memory. This doesn't seem to happen in GBs current state or I'm doing it wrong. I'm pretty sure I'm doing it wrong.

    Thank you
  • 1 Comment sorted by
  • @Carlton yes just put a component on the entity that is being spawned to check if it is beyond the screen height and fire the Destroy action

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion