ScratchData LogoScratchData
Back to ksdavidc's profile

NSBBP 02 Nested repeat Jumping no pull up using repeats

KSksdavidc•Created July 15, 2021
NSBBP 02 Nested repeat Jumping no pull up using repeats
0
0
1 views
View on Scratch

Instructions

RIght cat uses nested repeats to only jump "as many times as touching the ground and up pressed. " and to fall if not touching the ground. when @greenFlag clicked set [how fast moving up and down v] to [-5] forever change y by (<not <touching [Ground v]?>> * (how fast moving up and down)) repeat ((1) * <touching [Ground v]?>) repeat (<key [up arrow v] pressed?> * (5)) change y by ((-5) * (how fast moving up and down)) end end end

Project Details

Project ID553368961
CreatedJuly 15, 2021
Last ModifiedMay 31, 2022
SharedJuly 15, 2021
Visibilityvisible
CommentsAllowed