Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Lab 1
Old
todd0312
Member
 
todd0312's Avatar
 
Status: Offline
Posts: 35
Join Date: Sep 2011
Default Lab 1 - 10-02-2011, 04:22 PM

Hello everyone:

I finished Lab 1, and it was a lot of fun. I had difficulties here and there. The first program was pretty straight-forward. I had my little character give a brief explanation about what e=mc*2 calculated before he asked the user to provide the weight they wanted to insert in the formula. I also used 186,000 miles/second rather than using meters. I don’t know if I should have done that, as it does deviate from the actual formula, but I did have my character explain what I was doing. After my character gave the result, I had his head rise 1 meter above his body while spinning (12 rotations moving up, 12 rotations down) over 3 seconds, then say “Them’s a lot of joules!” (bad grammar intentional). I thought about adding some sound effects, but I ran short of time.

I thought about giving the user the option of converting joules into watts, but that plan fell by the wayside.

The second part of the lab was a little more difficult, mostly in trying to get the rabbit to jump realistically. I have gotten better at making figures move in a realistic manner by clicking on either the object itself – or the object tree – then choosing methods – and testing out the various movement. Sometimes, if I have only a short sequence of movements, I can just insert the steps immediately into the program. Other times, with longer sequences, I may write them down and then insert them in the code from my notes.

One thing I tried to add but failed to implement successfully: I wanted the rabbit to ask if the user wanted the rabbit to jump at all. If they answered “yes”, the rabbit was supposed to jump, if not, do nothing. It’s probably pretty simple, but whether I chose “yes” or “no”, the prompt for the user to tell the rabbit how far to jump appeared regardless. So… a little more effort and I could have figured out, but… too short on time (is that just an excuse?).

I would like to post the assignment to see if anyone could see where I went wrong. I left the mal-code in the program, but left it disabled. (may post regarding this later in the "how to" forum, as with all my questions, qualified by the word "noob" in the title).

Thanks,

Todd
   
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 ©2020, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.