ScratchData LogoScratchData
Back to jinnes's profile

Demo Platforming Sprite with Define Block

JIjinnes•Created December 1, 2014
Demo Platforming Sprite with Define Block
4
3
171 views
View on Scratch

Instructions

Left and right arrow keys to move, space bar to jump.

Description

A sprite demonstrating the code needed to do basic platforming -- movement and jumping, affected by gravity, and sensing a particular color (black) as the "ground". Uses a Define block with the "Run without rendering" option to handle touching the ground; this avoids the odd "sinking and floating upward" effect that happens normally when reacting to the ground.

Project Details

Project ID36875594
CreatedDecember 1, 2014
Last ModifiedMarch 14, 2017
SharedDecember 1, 2014
Visibilityvisible
CommentsAllowed