Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Assignment2
Old
AdanOrtiz
Guest
 
Status:
Posts: n/a
Default Assignment2 - 12-16-2012, 06:02 PM

For the second assignment I chose a project where I had to create a world with a padlock and had to set it to a certain combination (15-35-5) and make it open.
It was a little bit tricky at first because it was supposed to turn right to 15, so I chose right as the parameter for the method, but it turned the other way when I played the world. It turns out that when I chose right, the dial turned to the right of the padlock facing me which was my left.
Once I noticed this, it was very easy to fix by just switching the direction on each method.
   
Reply With Quote
Old
DCCCD
Junior Member
 
Status: Offline
Posts: 7
Join Date: Dec 2012
Default 12-16-2012, 07:22 PM

Yeah, some of the methods can be confusing. I was confused by what turn vs roll is, but now I think I get it.
   
Reply With Quote
Old
sbabaniji
Junior Member
 
Status: Offline
Posts: 7
Join Date: Dec 2012
Default 12-17-2012, 04:35 PM

I had the same issue with the turn method. I ended up using the roll method to get the dial to rotate and then I calculated the number of revolutions it needed to get the dial to stop at the different numbers.
   
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.