Alice Community  

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

Reply
 
Thread Tools Display Modes
Start screen
Old
genio84
Junior Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Start screen - 09-20-2011, 04:00 PM

Hi,

how do I create and add to Alice a start screen (like the one in the flight simulator example)?
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 09-20-2011, 08:13 PM

Like a menu?


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Like a menu, an info panel, and both
Old
genio84
Junior Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Like a menu, an info panel, and both - 09-21-2011, 02:01 PM

Like a menu, an info panel, and both.
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 09-21-2011, 03:43 PM

How to make a menu:
1. Make a square (put a back texture on it if you want)
2. Make text and put it on the square where you want it. (it doesn't matter if it overlapse if it is not on the same menu screen, but if you can avoid it, seperate them)
3. Make a variable to keep track of which screen you are on when you use the screen
4. Make as many "when mouse is clicked on something" as you need
5. Set all texts not being on the begining screen to "showing is false" in properties. (also make sure the menu variable is set to 1)
6. If you want to make 3 screens (eg. Start, instructions, options.) do the following: make sure all texts that are not on the begining screen to not showing.

Lets say I wanted to go to the instruction menu to change some thing and go back. One when I click on instruction text do all these, Make sure you can click on it by making sure it is on first screen (eg. screen variable = 1 (1 is always the start screen)) if it is true do a custom method that at least should: set all text on the start screen to not showing, set all text on instruction menu to showing, set menu variable to 2, make sure there is a button that will take you back to main screen.

The point of this is so that if I click on something that a didn't want to " It would not work because it would have to corespond* to the variable menu.

I hope I didn't waste your time, And made it to complicated
(I heard that if you set showing to false you can click somthing behind it, but this way is the way I do it)
I made a menu like this in my game Dodge!.

I hope this helps


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-22-2011, 07:50 AM

Right on Insertname. Good job with the explanation.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Thanks!
Old
genio84
Junior Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Thanks! - 09-22-2011, 04:28 PM

A bit complicated but I'll manage to do it (a video would be welcome but it isn't necessary).
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-23-2011, 08:06 AM

You could look at my example a little while back. It's a menu but nothing else. You could look at that code and see how to do it from there. Here is the thread http://www.alice.org/community/showt...ight=cool+menu


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Tags
screen, start

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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.