This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-24 09:48:14

tchan5158
New Scratcher
Registered: 2010-09-19
Posts: 25

Ease In/Ease Out on a Sprite?

Hi!  big_smile

I'm trying to figure out how to add ease in/ease out on the movements of a sprite when keys are pressed. 

So far I only got the regular movements down with this script from a background scroller  tongue

[blocks]
<forever>
<if><key[ left arrow ]pressed?>
<change{ shipx_velocity }by( -1 )
<set{ shipx_velocity }to( (( shipx_velocity <*> .8 ))
<change x by( shipx_velocity )
[/blocks]

What do I do to make it ease in?  I don't understand this script as it is  tongue

-Tommy

Offline

 

#2 2010-09-24 10:06:05

CheckerMan
Scratcher
Registered: 2010-07-14
Posts: 16

Re: Ease In/Ease Out on a Sprite?

I don't know how. Sorry I couldn't help...:c

-CheckeЯMan

Offline

 

#3 2010-09-24 10:29:32

tchan5158
New Scratcher
Registered: 2010-09-19
Posts: 25

Re: Ease In/Ease Out on a Sprite?

CheckerMan wrote:

I don't know how. Sorry I couldn't help...:c

-CheckeЯMan

Its ok  big_smile   I'm going through the projects online and searching for shooters for the moment.

I found a project called Dead Space by Chris Haynes which has ease in and out AFTER the movement keys are released, but i want it DURING the keys are pressed.  Maybe I can work it in somehow  yikes

-Tommy

Offline

 

Board footer