Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with scripts.
- Aaksha
-
3 posts
Help with scripts.
Can you all pls tell the code how can I make the sprite that jump and if I click the right or the left arrow key I need it should go that way and jump towards the block?
Thanks and regards,
Aaksha.![](//cdn.scratch.mit.edu/scratchr2/static/__9ecc54ae4d2c87ba18228b48cd4c0697__/djangobb_forum/img/smilies/smile.png)
Thanks and regards,
Aaksha.
![](http://cdn.scratch.mit.edu/scratchr2/static/__9ecc54ae4d2c87ba18228b48cd4c0697__/djangobb_forum/img/smilies/smile.png)
- scratchgaming2222
-
500+ posts
Help with scripts.
I tried
When <<right arrow v>> and <<space v>>> key pressed ::events hat
Repeat (11)
Change x by (10)
Change y by (9)
Repeat (11)
Change y by (-9)
End
End
Last edited by scratchgaming2222 (Oct. 4, 2021 02:19:44)
- scratchgaming2222
-
500+ posts
Help with scripts.
You can fix this scratchblocks code and put it into the project I triedWhen <<right arrow v>> and <<space v>>> key pressed ::events hat
Repeat (11)
Change x by (10)
Change y by (9)
Repeat (11)
Change y by (-9)
End
End
- Discussion Forums
- » Help with Scripts
-
» Help with scripts.