Scratch is dumb but useful

From Esolang
Jump to navigation Jump to search

Scratch is dumb but useful is a esolang made by User:Yoyolin0409, it is made to response to the person who invented the esolang Esolang Simply Created To Annoy People Who Dislike Scratch and Scratch is dumb,User:Yoyolin0409 wants to annoy people who dislike scratch and who like scratch. This esolang will tell you that Scratch IS useful but dumb! This esolang is scratch's Text version

Commands

The esolang Scratch is "dumb but useful" and has a grid with an x-axis ranging from -272 to 272 and a y-axis ranging from -214 to 215.(That's so stupid. What kind person would set the x and y axes of their grid so precisely?), In addition, commands starting with a capital letter refer to things that were not present in the original version but were replaced by mouse operations.

Command Description
Add <str> Add an entity at a random position on the grid. The default angle is 90 degrees, which is the right side.(wow wth default is right side????), The default size is 100, The default "Show" is True.
Select <EntityName> Select an entity to operate on.
Do not select <EntityName> Stop operation entity.
move <num> steps Move the selected entity to in front of the entity by <num> squares. num can also be a variable.
turn ⟳ <num> degrees num must be a multiple of 45 (due to a design flaw in Yoyolin0409). It will rotate an entity's front direction to the right by num degrees, which is the angle it faces plus num.
turn ↺ <num> degrees num must be a multiple of 45 (due to a design flaw in Yoyolin0409). It will rotate an entity's front direction to the left by num degrees, which is the angle it faces minus num.
go to random position The entity's location is moved to a random grid cell.
Call mouse-pointer <x,y> Place a mouse-pointer marker on the specified grid cell. There can be a maximum of 1 mouse-pointer
go to mouse-pointer Go to mouse-pointer.
go to <EntityName> Go to <EntityName>.
go to x:<x> y:<y> Go to specified grid cell.
glide <num> secs to random position The entity's location is moved to a random grid cell. When moving, it will always follow the shortest route and distribute the number of steps evenly within the specified time.
glide <num> secs to mouse-pointer Go to mouse-pointer. When moving, it will always follow the shortest route and distribute the number of steps evenly within the specified time.
glide <num> secs to <EntityName> Go to <EntityName> When moving, it will always follow the shortest route and distribute the number of steps evenly within the specified time.
glide <num> secs to x:<x> y:<y> Go to specified grid cell. When moving, it will always follow the shortest route and distribute the number of steps evenly within the specified time.
point in direction <num> num must be a multiple of 45 (due to a design flaw in Yoyolin0409). This will cause the entity to turn at the specified angle.
point towards mouse-pointer This will cause the entity to turn at an angle that is approximately a multiple of 45 degrees towards the mouse-pointer.
point towards <EntityName> This will cause the entity to turn at an angle that is approximately a multiple of 45 degrees towards the <EntityName>.
change x to <num> Add <num> to x
set x to <num> Set x to <num>
change y to <num> Add <num> to y
set y to <num> Set y to <num>
if on edge, bounce When x or y is at an edge, use + or - coordinates to move the entity to a location that is not at the edge.