Move () steps: Difference between revisions

From PenguinMod Wiki
Move () steps
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 11: Line 11:
There are two ways to make this block:
There are two ways to make this block:


* [[File:Workaround 2.png|500px]]
* Put a negative value to the block [[move back () steps]]
* [[File:Workafround.png|500px]]
* [[Go to x: () y: ()|go to x:]] [[() + ()|(]][[x position|(x position)]] [[() + ()|+]] [[() * ()|(]][[() of () (Operators)|(<nowiki>[sin v]</nowiki> of]] [[direction|(direction)]][[() of () (Operators)|)]] [[() * ()|* (]]steps[[() * ()|))]][[() + ()|)]] [[Go to x: () y: ()|y:]] [[() + ()|(]][[y position|(y position)]] [[() + ()|+]] [[() * ()|(]][[() of () (Operators)|(<nowiki>[cos v]</nowiki> of]] [[direction|(direction)]][[() of () (Operators)|)]] [[() * ()|* (]]steps[[() * ()|))]][[() + ()|)]]
{{DISPLAYTITLE:move () steps}}
{{DISPLAYTITLE:move () steps}}
[[Category:Stack Blocks]]
[[Category:Stack Blocks]]

Revision as of 10:42, 16 June 2024

Images needed

This article needs images or better quality images. You can help PenguinMod Wiki by adding the images or uploading them.

move () steps
...
Caption
Block Type Stack Block
Category / Extension Motion
Status Who tf uses status

The move () steps block is a Stack block and a Motion block. When used, it would move the sprite in a specified amount of steps to the direction the sprite's facing.

This block can be useful if you want the sprite to move to where ever you want without having to make complicated methods.

Workaround

There are two ways to make this block: