Alice Community  

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

Reply
 
Thread Tools Display Modes
Better Idea
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Default Better Idea - 06-14-2011, 06:32 PM

Quote:
Originally Posted by David B View Post
I am currently making an example world for you. I'll post it once I finish making it.
David, Try to make him/her figure it out. People learn more that way.
Having said that, try this quiz.
Attached Files
File Type: a2w WolfBunnyProximityQuiz.a2w (678.4 KB, 5 views)
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,143
Join Date: Dec 2010
Location: The Twilight Zone!
Default 06-14-2011, 09:16 PM

I have made three example worlds for you that are all available in this post.

In the first world, I have placed a wolf in the world, and written a very basic code which tells the wolf to move forward.

Download Example World 1 Here



If you click on the wolf on the object tray, the box that appears around him suggests that he on a downward incline.



Upon creating the second example world (which is based off of the first example world) you can see that I have changed the code to have the wolf turn backwards.

Download Example World 2 Here



If you were to even him out before playing the world, you will see that the incline no longer exsists.



In the final example, the only change that I have made was speeding the rotation up so that way it was harder to see when you would play back the world.

Download Example World 3 Here



If you would like to review all of the worlds without downloading them, click here.
Attached Files
File Type: a2w Wolf Example 1.a2w (536.6 KB, 1 views)
File Type: a2w Wolf Example 2.a2w (539.0 KB, 1 views)
File Type: a2w Wolf Example 3.a2w (539.0 KB, 1 views)


██████████████████████
█░░░░░░░░░░░░░░░░░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓▓░█
█░▓░░░▓░░▓░▓░▓░░▓░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓░░█
█░▓░░░░░░▓░▓░▓░░▓░░░░█
█░▓░░░░░░░▓░▓░░░▓░░░░█
█░░░░░░░░░░░░░░░░░░░░█
██████████████████████

________________

Alice Hater? Rant Here!: http://tinyurl.com/HateAlice

Last edited by David B; 06-16-2011 at 08:42 AM.
   
Reply With Quote
Old
Laur07
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jun 2011
Default 06-14-2011, 09:53 PM

Thats awesome it works if the wolf just has to move forward but i need it to chase the bunny and use my "step" method at the same time so when i add what you did to my step method it either sinks or rises? I'm going to post my world here, i am talking about the "wolf step" method. I just don't know where to put those 2 steps of yours into my step method in order for the wolf to stay above the ground for every step he takes.
If you could take a look at it that would be amazing and if not don't worry about it i already feel bad taking up so much of your time.
Attached Files
File Type: a2w tutorial10.2.a2w (746.8 KB, 1 views)
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,143
Join Date: Dec 2010
Location: The Twilight Zone!
Default 06-16-2011, 08:45 AM

I'll take a look later on.


██████████████████████
█░░░░░░░░░░░░░░░░░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓▓░█
█░▓░░░▓░░▓░▓░▓░░▓░░░░█
█░▓▓▓▓░░░▓░▓░▓░░▓▓▓░░█
█░▓░░░░░░▓░▓░▓░░▓░░░░█
█░▓░░░░░░░▓░▓░░░▓░░░░█
█░░░░░░░░░░░░░░░░░░░░█
██████████████████████

________________

Alice Hater? Rant Here!: http://tinyurl.com/HateAlice
   
Reply With Quote
Old
beachbum111111
Senior Member
 
beachbum111111's Avatar
 
Status: Offline
Posts: 852
Join Date: Feb 2010
Location: under your bed
Default 06-16-2011, 12:07 PM

Its because the wolf's pivit (or however you spell it) is moving towards the bunny's pivit. Try making a wolf a vehicle to a invisible shape (square, circle, etc.), put the shape on the ground, and make the SHAPE move to the bunny, not the wolf.


"Don't lead me into temptation I can find it myself"
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.