Alice Community  

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

Reply
 
Thread Tools Display Modes
How Do I Make Hills???
Old
madden
Senior Member
 
madden's Avatar
 
Status: Offline
Posts: 322
Join Date: Mar 2006
Location: My own little world 0.0
Question How Do I Make Hills??? - 03-17-2006, 10:27 PM

How do I make hills in alice 2.0. I could not think of eneything.
Gabe please help me.

P.S Visit me! Oh I know we could eat Icecream together, get brainfreeze together, and Scream together!

Last edited by madden; 03-04-2007 at 05:49 PM.
   
Reply With Quote
Making Hills
Old
lanceA
Guest
 
Status:
Posts: n/a
Default Making Hills - 03-17-2006, 11:07 PM

In the Environments folder there is a Hill class. Using multiple instances of this class and changing the color of each instance creates some nice hills. Additionally the Nature folder has a Vocano. I used two instances of the Rock class in the Nature folder and resized them to also simulate hills. - Hope this helps.
   
Reply With Quote
ok...partly worked
Old
madden
Senior Member
 
madden's Avatar
 
Status: Offline
Posts: 322
Join Date: Mar 2006
Location: My own little world 0.0
Thumbs up ok...partly worked - 03-21-2006, 08:37 PM

ok, that worked, but I walk thrue them can I stop that???
thanks for responding...

P.S ... I can't think of eneything

Last edited by madden; 03-04-2007 at 05:52 PM.
   
Reply With Quote
Old
lanceA
Guest
 
Status:
Posts: n/a
Default 04-06-2006, 10:39 AM

To prevent 'walking through' the mountains you may wish to use an Alice function, distance to - that function will return the distance (in meters), however it measures from the 'center' of objects. Therefore you may wish to try something like:

object move forward (object distance to mountain - 1)

Replace 'object' with the name of your object, i.e., robot, Alice, skater, etc. You also may have to experiment with the amount (-1) to be subtracted.

The manual, Learning to Program with Alice has an even better method to do this, Page 56.

Hope this helps.

Last edited by lanceA; 04-06-2006 at 10:43 AM.
   
Reply With Quote
Thanks
Old
madden
Senior Member
 
madden's Avatar
 
Status: Offline
Posts: 322
Join Date: Mar 2006
Location: My own little world 0.0
Smile Thanks - 02-17-2007, 02:30 PM

Thanks it did

P.S Thanks it did

Last edited by madden; 03-04-2007 at 05:52 PM.
   
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.