Alice Community  

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

Reply
 
Thread Tools Display Modes
9-4 Game: Follow the Leader HELP!
Old
swimmer2332
Junior Member
 
Status: Offline
Posts: 2
Join Date: Nov 2011
Default 9-4 Game: Follow the Leader HELP! - 11-14-2011, 07:01 PM

So i'm trying to work on this project and I have no idea how to add random cubes to a random sequence. I have it set up so that it looks like this:

onecubeflash [which cube=[rando item from [all cubes]]]

can someone pleaseeee help me. it would be greatly appreciated.

Thanks,
Cait
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Question 11-16-2011, 12:34 PM

what exactly you need help with?
   
Reply With Quote
Old
swimmer2332
Junior Member
 
Status: Offline
Posts: 2
Join Date: Nov 2011
Default 11-16-2011, 04:22 PM

I dont know how to get objects to randomly add to a list and I don't know how to get objects to randomly add to a list once theyre clicked on.
   
Reply With Quote
Game: Follow the Leader Question (Assignment 9-4)
Old
dtrommer
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default Game: Follow the Leader Question (Assignment 9-4) - 11-17-2011, 11:35 AM

I am also having the same trouble. I have everything set up correctly, but I do not know how to utilize the "random" functions. Can anyone help? I can provide more specific information.
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Cool 11-17-2011, 12:41 PM

just create a variable and tell it to randomly pick one item.
   
Reply With Quote
Old
dtrommer
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default 11-17-2011, 01:05 PM

Here is what I have so far for assignment 9-4. Please help if you can. I can write in the object of this game
Attached Files
File Type: a2w assignment 9-4.a2w (684.9 KB, 62 views)
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Cool 11-17-2011, 01:07 PM

will check it out. At the moment I am not on a computer but next time I'm on I'll try it
   
Reply With Quote
Old
dtrommer
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default 11-17-2011, 01:10 PM

Thank you! I will keep checking back on here.
   
Reply With Quote
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Cool 11-17-2011, 01:12 PM

if you only need to choose something at random create a variable, name it. Then select one of the objects and drag it into methods telling it to do something. Then where it says object"blah" drag the random variable into it.
each time you click play a different object will move
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 11-17-2011, 01:47 PM

First thing I have to say is, doesn't your teacher help you with your assignments? Does your textbook explain random functions?


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

Tags
9-4, cubes, follow the leader

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.