Alice Community  

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

Reply
 
Thread Tools Display Modes
Creating a method and making it work...
Old
seanr25
Junior Member
 
Status: Offline
Posts: 13
Join Date: Jan 2013
Default Creating a method and making it work... - 02-09-2013, 04:20 PM

HELP!!

I am needing to create a method to make a person walk, and I can't figure it out. I have a textbook (Programming with Alice and Java) and have read all of the instructors notes, but I still am having trouble making this work.

I clicked on the object that I wanted to create the "step" method for and then clicked create new method. It created the method, but then it won't let me put it into the world. Do I need to set any parameters first? The object that I need to make "step" is the mummy from the Egypt file.

This is for an assignment, and I don't want anyone to do this for me, just looking for a little guidance through this, I have hit a wall and can't figure it out!

Thanks!
   
Reply With Quote
Old
bob3584
Senior Member
 
Status: Offline
Posts: 180
Join Date: Jan 2013
Location: In a Cardboard Box.
Default 02-09-2013, 06:01 PM

Send the file.


My avatar will always be a preview of what I am currently working on.
   
Reply With Quote
my file.
Old
seanr25
Junior Member
 
Status: Offline
Posts: 13
Join Date: Jan 2013
Default my file. - 02-10-2013, 07:17 PM

I have attached my file. The part I can't figure out is how to make the mummy move forward while actually taking steps...(instead of mystically floating toward the pharoah).

I think the problem I am having starts with setting the pose, but I really don't know...
Attached Files
File Type: a2w Assign3-rb.a2w (1.72 MB, 5 views)
   
Reply With Quote
Old
bob3584
Senior Member
 
Status: Offline
Posts: 180
Join Date: Jan 2013
Location: In a Cardboard Box.
Default 02-10-2013, 10:05 PM

Here's a simple version that took two minuets to make. Build off of it, and you can call it yours.
Attached Files
File Type: a2w help mummy.a2w (1.73 MB, 19 views)


My avatar will always be a preview of what I am currently working on.
   
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 ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.