Pen: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox Extension
|extension_desc = Draw with your sprites.
|extension_img=PenExtension.png}}
{{Split|Pen and Pen+}}
The '''Pen''' extension is an extension that originally comes from Scratch which allows sprites to paint on the backdrop.
==Scratch Blocks==
*[[erase all|<sb>erase all</sb>]]
*[[stamp|<sb>stamp</sb>]]
*[[pen down|<sb>pen down</sb>]]
*[[pen up|<sb>pen up</sb>]]
*[[set pen color to () (color input)|<sb>set pen color to [#ff0000]</sb>]]
*[[change pen () by ()|<sb>change pen (color v) by (10)</sb>]]
*[[set pen () to ()|<sb>set pen (color v) to (50)</sb>]]
*[[change pen size by ()|<sb>change pen size by (1)</sb>]]
*[[set pen size to ()|<sb>set pen size to (1)</sb>]]
===Legacy===
* [[set Pen Shade to ( ) (block)|<sb>set pen shade to ()</sb>]]
* [[change pen shade by ()|<sb>change pen shade by ()</sb>]]
* [[set pen color to ()|<sb>set pen color to ()</sb>]]
* [[change pen color by ()|<sb>change pen color by ()</sb>]]
== New Blocks ==
== New Blocks ==


* [[set print font to ( )|set Print Font to ( ) (block)]]
* [[set print font to ()]]
* [[set print font size to ( )|set Print Font Size to ( ) (block)]]
* [[set print font size to ()]]
* [[set print font color to ( )|set Print Font Color to ( ) (block)]]
* [[set print font color to ()]]
* [[set print font weight to ( )|set Print Font Weight to ( ) (block)]]
* [[set print font weight to ()]]
* [[turn print font italics [ ]|turn Print Font Italics ( ) (block)]]
* [[turn print font italics ()|turn print font italics <nowiki>[]</nowiki>]]
* print ( ) on x: ( ) y: ( )
* [[print () on x: () y: ()]]
* preload image ( ) as ( )
* preload image () as ()
* unload image ( )
* unload image ()
* draw image ( ) at x: ( ) y : ( )
* draw image ( ) at x: ( ) y : ( )
* draw image ( ) at x: ( ) y : ( ) width: ( ) height: ( ) pointed at: ( )
* draw image ( ) at x: ( ) y : ( ) width: ( ) height: ( ) pointed at: ( )
Line 14: Line 34:
* use ( ) to draw a square on x: ( ) y : ( ) width: ( ) height: ( )
* use ( ) to draw a square on x: ( ) y : ( ) width: ( ) height: ( )
* draw triangle [ x: ( ) y: ( ) x: ( ) y: ( ) x: ( ) y: ( ) ] with fill ( )
* draw triangle [ x: ( ) y: ( ) x: ( ) y: ( ) x: ( ) y: ( ) ] with fill ( )

=== Legacy ===
* [[set pen shade to ( )|set Pen Shade to ( ) (block)]]
* change pen shade by ( )
* set pen color to ( )
* change pen color by ( )

== Pen+ ==
== Pen+ ==


Line 72: Line 85:
* turn advanced setting ( ) ( )
* turn advanced setting ( ) ( )
* set [ ] to ( )
* set [ ] to ( )
{{ExtensionsNav}}
[[Category:Vanilla Extensions]]

Latest revision as of 16:49, 3 July 2024

Pen
Caption
Description Draw with your sprites.
Link fortnite.com
Added fortnite...

Split

This article is a candidate for splitting into Pen and Pen+. You can discuss this on the talk page.

The Pen extension is an extension that originally comes from Scratch which allows sprites to paint on the backdrop.

Scratch Blocks

Legacy

New Blocks

Pen+

Pen Properties

  • < pen is down? >
  • ( pen ( ) )
  • draw dot at ( ) ( )
  • draw line from ( ) ( ) to ( ) ( )

Square Pen Blocks

  • stamp pen square
  • stamp pen square with the texture of ( )
  • set pen square's ( ) to ( )
  • ( Get pen square's ( ) )
  • tint pen square to ( )
  • reset square Attributes

Triangle Blocks

  • set triangle filter mode to ( )
  • set triangle point ( )'s ( ) to ( )
  • set triangle's ( ) to ( )
  • tint triangle to ( )
  • ( get triangle point ( )'s ( ) )
  • reset triangle attributes
  • draw triangle between ( ) ( ) , ( ) ( ) and ( ) ( )
  • draw textured triangle between ( ) ( ) , ( ) ( ) and ( ) ( ) with the texture ( )

Color

  • ( Red ( ) Green ( ) Blue ( ) )
  • ( Hue ( ) Saturation ( ) Value ( ) )

Images

  • set imported images wrap mode to ( )
  • add blank image that is ( ) and the size of ( ) , ( ) named ( ) to Pen+ Library
  • add image named ( ) from ( ) to Pen+ Library
  • remove image named ( ) from Pen+ Library
  • < does ( ) exist in Pen+ Library >
  • ( get data uri for costume ( ) )
  • ( get the ( ) of ( ) in pen+ costume library )
  • set pixel ( ) ( )'s color to ( ) in ( )
  • ( get pixel ( ) ( )'s color in ( ) )
  • ( get data uri of ( ) in the pen+ costume library )

Advanced Options

  • turn advanced setting ( ) ( )
  • set [ ] to ( )
ve Extension Navigation
Vanilla Music  · Pen  · Animated Text^  · Video Sensing  · Text to Speech  · Translate  · Makey Makey  · micro:bit  · LEGO MINDSTORMS EV3  · LEGO BOOST  · LEGO Education WeDo 2.0  · Go Direct Force & Acceleration
TurboWarp Files  · Physics  · Clones+  · Skins  · HTTP  · CloudLink  · McUtils  · GamePad  · Clipping and Blending  · Pointer Lock  · Mouse Cursor  · TurboWarp Blocks
PenguinMod Stage Camera  · Sound Systems  · Sound Waves  · Motion  · Events  · Control  · Sensing  · Operators  · JSON  · Custom Styles  · Tweening  · Tailgating  · Tile Grids  · Canvas Effects  · Multiple Timers  · Temporary Variables  · Runtime Modifications  · Font Manager  · Storage  · CloudLink  · Scripts  · Pang API  · 3D Math  · Extra Mathematics  · Random Utilities  · LZ Compress  · Prism  · Odd Messages  · PenguinGPT  · HTML iframe Elements  · Color Picker  · Colors  · All Menus  · Labels  · Perlin Noise  · CATS  · Printing  · Scratch Authentication  · JavaScript  · Easy Save*  · XML*  · Debugging*  · 3D Extension*  · 3D Physics*  · 3D Virtual Reality*  · Interfaces*  · Packager Applications*  · Inline Blocks*  · Pathfinding*  · Animation*  · Virtual Reality*  · PenguinMod Extra Extensions
Former Files  · Clone Communication  · PenguinMod Permissions  · Website Request Blocks  · OOP  · HTML Canvas  · Unite  · Advanced Text*
April Fools Test Extension  · Christmas  · an amazing extension  · Epic utilities  · image blocks  · fire in the hole  · the doo doo extension
Key
*: Work in progress or never released  · ^: Scratch Lab