Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Enemy Wave Generator Spawn System Help!

$
0
0
Am developing a spaceShooter(3D Game) and got in to a wall. Am trying to create a enemy Spawn waves which will spawn 3 different types of enemies as listed below, infinitely. There will be 4 waves, each wave will spawn enemy prefabs in a timely manner. Once all the four waves get completed again it get looped so basically it will be infinite 4 waves and speed of spawn increases after each 4 waves. Remember please am in a learning curve, I need an efficient way to structure the below logic.. I knew it is not an efficient manner and would like to structure the concept in an efficient manner. I do have done lot of research and found many wave generators most of which is not similar to the one am looking for... So, please help me out here. Thanks a lot for your time and Happy Coding! enemy prefabs basicEnemyShip prefab mediumEnemyShip Prefab Boss EnemyShip Prefab Waves of enemies First Wave Second Wave Third Wave Fourth Wave First Wave { Timer 20 Sec Instantiate basic enemy prefab(N Numbers) Timer 25 Sec Instantiate mediumEnemyShip (N Numbers) Timer 30 Sec Instantiate BossEnemyShip Prefab } Second Wave { Timer 30 Sec Instantiate basic enemy prefab (N numbers) Timer 35 Sec Instantiate Medium EnemyShip (N Numbers) Timer 30 Sec Instantiate BossEnemyShip Prefab } Third Wave { Timer 40 Second Instantiate basic enemy prefab + mediumEnemyShip (N numbers Random Numbers) Timer 30 Second Instantiate bossEnemyShip Prefab } Fourth Waves { Timer 50 Second Instantiate mediumEnemyShip+BossEnemyShip Timer 40 Second Instantiate BossEnemyShip } Wave loops { First Wave Second Wave Third Wave Fourth Wave } Enemy spawn Amount increases end of each loops (4 waves) enemy speed increases end of each loops (4 waves)

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>