Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help on script please
- 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
- 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.
Remember to credit the source in which you had gotten the cat gif from.
- ChillsChill
- Scratcher
22 posts
Help on script please
Ok I will credit NITW 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.
- Discussion Forums
- » Help with Scripts
- » Help on script please