ScratchData LogoScratchData
Back to gdavid04's profile

Program the sprite

GDgdavid04•Created November 4, 2017
Program the sprite
0
2
24 views
View on Scratch

Instructions

Space - insert command Right arrow - start the program Left arrow - stop the program Drag the block away from the code window - remove the block Drag the blocks to move them Click the blocks to edit their properties Commands start - the script entry point, do not insert more than one stop - stop the script loop - loop the script wait - does nothing control down - move 1 line down in script control up - move 1 line up in script if obstacle - moves 1 line down in script if obstacle in front, otherwise continue if variable - moves 1 line down in script if variable is true, otherwise continue set variable true - sets the variable to true set variable false - sets the variable to false forward - move forward right - turn right left - turn left

Description

The script starts a little bit slow. To make it start faster, put the start block to the upper-left corner as closest as possible. Planned features - status bar - property editor for control down and control up - property editor for set variable true and set variable false - more variables - move x steps - turn around - property editor for if obstacle right and if obstacle left - random levels - import and export script and level

Project Details

Project ID184174603
CreatedNovember 4, 2017
Last ModifiedNovember 10, 2017
SharedNovember 4, 2017
Visibilityvisible
CommentsAllowed