# My enemy creation problems

**URL:** <https://forum.kirupa.com/t/my-enemy-creation-problems/218673>\
**Category:** programming\
**Created:** [March 9, 2007, 4:03pm UTC](https://forum.kirupa.com/t/my-enemy-creation-problems/218673 "2007-03-09T16:03:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeldafreak](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@zeldafreak](https://forum.kirupa.com/u/zeldafreak)\
**Post date:** [March 9, 2007, 4:03pm UTC](https://forum.kirupa.com/t/my-enemy-creation-problems/218673/1 "2007-03-09T16:03:55Z")

</div>

Hey guys, still working on my platformer here, but now I have a different problem. Enemy creation, how can I call this only once, so I do not create thousands of enemies. I know the enemy creation function works, I just need to know how to call it only once. Thanks
