|
Post by pixelknight on Jul 24, 2016 12:47:27 GMT
Hi all,
I'm loving poolboss and coregamekit, it''s all working very well atm. I'm currently at a point where I need to create an endless (literally) wave, so that once a single enemy in that wave is destroyed, I create a new (stronger) one spawning at start point again. What's the best way to achieve this? Is it to handle the destruction of a killable then spawn another object in the pool immediatley or is there a way to do this without script that I'm missing?
Thanks in advance
|
|
|
Post by DarkTonic Dev on Jul 24, 2016 18:01:38 GMT
Yes you can do it by setting up "medium enemy" as the death prefab of "easy enemy" and "hard enemy" as the death prefab of "medium enemy" and so on. The problem is that they will currently spawn from the exact death position of the former instead of their "spawn position". I will add a checkbox to enable this in the next version.
|
|
|
Post by pixelknight on Jul 24, 2016 18:19:05 GMT
Thank you very much for your prompt reply, the checkbox to spawn at spawn point would be a great addition. For now then I'll just do it in script handling the death event of the prefab.
Many thanks
|
|
|
Post by DarkTonic Dev on Jul 24, 2016 18:43:28 GMT
Ok sounds good.
|
|