User contributions
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
		
		
		
		
		
	
- 03:34, 1 May 2020 diff hist +568 N PixelDisplay.print  Created page with "<c>PixelDisplay.print</c> draws some text to the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''str..."
 - 03:32, 1 May 2020 diff hist +4 PixelDisplay.getImage 
 - 03:29, 1 May 2020 diff hist +866 N PixelDisplay.getImage  Created page with "<c>PixelDisplay.getImage</c> returns a portion of the pixel display as an Image. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! M..."
 - 03:27, 1 May 2020 diff hist +1,428 N PixelDisplay.drawImage  Created page with "<c>PixelDisplay.drawImage</c> draws an Image, or a portion of an Image, to the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! D..."
 - 03:19, 1 May 2020 diff hist +409 N PixelDisplay.setPixel  Created page with "<c>PixelDisplay.setPixel</c> sets the color of a specific pixel within the display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !..." current
 - 02:48, 1 May 2020 diff hist -1 PixelDisplay.pixel  current
 - 02:48, 1 May 2020 diff hist +626 N PixelDisplay.pixel  Created page with "<c>PixelDisplay.pixel</c> returns the color of a specific pixel within the display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value..."
 - 02:45, 1 May 2020 diff hist +3 PixelDisplay.fillEllipse  current
 - 02:45, 1 May 2020 diff hist +559 N PixelDisplay.fillEllipse  Created page with "<c>PixelDisplay.fillEllipse</c> fills an ellipse defined by an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Ty..."
 - 02:42, 1 May 2020 diff hist +630 N PixelDisplay.drawEllipse  Created page with "<c>PixelDisplay.drawEllipse</c> draws (outlines) an ellipse defined by an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parame..." current
 - 02:36, 1 May 2020 diff hist +542 N PixelDisplay.fillRect  Created page with "<c>PixelDisplay.fillRect</c> fills an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !!..." current
 - 00:16, 29 April 2020 diff hist 0 PixelDisplay.drawRect 
 - 00:16, 29 April 2020 diff hist +4 PixelDisplay.drawRect 
 - 00:16, 29 April 2020 diff hist +607 N PixelDisplay.drawRect  Created page with "<c>Pixeldisplay.drawRect</c> draws (outlines) an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default V..."
 - 00:11, 29 April 2020 diff hist 0 PixelDisplay.fillPoly 
 - 00:09, 29 April 2020 diff hist +686 N PixelDisplay.fillPoly  Created page with "<c>PixelDisplay.fillPoly</c> fills a polygon on the pixel display. The ''points'' argument can be either a list of maps containing "x" and "y" values, or a list of 2-elem..."
 - 00:06, 29 April 2020 diff hist +4 PixelDisplay.drawPoly  current
 - 00:06, 29 April 2020 diff hist +737 N PixelDisplay.drawPoly  Created page with "<c>PixelDisplay.drawPoly</c> draws (outlines) a polygon on the pixel display. The ''points'' argument can be either a list of maps containing "x" and "y" values, or a list of..."
 - 00:03, 29 April 2020 diff hist +650 N PixelDisplay.line  Created page with "<c>PixelDisplay.line</c> draws a line on the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''x1'' ||..."
 - 23:56, 28 April 2020 diff hist +540 N PixelDisplay.clear  Created page with "<c>PixelDisplay.clear</c> clears, resets, and resizes this pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning..."
 - 23:50, 28 April 2020 diff hist +265 N PixelDisplay.scrollY  Created page with "<c>PixelDisplay.scrollY</c> This is an offset, in screen pixels, which makes the pixel display appear shifted down on screen (or up with negative values). == Example ==..." current
 - 23:48, 28 April 2020 diff hist +280 N PixelDisplay.scrollX  Created page with "<c>PixelDisplay.scrollX</c> is an offset, in screen pixels, which makes the pixel display appear shifted to the left on screen (or to the right with negative values). == Exam..." current
 - 23:46, 28 April 2020 diff hist 0 PixelDisplay.scale 
 - 23:43, 28 April 2020 diff hist 0 PixelDisplay.scale 
 - 23:43, 28 April 2020 diff hist +4 PixelDisplay.scale 
 - 23:42, 28 April 2020 diff hist +566 N PixelDisplay.scale  Created page with "<c>PixelDisplay.clear</c> is a scaling factor controlling how this pixel display is rendered on screen. The default value of 1 means that one pixel in the display draws as 1..."
 - 23:40, 28 April 2020 diff hist +280 N PixelDisplay.height  Created page with "<c>PixelDisplay.height</c> is the number of pixel rows in the display. This is a read-only value; to change the width and height of the display, use [[PixelDisplay.clear]..." current
 - 23:38, 28 April 2020 diff hist +1 PixelDisplay.width 
 - 23:37, 28 April 2020 diff hist +288 N PixelDisplay.width  Created page with "<c>PixelDisplay.width</c> is the number of pixel columns in the display. === Usage Notes === This is a read-only value; to change the width and height of the display, use P..."
 - 23:08, 12 April 2020 diff hist +903 N Sprite.tint  Created page with "<c>Sprite.tint:</c> Tint color to apply to the sprite image. A tint of <c>color.red</c>, for example, will make white pixels in the sprite image appear red; other colors..."
 - 23:07, 12 April 2020 diff hist -506 Sprite.rotation 
 - 22:04, 12 April 2020 diff hist +402 N Sprite.overlaps  Created page with "<c> Sprite.overlaps</c> checks whether this sprite overlaps (touches) another one, by comparing their bounds. === Arguments === {| class="wikitable" |- ! Parameter Name !!..."
 - 22:02, 12 April 2020 diff hist +565 N Sprite.contains  Created page with "<c>Sprite.contains</c> returns whether the sprite's world bounds contains the given x,y point (given in world coordinates). === Arguments === {| class="wikitable" |- ! Para..."
 - 21:58, 12 April 2020 diff hist 0 m Sprite.worldBounds  ZachStrout moved page Sprite.worldbounds to Sprite.worldBounds
 - 21:58, 12 April 2020 diff hist +32 N Sprite.worldbounds  ZachStrout moved page Sprite.worldbounds to Sprite.worldBounds current Tag: New redirect
 - 21:58, 12 April 2020 diff hist 0 m Sprite.localBounds  ZachStrout moved page Sprite.localbounds to Sprite.localBounds
 - 21:58, 12 April 2020 diff hist +32 N Sprite.localbounds  ZachStrout moved page Sprite.localbounds to Sprite.localBounds current Tag: New redirect
 - 21:55, 12 April 2020 diff hist +460 N Sprite.worldBounds  Created page with "<c>Sprite.worldbounds</c> returns the current bounds of the sprite in world coordinates. This is calculated by applying the sprite's current x, y, [..."
 - 21:53, 12 April 2020 diff hist +403 N Sprite.localBounds  Created page with "<c>sprite.localBounds</c> assigns a Bounds object to this property to define the sprite bounds in "local" coordinates. That means the bounds the sprite would have if it w..."
 - 21:52, 12 April 2020 diff hist +743 N Sprite.rotation  Created page with "<c>Sprite.rotation</c>: Tint color to apply to the sprite image. A tint of <c>color.red</c>, for example, will make white pixels in the sprite image appear red; other col..."
 - 21:49, 12 April 2020 diff hist +650 N Sprite.scale  Created page with "<c>Sprite.scale</c> is the scale factor of the sprite. A scale of 1 means that one pixel in the image appears as one pixel on screen. Setting scale=2 makes..."
 - 21:48, 12 April 2020 diff hist +275 N Sprite.y  Created page with "<c>Sprite.y</c> is the vertical position of the sprite, in Screen coordinates (adjusted by SpriteDisplay.scrollY. == Example == <ms>sp = new Sprite sp.image = file.l..."
 - 21:47, 12 April 2020 diff hist +30 Sprite.image 
 - 21:45, 12 April 2020 diff hist +270 N Sprite.x  Created page with "<c>Sprite.x</c> Horizontal position of the sprite, in Screen coordinates (adjusted by SpriteDisplay.scrollX. == Example == <ms>sp = new Sprite sp.image = file.loadIm..."
 - 21:44, 12 April 2020 diff hist +198 N Sprite.image  Created page with "<c>Sprite.image</c>: Image displayed by the sprite. == Example == <ms>sp = new Sprite sp.image = file.loadImage("/sys/pics/Wumpus.png") display(4).sprites.push sp</ms>..."
 - 21:38, 12 April 2020 diff hist +692 N SpriteDisplay.sprites  Created page with "<c>SpriteDisplay.sprites</c> is the list that contains all sprites in the display. Sprites are layered according to their order in this list, with sprites[0] at the back, an..."
 - 21:37, 12 April 2020 diff hist 0 SpriteDisplay.clear 
 - 21:36, 12 April 2020 diff hist +342 N SpriteDisplay.clear  Created page with "<c>SpriteDisplay.clear</c> Clears all sprites from the display (resetting .sprites to an empty list). It also resets SpriteDisplay.scrollX|.scroll..."
 - 21:35, 12 April 2020 diff hist +88 SpriteDisplay.scrollX 
 - 21:34, 12 April 2020 diff hist +491 N SpriteDisplay.scrollY  Created page with "<c>SpriteDisplay.scrollY</c>: Vertical scroll amount subtracted from the position of all sprites on the display. This is the standard way of making it appear that the world i..."