Alice Community  

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

Reply
 
Thread Tools Display Modes
Snowman flip hat?
Old
rviz
Guest
 
Status:
Posts: n/a
Default Snowman flip hat? - 09-27-2010, 12:10 PM

Hi everyone,

I'm having problems trying to make the snowman flipping his hat (Chapter 4-1 Exercises). Any help will be appreciated.
   
Reply With Quote
Old
Snowfir3
Guest
 
Status:
Posts: n/a
Default 09-27-2010, 12:57 PM

I dont have the book but whats ur problem exactly?
   
Reply With Quote
Old
SirThorfinn
Senior Member
 
SirThorfinn's Avatar
 
Status: Offline
Posts: 232
Join Date: Sep 2010
Location: Some where Unreal!
Default 09-28-2010, 04:16 PM

To make him flip his hat you need to make a method with the animations needed to look like hes flipping his hat.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 09-28-2010, 05:21 PM

Well that has to do more with animation and timing (duration of each code segment). Thats more of the creative side of Alice than the true programming side. Just make a method and rotate the snowmans arms up to his hat, which then moves the hat up about 1/2 a meter and turns the hat forward 1 rotation at the same time (Do Together), and then lands back down on his head, and the snowman's arm rotates back down at the same rotation that you made it rotate up.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
ndv92
Guest
 
Status:
Posts: n/a
Default 11-20-2010, 11:25 AM

OK, this is it.
Attached Files
File Type: a2w snowpeople fliphats.a2w (369.9 KB, 135 views)
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.