Alice Community  

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

Reply
 
Thread Tools Display Modes
How do I make a restart button?
Old
Ibanez
Guest
 
Status:
Posts: n/a
Default How do I make a restart button? - 11-23-2010, 01:01 PM

I have a game going on and when you die i have a screen pop up that say you die blah... And i Would like to make a button on that screen that allows you to restart the game which is basicly just like the restart in the playing the video. But i need it in the game.
   
Reply With Quote
Here's a restart button
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Lightbulb Here's a restart button - 11-23-2010, 03:46 PM

You cant, unless you know the Alice hacker codes. I do, so here is a restart button. Download the attached model and import it into your world.
Attached Files
File Type: a2c Restart_button.a2c (7.9 KB, 97 views)


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Restart button made sky darker
Old
cjworld
Junior Member
 
Status: Offline
Posts: 8
Join Date: Dec 2011
Question Restart button made sky darker - 12-15-2011, 02:34 AM

I put the restart button in the world and a technical message came up (It was too fast for to remember what it said, but I think sounded like lowering the quality of something) and now the sky (a sphere object sky) is darker. I've tried increasing the light, but that only seems to make half of the sky brighter. I've removed the button but that doesn't seem to help (And now if I put the button back in, I don't get any message). What can I do to get both sides of the sky lighter or to undo what bringing the restart button into the game did?
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 12-15-2011, 04:48 AM

Quote:
Originally Posted by cjworld View Post
I put the restart button in the world and a technical message came up (It was too fast for to remember what it said, but I think sounded like lowering the quality of something) and now the sky (a sphere object sky) is darker. I've tried increasing the light, but that only seems to make half of the sky brighter. I've removed the button but that doesn't seem to help (And now if I put the button back in, I don't get any message). What can I do to get both sides of the sky lighter or to undo what bringing the restart button into the game did?
Are you sure it did that? The button uses the same code as the restart button at the top of the play window. I think something went wrong with the renderer or something, post your world and maybe I can find the problem.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 12-15-2011, 12:01 PM

@arty

can one make a method that says if x happens then world restart? Cause I tried dragging the script from the 'when mouse is clicked on restart button' to the if/else statement, but an error happened every time.


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