Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » When my character moves one way and I stop moving I want it to be one one costume facing that way and facing another way when going another way
- martionsgames205
-
2 posts
When my character moves one way and I stop moving I want it to be one one costume facing that way and facing another way when going another way
Sorry if it doesnt make sense
Last edited by martionsgames205 (Yesterday 21:53:48)
- Minecraft_Master3964
-
500+ posts
When my character moves one way and I stop moving I want it to be one one costume facing that way and facing another way when going another way
Does this help?
This should make it so when the key is pressed, it moves and switches, and remains that way until keys are pressed again.
if <key [(LEFT button) v] pressed?> then
change x by (-10)
switch costume to (left v)
end
if <key [(RIGHT button) v] pressed?> then
change x by (10)
switch costume to (right v)
end
...
This should make it so when the key is pressed, it moves and switches, and remains that way until keys are pressed again.
Last edited by Minecraft_Master3964 (Yesterday 23:29:48)
- martionsgames205
-
2 posts
When my character moves one way and I stop moving I want it to be one one costume facing that way and facing another way when going another way
Thanks so much
- Discussion Forums
- » Help with Scripts
-
» When my character moves one way and I stop moving I want it to be one one costume facing that way and facing another way when going another way