Alice Community  

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

Reply
 
Thread Tools Display Modes
Answering Questions
Old
Tone13
Junior Member
 
Tone13's Avatar
 
Status: Offline
Posts: 9
Join Date: Oct 2010
Location: Nevada, Ia
Default Answering Questions - 03-18-2011, 04:57 PM

We have an educational racing game where you answer questions to increase the speed your boat is going. How do you make it so you can only click a button once to increase/decrease the speed of the button. Also how can we have it so you can't change your answer? Like if you got it wrong and than you change it to right to get the speed boost. Any advice is appreciated
   
Reply With Quote
indeed
Old
Aliceisawhore
Guest
 
Status:
Posts: n/a
Default indeed - 03-18-2011, 05:07 PM

i was wondering the same thing
   
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 03-18-2011, 06:06 PM

Eeeemmmm, yeh, I don think your name is acceptable.


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

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 03-18-2011, 07:30 PM

Quote:
Originally Posted by arty-fishL View Post
Eeeemmmm, yeh, I don think your name is acceptable.
It's better if you think of it as: a-lice-i-saw-hore

I think hore has a definition (different from "w****"), but I forgot it.


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Mentally Incompetent Friend
Old
Tone13
Junior Member
 
Tone13's Avatar
 
Status: Offline
Posts: 9
Join Date: Oct 2010
Location: Nevada, Ia
Default Mentally Incompetent Friend - 03-25-2011, 05:31 PM

I'm sorry for my mentally incompetent friend. If we could get back to the original question that would be nice.
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 03-30-2011, 12:46 PM

All right, it's been a while.
Whatever method you use to make your boat move forward, change whatever value it is to a number variable. If you hadn't already, it won't increase.
When the mouse is clicked on "button" do "your raise speed method"

Now create a variable (boolean) that is false. Name it something like "Has Been Clicked Before"
Raise Speed Method:
If "***.Has Been Clicked Before" is "true"
Do Nothing
Else
"Your method to make it move faster"
"***.Has Been Clicked Before" set value to "true"

What it does is that the raise speed method disables itself.
At the beginning of the method you use to begin the question, you have to reset the "***.Has Been Clicked Before" variable to false.


For your "No changey" problem, you pretty much do the same thing to your question answering method.
If "***.Has Answered Before" is "true"
Do Nothing
Else
"Your method to select an answer"
"***.Has Been Clicked Before" set value to "true"
Of course, this variable has to be reset as well.
Attached Files
File Type: a2w d.a2w (512.7 KB, 6 views)

Last edited by Mr Kidnapper; 03-30-2011 at 01:02 PM.
   
Reply With Quote
Thanks
Old
Tone13
Junior Member
 
Tone13's Avatar
 
Status: Offline
Posts: 9
Join Date: Oct 2010
Location: Nevada, Ia
Default Thanks - 04-08-2011, 03:16 PM

Thank You Mr. Kidnapper I haven't had the time to try this but I will let you know when I am able to.
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.