Perfect Sprite Movement

Your browser needs java to view projects. Click here to install Java.

user_icon archmage shared it 1 year, 9 months ago
user_icon Based on archmage's project
3050 views, 8 taggers, 33 people love it, 125 remixes by 56 people, 654 downloads, in 9 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
custom custom 10 hours, 37 minutes ago

these are the best games ever in the world

godwin godwin 17 hours, 39 minutes ago

Cool!

dearkids dearkids 1 month, 3 weeks ago

Wow. How do people make stuff like this?

Crusher44 Crusher44 1 month, 4 weeks ago

i'm tired of people tagging waffles doesn'tit annoy you ):<

godwin godwin 17 hours, 40 minutes ago

WAFFLES! It was supposed to be something to see on the website most tagged waffles or something like that

(view all replies)
juststickman juststickman 1 month, 1 week ago

I think he said that he thought of it...

SJMSim SJMSim 2 months ago

I would like to make a Mario game for my first project and I would like to use this code. Is that all right with you? I will give you full credit.

archmage archmage 2 months ago

Its ok, I made this for others to use in their projects.

Maroon Maroon 2 months, 2 weeks ago

i glitched my way into a glitchy area.

nitromegamer nitromegamer 3 months ago

AWESOME!

1675 1675 3 months, 3 weeks ago

cool but make the sprite stop a bit later when moving into stuff! cool! how old are you (in 1 august 2009). can you see my multiplayer 3d air turret jet destroyer V4 and comment what i could do to improve

Reamm Reamm 3 months, 3 weeks ago

Archmage I need help with scrolling go to my project called Boy RPG and comment there

ArchDude ArchDude 4 months ago

DUDE NOT WOKING AKE ON 1.4

archmage archmage 4 months ago

works for me

(view all replies)
boogernator boogernator 4 months, 2 weeks ago

using this to make a fun game!

sircalico1 sircalico1 4 months, 2 weeks ago

i did to burningsoul

burningsoul burningsoul 4 months, 4 weeks ago

