Discuss Scratch

ChillsChill
Scratcher
22 posts

Help on script please

So I set up walking code and it works perfect but, when I press right arrow/d I don't want it do do the turn around animation unless I am looking left and then press the right arrow/d https://scratch.mit.edu/projects/542144881/ here's my project if you need to see the scripting, don't copy please. (the sprite is Mae) the game is Night in the Woods
Djayh
Scratcher
24 posts

Help on script please

I will take a look for you.
MasterofTheBrick
Scratcher
1000+ posts

Help on script please

Your script always switches to the previous costume, not the next. So when your code switches the costume to “idle”, the costumes before this one will always be the turn around animation. You can either reorder the costumes in your editor, or use conditional blocks to skip the turning animation costumes.

Remember to credit the source in which you had gotten the cat gif from.
ChillsChill
Scratcher
22 posts

Help on script please

MasterofTheBrick wrote:

Your script always switches to the previous costume, not the next. So when your code switches the costume to “idle”, the costumes before this one will always be the turn around animation. You can either reorder the costumes in your editor, or use conditional blocks to skip the turning animation costumes.

Remember to credit the source in which you had gotten the cat gif from.
Ok I will credit NITW

Powered by DjangoBB