Discuss Scratch

spyro737
New Scratcher
1 post

how to make my character walk backwards

I need help in this game that i'm making but i need to know how to make my character walk backwards please help
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-

Spyro737 ain't taking no for an answer
ErnieParke
Scratcher
1000+ posts

how to make my character walk backwards

I'd really like to see your current movement scripts before I go anywhere. Could I see them?

With regards,

ErnieParke

Last edited by ErnieParke (June 30, 2014 19:02:20)

BoltBait
Scratcher
1000+ posts

how to make my character walk backwards

If your game uses the “move (10) steps” block in order to move forward, just use a negative number to walk backwards. Like “move (-10) steps”.

Hope this helps.
Braeden5454
Scratcher
500+ posts

how to make my character walk backwards

If you Dont use steps you can just make a program that changes the x
andre_rifaut
Scratcher
100+ posts

how to make my character walk backwards

MMHMMH
Scratcher
100+ posts

how to make my character walk backwards

Maybe
move-10steps
for backwards and
move10steps
for forwards.
purplekitten10
New Scratcher
1 post

how to make my character walk backwards

Try putting this in

When down key pressed
Change x by -3



Scratcher4679
New Scratcher
1 post

how to make my character walk backwards

im trying to make a game where w is up, s is down, a is back, and d is forwards, the -10 one was the closest i got but it didnt work unless i hit d before it because -10 w is s and vice versa, an ideas?
HardClaw57
Scratcher
500+ posts

how to make my character walk backwards

Scratcher4679 wrote:

im trying to make a game where w is up, s is down, a is back, and d is forwards, the -10 one was the closest i got but it didnt work unless i hit d before it because -10 w is s and vice versa, an ideas?

Use this on your player sprite-

whenclickedforeversetrotationstyleleft-rightifkeyleft arrowpressed?thenpointindirection-90movehowevermanystepsyoumaywantstepsifkeyright arrowpressed?thenpointindirection90movehowevermanystepsyoumaywantstepsifkeyup arrowpressed?thenpointindirection0movehowevermanystepsyoumaywantstepsifkeydown arrowpressed?thenpointindirection180movehowevermanystepsyoumaywantsteps

Last edited by HardClaw57 (June 19, 2015 18:45:24)

deck26
Scratcher
1000+ posts

how to make my character walk backwards

Scratcher4679 wrote:

im trying to make a game where w is up, s is down, a is back, and d is forwards, the -10 one was the closest i got but it didnt work unless i hit d before it because -10 w is s and vice versa, an ideas?
Please don't necropost - the last message was nearly a year before yours. Create a new topic for your question instead.
HardClaw57
Scratcher
500+ posts

how to make my character walk backwards

deck26 wrote:

Scratcher4679 wrote:

im trying to make a game where w is up, s is down, a is back, and d is forwards, the -10 one was the closest i got but it didnt work unless i hit d before it because -10 w is s and vice versa, an ideas?
Please don't necropost - the last message was nearly a year before yours. Create a new topic for your question instead.

Wait this was outdated? Never knew
pixelart5
Scratcher
16 posts

how to make my character walk backwards

Chose the “When ‘space’ key pressed” block and make adjustments so that one of these blocks says “When ‘left/down’ key pressed. Then add these blocks.
Left: ”Change x by -__“
Down:”Change y by -__"

The blanks stand for however many steps you want your sprite to take.
HardClaw57
Scratcher
500+ posts

how to make my character walk backwards

pixelart5 wrote:

Chose the “When ‘space’ key pressed” block and make adjustments so that one of these blocks says “When ‘left/down’ key pressed. Then add these blocks.
Left: ”Change x by -__“
Down:”Change y by -__"

The blanks stand for however many steps you want your sprite to take.

That's a less efficient way to do it, especially in a game. My suggestion is a bit better since there is no “jittering” when you hold the key, so you can easily move in a constant direction.
FilipeTales
Scratcher
5 posts

how to make my character walk backwards

to walk backwards:
move-10steps
jamy_hensley
Scratcher
100+ posts

how to make my character walk backwards

Apart the -10 steps you may also consider using some sort of previous costume. It should give a moon walk feeling. What do you think about this?

whenclickedforevermove-10stepsswitchcostumetocostume#-1
JoshMoore8
Scratcher
2 posts

how to make my character walk backwards

spyro737 wrote:

I need help in this game that i'm making but i need to know how to make my character walk backwards please help
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-

Spyro737 ain't taking no for an answer

Well im trying to find that out to ill give you the answer when I find it today well in 5 secs
deck26
Scratcher
1000+ posts

how to make my character walk backwards

JoshMoore8 wrote:

spyro737 wrote:

I need help in this game that i'm making but i need to know how to make my character walk backwards please help
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-

Spyro737 ain't taking no for an answer

Well im trying to find that out to ill give you the answer when I find it today well in 5 secs
I'm sure they'll be relieved after waiting 3 years!

Please check the date before posting.
Daniel6476
Scratcher
1 post

how to make my character walk backwards

the negative 10 was helpful
YaBoi2019
Scratcher
1 post

how to make my character walk backwards

Just copy the costume for walking forwards and then reverse it horizontally
ifkeya]pressed?thenswitchcostumeto move-10steps
_Silverhawk_
Scratcher
92 posts

how to make my character walk backwards

move-10steps

Powered by DjangoBB