Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
Need help! Final due Monday!!!
Old
madorha
Junior Member
 
Status: Offline
Posts: 5
Join Date: Dec 2011
Unhappy Need help! Final due Monday!!! - 12-11-2011, 11:01 PM

I have been working on a project from the Alice book and have run into a couple of problems.
Snowman is trying to go home to igloo and if he gets within 3m of a tree he goes back 10m.
Problem #1-I have formatted a list that list all the pine trees and it does not work properly.
Problem #2-The ramps that can enable the snowman to go faster do not work either.

I am at a lost and I may decide to change my project if I can't get this to work properly.

PLEASE HELP!
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 12-11-2011, 11:52 PM

Well that was silly. Right click your event "When the world starts" and convert to "While the world is running". Place your method in the During box.
Y'see there's a difference between 'when' and 'while'. When is instantaneous, it does an action at a specific time. While has actual length, so it does actions for as long as whatever activates the while function is true.
   
Reply With Quote
Project
Old
madorha
Junior Member
 
Status: Offline
Posts: 5
Join Date: Dec 2011
Question Project - 12-12-2011, 12:56 AM

Thank you for the reply. I changed it according to your instructions.
If I am dealing with more than one ramp/tree, how can I get the list to incorporate that? Because I have planted my list inside my code, but do not know how to properly execute.

Thanks
   
Reply With Quote
Final due Monday
Old
madorha
Junior Member
 
Status: Offline
Posts: 5
Join Date: Dec 2011
Default Final due Monday - 12-12-2011, 01:00 AM

I guess I should include the modified code
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 12-12-2011, 01:26 AM

My mouse is broken :| By the way, the first method you had was fine. All you have to do is make a list of objects, preferably on the World scale and make a For All Together.
   
Reply With Quote
Old
AliceMaster00
Senior Member
 
AliceMaster00's Avatar
 
Status: Offline
Posts: 167
Join Date: Oct 2011
Location: You know that gap between the bottom of your dresser and the floor? Yeah, there.
Talking 12-12-2011, 01:49 AM

i like gooooooooooold!


What a piece of work is a man? How noble in reason, how infinite in faculties, in form and in motion, how express and admirable how like an angel! What apprehension oh how like a god! The beauty of thee world, the paragon of animals, and yet- to me, what is this quintessence o' dust? Man delights, not me. Nor woman either, nor woman either.
   
Reply With Quote
Reply

Tags
chapter 10, chapter 6, pine trees, project, snowman


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.