Well, i have hundreds of enemy waves in multiple categories (level 1, 2, special factions and so on) and every time i make new wave i have to make sure it's in the pool boss. With so many elements (waves are not the only thing in pool boss) the editor gets REALLY slow and it's sometimes quite hard to check through the list.
I have all of my waves that i make stored in a table, it holds the wave name, ships and their positions in the wave. When i start the level i just pull all the waves from the table into the array and then they are randomly picked for spawning, no need to fill the array by hand, i just iterate through the table. That serves as a reference only, of course, i need to have the prefabs in the Pool Boss to have them spawned of course.
I can use that table too to populate the Pool Boss automatically, without having the double work of filling the table and then putting the prefab in the Pool Boss too.
Well that's the extent of the support I'm able to provide right now on this issue. We did build features for this already. If Playmaker isn't going to fix this in a couple days, I'd suggest you consider using Mini.
I just was thinking about a Playmaker action like this the other day. I'm using entire levels and level sections as prefabs and pool them with PoolBoss. Would it make sense to use Pool Boss Mini to only load 10 levels, then when user finishes level 10 to load the next 10 etc? Like depending on the progress to load the corresponding levels into Pool Boss rather than loading the entire game at start?
Post by DarkTonic Dev on Mar 28, 2021 19:36:45 GMT
Well pooling a whole level may not gain you anything. You're not going to re-use that level are you? If there's no 2nd spawn of something, you're only avoiding the destroy command, until Pool Boss is destroyed anyway.
Well yes, I agree, with whole levels that are not re-used it doesn't make much sense. But with level sections that indeed are re-used it does. So for example if I introduce new obstacles from level 10 onward I wouldn't need them in the pool before. Or maybe the easy obstacles, I don't want them anymore once the player has played more than 10 levels... etc. So having the option to populate the pool at a given moment might make sense, no?