Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   Need help! Final due Monday!!! (http://www.alice.org/community/showthread.php?t=7785)

madorha 12-12-2011 12:01 AM

Need help! Final due Monday!!!
 
1 Attachment(s)
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!

Mr Kidnapper 12-12-2011 12:52 AM

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.

madorha 12-12-2011 01:56 AM

Project
 
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

madorha 12-12-2011 02:00 AM

Final due Monday
 
1 Attachment(s)
I guess I should include the modified code

Mr Kidnapper 12-12-2011 02: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.

AliceMaster00 12-12-2011 02:49 AM

[size="7"]i like gooooooooooold![/size]

madorha 12-12-2011 03:04 AM

Good News
 
1 Attachment(s)
I figured it out at 3 in the morning. But now I have a START button that needs to be pressed before the game begins and that is my little problem I am trying to solve now, any suggestions please help if ya can. Also have to setup a timer and a point system for each ramp that is hit.

madorha 12-12-2011 04:18 AM

Uh-oh
 
1 Attachment(s)
I believe I have hit a road block, my pineTree method is no longer working. Any suggestions?

David B 12-12-2011 07:06 PM

[QUOTE=AliceMaster00;44476][size="7"]i like gooooooooooold![/size][/QUOTE]

Umm...did I miss something?

DensetsuNoKaboom 12-12-2011 07:17 PM

[QUOTE=AliceMaster00;44476][size="7"]i like gooooooooooold![/size][/QUOTE]

Gee, that post sure was relevant and added a lot to the conversation. Not.


All times are GMT -5. The time now is 02:19 AM.

Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.