I'm VERY new to using unity and would like guidance/assistance on how to create a 'GAME OVER' screen once objective is complete which is for the player to shoot down all enemy targets.
I have some knowledge on using gui, not much. Real problem is lack of coding integration, so would be great if I can get some help and how would I go about linking the 'GAME OVER' screen prior to objective being met.
Personally, I use this collider script - I'm doing a platformer though, so it'll be for touching the last platform.
answered May 16 '11 at 04:53 PM
I am very sorry if any scripting is wrong in my answer but I am away from my main computer (with unity installed)
the above answer would change the level when the player collides with something once which, unless you only have one enemy that gets stronger each level probably isn't what you need.
I would suggest doing something along these lines:
you will probably get an error message as you have no scene called GameOver and have not built your game so you should add the Application.LoadLevel ("GameOver"); line after creating the GameOver level
hope that helps
answered May 16 '11 at 05:28 PM