- Joined
- Jan 16, 2021
- Messages
- 12
Hi guys. im looking to make a defense mode that can go for long periods without crashes (little leaking)
So im just starting to set up my variables, im using Ints and bools to keep it simple for now
Recommendations on best framework for the system to be clean and smooth?
plan so far:
-Wave counter, enemy counter, generate next wave on a timer and increase enemy count and levels
The part im unsure of is the actual mechanics: do i need to use a dummy object and copy it or something crazy to avoid leaks when spawning tons of enemies? I'm new to doing this technically (did it as a teen)
if you need more details this is going to be a mode where you build a base anywhere you want and waves of ai seek you out
I'm planning to spawn them in a region which uses triggers to direct them from the spawn region to an enemy base (probably an EnemyTargetSlot variable and have it reiterate and go higher idk)
any help would be appreciated<3
So im just starting to set up my variables, im using Ints and bools to keep it simple for now
Recommendations on best framework for the system to be clean and smooth?
plan so far:
-Wave counter, enemy counter, generate next wave on a timer and increase enemy count and levels
The part im unsure of is the actual mechanics: do i need to use a dummy object and copy it or something crazy to avoid leaks when spawning tons of enemies? I'm new to doing this technically (did it as a teen)
if you need more details this is going to be a mode where you build a base anywhere you want and waves of ai seek you out
I'm planning to spawn them in a region which uses triggers to direct them from the spawn region to an enemy base (probably an EnemyTargetSlot variable and have it reiterate and go higher idk)
any help would be appreciated<3