alice animation.

Andreas Raab andreas.raab at gmx.de
Wed Jul 2 12:20:06 UTC 2003


Hi,

> What is my mistake??

You are overriding the meaning of 'up' here:

> up _ w doTogether: {rhru.hmu1.hmu2.hmu3.}.

Cheers,
  - andreas

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Shalabh Raizada
> Sent: Wednesday, July 02, 2003 6:55 AM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: alice animation.
> 
> 
> Hi all,
> 
> I am trying to make an animation where a sword is kept on an 
> anvil and i am 
> hitting it with a hammer. After positioning them I try to do 
> the following 
> animation.
> 
> rhrd_rightHand1 roll: right turns: 1/4.
> hmd1_hammer turn: down turns: 1/4.
> hmd2_hammer move: down distance: 1/7.
> hmd3_hammer move: forward distance: 1/3.
> 
> down_w doTogether: {rhrd.hmd1.hmd2.hmd3.}.
> 
> rhru_rightHand1 roll: left turns: 1/4.
> hmu1_hammer turn: up turns: 1/4.
> hmu2_hammer move: up distance: 1/7.
> hmu3_hammer move: backward distance: 1/3.
> 
> up _ w doTogether: {rhru.hmu1.hmu2.hmu3.}.
> 
> hit _ w doInOrder: {down.up.}.
> 
> hit start.
> hit loop: 2.
> hit loop.
> hit stopLooping.
> 
> After the animation the hammer moves more backwards and down. so to 
> reposition i try to run the following code.
> 
> hm _ hammer move: up distance: 1/3.
> 
> but i get an error saying : "squeak doesnot know how to move 
> the hammer up 
> as a parallel animation is not a valid direction".
> 
> What is my mistake??
> 
> cheers,
> shalabh.
> 
> ------------
> Shalabh Raizada
> Research Engineer,
> IIIT Hyderabad.
> 
http://shalabhraizada.bravepages.com

_________________________________________________________________
Mobile, masti, magic! Cool ringtones & logos.  http://www.msn.co.in/mobile/ 
Get noticed.




More information about the Squeak-dev mailing list