Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Need help for school project
Old
rakay
Junior Member
 
Status: Offline
Posts: 3
Join Date: Nov 2012
Default Need help for school project - 11-30-2012, 08:19 PM

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.
   
Reply With Quote
billboard
Old
Kero
Junior Member
 
Status: Offline
Posts: 1
Join Date: Sep 2012
Default billboard - 12-06-2012, 10:29 PM

have you tried using a billboard ?


http://www.youtube.com/watch?v=_QMt72ysUB4

I found this video on youtube
hope this helps and good luck!!
   
Reply With Quote
Old
HaloMike117
Junior Member
 
Status: Offline
Posts: 8
Join Date: Dec 2012
Default 12-12-2012, 12:16 PM

Quote:
Originally Posted by rakay View Post
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! (:
   
Reply With Quote
Old
Brettlee
Junior Member
 
Status: Offline
Posts: 14
Join Date: May 2013
Location: New York
Default 06-01-2013, 12:53 AM

Well I don't have any knowledge about this particular topic. I think that you should take the help of any professional.
   
Reply With Quote
Hi
Old
clk4suport
Junior Member
 
Status: Offline
Posts: 12
Join Date: Nov 2013
Location: new delhi
Default Hi - 11-28-2013, 04:41 AM

Hi,

i am new here. But i will try to sort out your problem as per me.
   
Reply With Quote
Old
fourbros
Senior Member
 
fourbros's Avatar
 
Status: Offline
Posts: 476
Join Date: Nov 2011
Location: Right Behind You...
Default 11-28-2013, 08:12 AM

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.[/QUOTE]

You need to do a few things.

1: Use variables. have them increase every time a zombie becomes opaque (actually wouldn't you want them to become transparent?)

2: Use "3d text" to make the word "WIN", put it where you want it, and set it's opacity to Zero.

3: Make a function that Once the zombies are dead, and the variable reaches a certain number, the win screen appears.

4: If your problem isn't solved then let me know.




Happy Thanksgiving :}


My avatar is from the anime "Hyouka".......

You've probably never seen it, much less heard of it.....

You should watch it........


print("Hello World")
This is python code.

Lakers > Clippers
Vikings > Packers
Cardinals > Brewers/Pirates/Cubs/Reds
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.