|
Post by Joshua on Aug 25, 2021 19:12:01 GMT
Hello I was wondering if you could help me with the setting on the spawn control. I want to spawn a limited number of enemies in my game, which I have successfully accomplished, however, I am lost as to how to tweak the variables for when the next enemy appears in the game. I was to have a couple of minutes to potentially spawn another. Thanks in advance for reading this, and if I receive help that would be even better!!
|
|
|
Post by DarkTonic Dev on Aug 25, 2021 23:39:18 GMT
Sounds like you want a repeated wave? Spawners support that. You will need to provide more detail as to what you're trying to do.
|
|
|
Post by graveyardjokes on Aug 26, 2021 2:44:32 GMT
Well, what I have is three rooms in a Metroidvania platformer. In the three rooms, I have 5 spawners that spawn enemies with a limit of 1 enemy per spawner. I now want to control the time I have that the spawner will take to create another enemy. The idea that I have right now is that I have enemy waves that a player, or multiple players, will have to defend and protect crystals that exist in each room. That is 1 crystal per room. This is for a personal "Game-Jam" I'm having for myself!! haha. I've fooled around with unity, and photoshop and various programs to put together small projects. Who knows what it will actually turn into. But for an example of what I'm trying to accomplish is something similar to Hollow Knight's collosium room. except the player will be defending crystals during the waves.
|
|
|
Post by DarkTonic Dev on Aug 26, 2021 3:03:22 GMT
Just do a timed wave and set it to repeat.
You can also do an elimination wave with a delay before repeating.
If you could let me know what you tried and where it fell short exactly, I should be able to help more.
|
|
|
Post by graveyardjokes on Aug 26, 2021 4:25:02 GMT
Okay, sounds good!! I was just providing more detail you didn’t miss anything. I’ll look into repeated timer and the delay options.
|
|
|
Post by graveyardjokes on Aug 26, 2021 15:32:55 GMT
Where can I find the settings to delay the repeated spawn? is it under the Repeat Wave setting on a spawner?
|
|
|
Post by DarkTonic Dev on Aug 26, 2021 18:06:49 GMT
Yes, Repeat Wave section has Repeat Pause Min / Repeat Pause Max. It will pause a random amount of time between those 2 values.
|
|