Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 1 Support › How to count pooled out entities?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7584



    I want to show game result as soon as last entity gets removed from the scene. What is the best way to get event when the scene is clean from entities?




    Felgo Team

    Hi vladest,

    are all those entities from the same type and are they created at runtime with the EntityManager? Then you could call

    entityManager.getEntityArrayByType( entityType)

    every time an entity gets removed, it will return an empty array if there are no more entities of this type.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.