I fell off the side of the rock :(

Zapdos2000 Zapdos2000 4 months, 2 weeks ago

me too. :{

happyman2 happyman2 5 months, 2 weeks ago

good.

GreatGameDesigner GreatGameDesigner 5 months, 2 weeks ago

i got stuck in a glitch zone.

archmage archmage 5 months, 2 weeks ago

As long as the sensors worked its fine. Its not my fault if you jump off the screen.

(view all replies)
SpriteX SpriteX 5 months, 2 weeks ago

i mean this happens online

SpriteX SpriteX 5 months, 2 weeks ago

what happened? when i saw this project it worked great! but now at time the cat doesnt even stop when it hits something....it just goes right through it...i think someone when on this and changed the code...

archmage archmage 5 months, 2 weeks ago

Its the new java player.

(view all replies)
FlyingPenguinQ FlyingPenguinQ 5 months, 2 weeks ago

I made one with less glitches and no sliding:(link to project)

archmage archmage 5 months, 2 weeks ago

The sliding can be reduced if you reduce the number than the xVel variable is multiplied by. Yours is good, but the scripts could be better.

(view all replies)
kgordon kgordon 6 months, 1 week ago

Thanks for creating this project, it inspired me to try it. (link to project)

Dialga2004 Dialga2004 9 months, 2 weeks ago

cool!

cp3000 cp3000 10 months ago

can you do a smaller version? even when i try to shrink it, the movement gets glitched up.

archmage archmage 10 months ago

You need to shrink the sensor sprites as well. The sensors should be in the same relative position. The ground one should be just below the feet, the top one is above the head, and the side ones are at the edges of the sprite.

(view all replies)
nintendo_fan nintendo_fan 10 months ago

what?!?!?!

MrMadMan MrMadMan 10 months ago

sweet do a tut on other stuff

Lotia Lotia 10 months ago

can u make a game for me? It's called Theifs of moon spangled isle. the object of the game is to get to the ship

archmage archmage 10 months ago

You can't make a face that is cute enough for that. If it took me 20 minutes then ok, but that game would take many hours.

(view all replies)
archmage archmage 10 months ago

Make a game for you? But that takes many hours to create! It just isn't worth my time.

(view all replies)
funnyman1120 funnyman1120 10 months ago

archmage can you do me a favor??????????????????????????????/

archmage archmage 10 months ago

Just use the code from this project. That is something you can do yourself and I don't like doing things for people who are lazy.

funnyman1120 funnyman1120 10 months, 1 week ago

archmage can you do me a really fast favor my animorph game can you make it so it bumps into the walls and stuff please????????????????????????

Buddy_ca111 Buddy_ca111 10 months, 2 weeks ago

thanks Archmage, Your the best! Can I use this to try and make a ai fighting engine?

archmage archmage 10 months, 2 weeks ago

I guess so but I already made one you can use. (link to project)

(view all replies)
archmage archmage 10 months, 2 weeks ago

sure

(view all replies)
big-bang big-bang 10 months, 3 weeks ago

Wow, I remember when this was top viewed! I'm old... lol

DusceleronX DusceleronX 11 months, 2 weeks ago

Not "perfect sprite movement". The cat can barely ascend hills and sometimes stops before reaching an obstruction!

archmage archmage 10 months, 4 weeks ago

Then why don't you show me how to make it better.

(view all replies)
Cookies100 Cookies100 1 year ago

how do you make the cat stand on things? i don't understand the codes of things... and i tried to find out by downloading it but...

TacticalAssassin TacticalAssassin 1 year ago

Dude, your a freaking miracle worker. A miracle worker!

funkymonkey funkymonkey 1 year ago

what do you mean collisions?

archmage archmage 1 year ago

the cat colides with the walls and doesn't go into them.

(view all replies)
b2bombomb b2bombomb 1 year, 2 months ago

thx archmage that was reely helpful!

Bluekingice Bluekingice 1 year, 3 months ago

its good, but when you fall off he rock and off the edge, the cat won't come back if you press flag

archmage archmage 1 year, 3 months ago

thats ok.

thrash240 thrash240 1 year, 3 months ago

i had a way using color sensing but it was bumpy thanks i hope i can figure it out!

inuwali inuwali 1 year, 4 months ago

Well done! Simple and with good results.

Maker Maker 1 year, 4 months ago

OMG I tried doing the same thing! I used multiple colors on the corners of my sprites but It doesn't seem half as good as yours! I will try to implement your way into my game. Thanks Archmage!

FoxDur FoxDur 1 year, 4 months ago

cool!

Enzo1997 Enzo1997 1 year, 5 months ago

(link to gallery) I made a gallery for this and stuff like it

gaarathesand0011 gaarathesand0011 1 year, 5 months ago

dude im so using this

game04389 game04389 1 year, 5 months ago

That's cool, how do you do it?

archmage archmage 1 year, 5 months ago

Download the project and look at the code.

gaarathesand0011 gaarathesand0011 1 year, 6 months ago

please can you tell how you did this and if i can use in my game

Enzo1997 Enzo1997 1 year, 5 months ago

Download and copy the code

wormboy wormboy 1 year, 6 months ago

Can you show me how you did this!!! It's awsome!!! :-)

archmage archmage 1 year, 6 months ago

You can see how I did it if you download the project and look at the code.

Youssef900 Youssef900 1 year, 6 months ago

cool

Cyclone103 Cyclone103 1 year, 6 months ago

interesting.....just out of curiosity, did you incorporate terminal velocity? otherwise he will accelerate to a speed far beyond what is physically possible. My terminal velocity calculator is working now, so maybe you could figure out what his approximate TV is.

mudkip mudkip 1 year, 6 months ago

It would seem that in scratch it would be more reasonable to base the terminal velocity on falling through floors and its effect on gameplay as opposed to realism. But your (adressing Cyclone) terminal velocity calculator is quite cool

(view all replies)
archmage archmage 1 year, 6 months ago

No there isn't terminal velocity. He can't really fall that far down so I didn't bother putting it in.

(view all replies)
freakydrummer freakydrummer 1 year, 6 months ago

umm I have a problem, I need gow to figure out how to make him slide on a ledge and make the sprite move accordingly. Will you please help me?

archmage archmage 1 year, 6 months ago

Just use sencor sprites to check if the player sprite is touching a slope, and if it is slide the sprite.

(view all replies)
pippintoon pippintoon 1 year, 6 months ago

2008 veiws lol

axleman1011 axleman1011 1 year, 6 months ago

LAWLZ IF YOU GET THE CAT ON THE BROWN AND FALL OFF BUT HIT LEFT AS YOU ARE FALLING HE IS HANING BY HIS TAIL! ROTFLMAO

m44 m44 1 year, 7 months ago

cool! check out my projects.

terminator68 terminator68 1 year, 7 months ago

wow!

hithere hithere 1 year, 7 months ago

it doest turn around thats how i make mt so they turn around so it doesent look like its walking backwards any way the movements pretty sommoth im going to donload this when i can get on a diferent computer .

dragonfireB dragonfireB 1 year, 7 months ago

jump over the rock! it's super cool!!

archmage archmage 1 year, 8 months ago

My scrolling engine uses this code already.

jkingshooter jkingshooter 1 year, 8 months ago

is thee anyway to combine this with your perfect scrolling engine?

rcuya rcuya 1 year, 8 months ago

archmage you are so smart!!!!!!!

lobby417 lobby417 1 year, 8 months ago

Is this made in MOOVIL?

ravenedgarpoe ravenedgarpoe 1 year, 8 months ago

lol, I made the cat climb the mountain and fall off the other side. He can't get back. LOL!!!

archmage archmage 1 year, 8 months ago

Yes, if you move the ground sensor further down you can make it so that the cat doesn't go in the ground at all.

Ketchup13 Ketchup13 1 year, 8 months ago

great!! only thing is, im not sure you can do anything, but on the brown part if you jump and are coming down then collide with the brown he get a little tiny bit stuck in it. otherwise it is perfect

mkolpnji mkolpnji 1 year, 8 months ago

Umm... I created a sort of less glitchy movement thing than the change x or move by "" steps way with gliding its (link to project)

Please Wait...