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

#1 2008-07-25 11:07:11

Naedx
Scratcher
Registered: 2008-05-06
Posts: 2

Movement

I am trying to create a game similar to Metroid: Zero Mission. I am currently using this script to make him move. However, I want to make the characters' legs move (smoothly) as the character moves. I already have the costumes. How is this possible?

Last edited by Naedx (2008-07-25 11:19:50)

Offline

 

#2 2008-07-25 13:38:54

Maker
Scratcher
Registered: 2008-07-07
Posts: 30

Re: Movement

(just a suggestion) maybe you could make it --- repeat until left or right key pressed wait 0.5 seconds next costume ------

Again, just an Idea as I'm not THAT good at scratch lol but try it out. and the seconds can be changed for smoothness.


http://img201.imageshack.us/img201/9176/mybanner488622f31da7bpx6.png

Offline

 

#3 2008-07-25 13:43:20

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Movement

Well, I see you already ave the speeds aand stuff. Usually  Iwould say make a seperate script that is like this:

<wait( .1  )secsc>
<next costume>

as a key was pressed, but yours, you might wanna do that, but make the seconds like this:

<wait( (( 1  </> <{ VelocityX }>  )) )secsc>

I used that for my roulette table (the seconds part) and it works great!


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-07-26 12:33:51

Naedx
Scratcher
Registered: 2008-05-06
Posts: 2

Re: Movement

Thanks for your help everybody. I got it up and running (if you'll excuse the pun) using a separate script that activated at the same time as the movement one (basically the same idea as Bluestribute's).

Last edited by Naedx (2008-07-26 12:34:20)

Offline

 

Board footer