Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Thread Tools Display Modes
Assigment 4
Status: Offline
Posts: 14
Join Date: Aug 2016
Default Assigment 4 - 09-24-2016, 11:18 AM

For this assignment I created a lunar landing where the astronaut steps of the lander, looks around and sees a frog. The frog hops away and the astronaut follows the frog and comes up to a pond full of frogs, the astronaut takes off the helmet and an earthly frog pops out stating that it is home, then suddenly the astronaut is gone, and an alien its standing in its place, then the alien proceeds to sing the song. The scene when a little longer that I was expecting but like Kirk mention that it took him a while to come up with something, I too was having a hard time trying to come up with a scene.
I use a lot of camera movements along with the opacity properties to try to cut down on the amount of poses and code that I would have had to create for the various characters. There are quite a few do together and do in order control statements throughout the program. Getting a human character to walk in natural steps is a challenge for me. Originally I wanted the frog to hop across the view of the astronaut by using the code found in chapter two for the frog hop method example, but it did not work out like the example. I would capture the pose for the frog with its legs extended but when I wrote the method just like the book example, my frog’s legs would turn in different directions but would not extend, Finally I coded the frogs left and right leg and got it to hop correctly. The hardest part of generating a random number is to remember where to find the random number feature.
Reply With Quote
Status: Offline
Posts: 23
Join Date: Aug 2016
Location: Dallas TX
Default 09-24-2016, 03:47 PM

Hi Mauricio,
I enjoyed reading your post and sounds like you came up with a creative 'crazy' scene for your boom boom song. I didn't even consider doing a scene in space for this assignment, but I like the concept.

You're right, the 'making your character walk' code is challenging, but once you get the sequence correct, it's a matter of repeating some of the steps (to make the character walk the next step), and changing the direction (backward vs. forward) so that the characters legs don't spin too far when he's walking.
It's kind of hard to explain via text, but if you'd like, I can email you some of the code I used to make my character walk, and you can experiment with it, as I was pretty happy with how it turned out.

Gotta go finish assignment 4, and do my own post on it. Ttyl.
Reply With Quote

control staments, function, method, methods, random number

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