Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Need help for school project (http://www.alice.org/community/showthread.php?t=9718)

rakay 11-30-2012 09:19 PM

Need help for school project
 
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.

Kero 12-06-2012 11:29 PM

billboard
 
have you tried using a billboard ?


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

I found this video on youtube
hope this helps and good luck!!:)

HaloMike117 12-12-2012 01:16 PM

[QUOTE=rakay;51754]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]

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! (:

Brettlee 06-01-2013 01:53 AM

Well I don't have any knowledge about this particular topic. I think that you should take the help of any professional.

clk4suport 11-28-2013 05:41 AM

Hi
 
Hi,

i am new here. But i will try to sort out your problem as per me.

fourbros 11-28-2013 09: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 :}


All times are GMT -5. The time now is 03:14 PM.

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