I’m making a game about killing sentry turrets around the world, and there are a few things i’km not sure how to do…
-If you kill all 15 enemies, you advance to the end game level
-You have a GUI counter at the top of your screen that shows how many are dead, and how many there are in total I.E. 6/15 sentries.
-You have a 15 minute time limit and then your death animation plays
-when you die, 2 3d textures show up (restart and exit)
Thank you.
Tim-A
2
I can help you with the first two.
-
You would have a 2 scripts,The first one would go on the enemy and have it send 1 death to the other script which counts it. Then you can have, if(enemiesDead == 15) Application.LoadLevel("End Of Game");
-
Have a script that counts enemies death, and have it say, GUI.Label (Rect (10, 10, 100, 20), enemiesDead + "/15"); it would loom like the amount of enemies dead and “/15”.
I hope that helps you. If you have any questions comment please.