Quote:
Originally Posted by rakay
Basically i made a zombie shooting game and it works fine but the only thing i lack is a win screen. Basically the way my game is designed i would like 3D text saying you win to display in front of me when all zombies are opaque.
Thanks in advance.
|
Using 3D text, the best way to do this would be to add the 3D text you desire to the world. Next, you'll want to set the vehicle of the 3D text to the camera this way regardless of where the camera moves, the text will move with it.
You'll want to check if all of the zombies are dead. You can do this with a boolean statement that loops through the zombies to check if each one is dead (if one isn't dead, return false). Once they've all been looped through, you can then return true.
Then, all you'll need to do is create an event that waits for the boolean to become true, and when it does, you execute a win method. The win method can simply consist of setting the win text to showing.
If you need more help, let me know. I'd be glad to point you in the right direction.
Good luck! (: