Sprite Movement Done Right

user_icon archmage shared it 6 months, 1 week ago
1639 views, 38 people love it, 10 taggers, 620 downloads, in 13 galleries, 126 remixes
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

gnomick gnomick 1 week, 1 day ago

I am currently making a side-scrolling game and I need help beacuse with the X velocity value, the player sprite moves and extremely fast speed and hides into nowhere, even though the script is exactly the same. Can anybody help, please?

(view all replies)
Comment Reply

coolbeans17 coolbeans17 1 week, 6 days ago

i tryed to copy the script but the yvelocity got messed up and the sprite wouldn't stop on the block. i tryed to correct the script but every thing was the same. what am I doing wrong???

(view all replies)
Comment Reply

archmage archmage 1 week, 6 days ago

I dunno, download and compare the scripts.

(view all replies)
Comment Reply

Sacrifice4u Sacrifice4u 3 weeks, 2 days ago

so there aren't comment blocks aymore?

(view all replies)
Comment Reply

archmage archmage 3 weeks, 2 days ago

you are correct

(view all replies)
Comment Reply

deatheater deatheater 4 weeks, 1 day ago

I use gravity instead of y velocity but it's the same thing.

(view all replies)
Comment Reply

game04389 game04389 1 month ago

Where did you get the comment blocks from?

(view all replies)
Comment Reply

bobbysq bobbysq 3 weeks, 3 days ago

1.2 Beta

(view all replies)
Comment Reply

FoxFairy FoxFairy 1 month ago

Cool! I am using this script in a thing I will give credit to you! :)

(view all replies)
Comment Reply

75zx 75zx 1 month ago

i might be doing somting rong but i dont know

(view all replies)
Comment Reply

75zx 75zx 1 month ago

humm i think im doing it right

(view all replies)
Comment Reply

75zx 75zx 1 month ago

oh....... ok good idea BUT IT WONT DOWN LOAD !!!!!!!!!

(view all replies)
Comment Reply

archmage archmage 1 month ago

The script should work anyways. You are doing something wrong.

(view all replies)
Comment Reply

75zx 75zx 1 month ago

werd i did the same thing and it doesint work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(view all replies)
Comment Reply

archmage archmage 1 month ago

Then download the project and look at the script.

(view all replies)
Comment Reply

monkeypiefairy monkeypiefairy 1 month, 1 week ago

oh sorry, I should not have asked you seem to have everybody asking that!

(view all replies)
Comment Reply

monkeypiefairy monkeypiefairy 1 month, 1 week ago

How... did you get thoose comment boxes?

(view all replies)
Comment Reply

hobotraitor hobotraitor 1 month, 1 week ago

This has helped me so much! Thank you!

(view all replies)
Comment Reply

06dknibbs 06dknibbs 1 month, 3 weeks ago

This realy helped me with the game im working on

(view all replies)
Comment Reply

atomicfireball29 atomicfireball29 2 months ago

Wow you're a Scratch genius.

(view all replies)
Comment Reply

Seijino-san Seijino-san 2 months ago

Cool!! Hey Archmage, if it wouldn't be too much trouble would you look at this project and tell me what you think and what I should do better? I think you might have to download it. It's kind of big. (link to project)

(view all replies)
Comment Reply

Seijino-san Seijino-san 2 months ago

Please leave a comment too so I'll know you've been there. Sorry.

(view all replies)
Comment Reply

tman2 tman2 2 months, 1 week ago

Check out my rc truck game! It uses your motion script and its pretty cool!

(view all replies)
Comment Reply

archmage archmage 2 months, 1 week ago

A what?

(view all replies)
Comment Reply

jom jom 2 months, 1 week ago

make a colition done right

(view all replies)
Comment Reply

archmage archmage 2 months, 1 week ago

Thats nothing, take a look at my perfect sidescrolling engine project.

(view all replies)
Comment Reply

lilhd lilhd 2 months, 1 week ago

78 remixes jebus cripes

(view all replies)
Comment Reply

logan996 logan996 2 months, 2 weeks ago

oh i get it archmage

(view all replies)
Comment Reply

hithere hithere 2 months, 3 weeks ago

you made it more complacated than it needs to be .

(view all replies)
Comment Reply

archmage archmage 3 months ago

I made this in the beta version.

(view all replies)
Comment Reply

logan996 logan996 3 months ago

WHAT!?! how did... how can.... i don't have a commet block in my version i thought they took that out before scratch became a non-beta program! did u sqeak hack it in there?

(view all replies)
Comment Reply

logan996 logan996 3 months ago

