Motion
Motion is a category that originated from Scratch that allows the control of sprite movement.
Scratch Blocks
move () steps
turn cw () degrees
turn ccw () degrees
go to ( v)
go to x: () y: ()
glide () secs to ( v)
glide () secs to x: () y: ()
point in direction ()
point towards ( v)
cchange x by ()
set x to ()
change y by ()
set y to ()
if on edge, bounce
set rotation style [ v]
(x position)
(y position)
(direction)
PenguinMod Blocks
move back () steps::motion
move [ v] () steps::motion
change by x: () y: ()::motion
point towards x: () y: ()
turn around::motion
if touching ( v), bounce::motion
move to stage [ v]::motion
Expansion
Motion Expansion is an extension in PenguinMod.
set my home::motion
go to home::motion
move () steps towards x: () y: ()::motion
move () % of the way to x: () y: ()::motion
turn @turnRight () degrees around x: () y: ()::motion
turn @turnLeft () degrees around x: () y: ()::motion
if touching x: () y: (), bounce::motion
manually fence::motion
(rotation style::motion)
<touching x: () y: ()?::motion>
<touching rectangle x1: () y1: () x2: () y2: ()?::motion>
Trivia
- Like in Scratch, no motion blocks are accessible through the Stage without tricks.
Motion JS-Code
The Javascript code for all motion blocks is open source and can be found on PenguinMod's Github
v • e Categories Nav | |
---|---|
Vanilla | Motion · Looks · Sound · Variables (Variables · Lists) · Events · Control · Sensing · Operators · My Blocks |
Comments
Penguin Mod
(/¯'o')/¯ ¯\('o'¯\)
-- Tymaster (talk) 04:34, 4 June 2024 (UTC)