Jumping script!

brother helping sister here! so my sister is making a platformer and wanted to know how to make the player able to move while jumping! I don't know so could we get some help?
link: Snap! Build Your Own Blocks

Instead of stopping the main script, do something like this
if<key[up arrow v]pressed?>{
broadcast[jump v]::control
and then

when I recieve[jump v]::control hat
. . .

I just have separate scripts for movement and jumping.

when I jump and move I go up too much and don't land on the ground.


that's exactly what i said

it works if there is no broadcast.

You could also make this project mobile using Snap! Build Your Own Blocks and adding a jump button to jump.

I will try that later.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.