I've ALWAYS wanted to know how to do this!

(view all replies)
Comment Reply

logan996 logan996 3 months ago

NEAT CAN I USE THIS!?!

(view all replies)
Comment Reply

shadowwarrior77 shadowwarrior77 3 months ago

smooth literally

(view all replies)
Comment Reply

Colkadome Colkadome 3 months ago

I just found out how bad my old Portal engine was... Thanks heaps for this structure.

(view all replies)
Comment Reply

Colkadome Colkadome 3 months, 1 week ago

this will be very useful for my Portals game.

(view all replies)
Comment Reply

archmage archmage 3 months, 2 weeks ago

I changed the page to include the pic.

(view all replies)
Comment Reply

archmage archmage 3 months, 2 weeks ago

I didn't know wikipedia linked to this project. I certainly didn't put it there.

(view all replies)
Comment Reply

TheWrockBrothers TheWrockBrothers 3 months, 2 weeks ago

I noticed that this project is linked from http://en.wikibooks.org/wiki/Scratch/Lessons/Movement. I think you should add the picture of the script to Wikimedia Commons so people could get the picture more easily.

(view all replies)
Comment Reply

archmage archmage 3 months, 3 weeks ago

Cool

(view all replies)
Comment Reply

Crusader6 Crusader6 3 months, 3 weeks ago

Ok, nvm, I fixed it, great program by the way! I'm using it in a game that im working on.

(view all replies)
Comment Reply

archmage archmage 3 months, 3 weeks ago

Click on the screen are press left again.

(view all replies)
Comment Reply

Crusader6 Crusader6 3 months, 3 weeks ago

Um... When I start the game, my cat starts and keeps sliding to the left. How do I fix this?

(view all replies)
Comment Reply

archmage archmage 4 months ago

To use the comment block you need to use the old beta version of scratch.

(view all replies)
Comment Reply

dearkids dearkids 4 months ago

How do you say a comment in the scratch program?

(view all replies)
Comment Reply

Dibbo222 Dibbo222 4 months, 2 weeks ago

gameman43 - if ur guys forever falling (say forever negative 3 y) then when u jump u have to make him jump at +6 y too counteract the movements - see my platform game if u want - crazy red guy game

(view all replies)
Comment Reply

lasc12 lasc12 4 months, 3 weeks ago

How do you get the beta version of scratch?

(view all replies)
Comment Reply

archmage archmage 4 months, 3 weeks ago

You need the beta version of scratch.

(view all replies)
Comment Reply

FPSFelix FPSFelix 4 months, 3 weeks ago

how do you make the "comment" blocks?

(view all replies)
Comment Reply

game04389 game04389 2 weeks, 4 days ago

What archmage said, you need the old beta version of scratch.

(view all replies)
Comment Reply

lasc12 lasc12 4 months, 3 weeks ago

How do you get abs of?

(view all replies)
Comment Reply

archmage archmage 4 months, 3 weeks ago

I am not sure what your problem is. Try uploading the buggy project.

(view all replies)
Comment Reply

GameMan43 GameMan43 4 months, 3 weeks ago

Like I have them forever falling but then when they jump they go down and don't really go up.

(view all replies)
Comment Reply

GameMan43 GameMan43 4 months, 3 weeks ago

I downloaded it and it still doesn't make sense. I can make them jump I just can't make them stay on platforms.

(view all replies)
Comment Reply

archmage archmage 5 months ago

abs is the the block with all the math methods.

(view all replies)
Comment Reply

IntellectComplexity IntellectComplexity 5 months ago

I couldn't find the "abs of _ < _" even though I downloaded the latest scratch

(view all replies)
Comment Reply

archmage archmage 5 months ago

Then just build the script from the picture in this project's background.

(view all replies)
Comment Reply

Rummy Rummy 5 months ago

I can't change any of it because downloading any project doesn't work for me:(

(view all replies)
Comment Reply

mobbyfett396 mobbyfett396 5 months, 1 week ago

i used this to help me make some of my games (link to project)

(view all replies)
Comment Reply

Shadow-Kun Shadow-Kun 5 months, 1 week ago

Very helpful! This should work wonders for DemonSlayer and any other games I make.

(view all replies)
Comment Reply

swasswa swasswa 5 months, 3 weeks ago

yes it has done that to me to but olny becase you need to get the new versoin of scratch becase it has some scripts the old one dose not like abs of.

(view all replies)
Comment Reply

kashyap kashyap 5 months, 3 weeks ago

Huh. It says key not found.

(view all replies)
Comment Reply