User contributions
Jump to navigation
Jump to search
- 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.worldBounds ZachStrout moved page Sprite.worldbounds to Sprite.worldBounds
- 21:58, 12 April 2020 diff hist +32 N Sprite.localbounds ZachStrout moved page Sprite.localbounds to Sprite.localBounds current Tag: New redirect
- 21:58, 12 April 2020 diff hist 0 m Sprite.localBounds ZachStrout moved page Sprite.localbounds to Sprite.localBounds
- 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..."
- 21:32, 12 April 2020 diff hist +8 SpriteDisplay.scrollX
- 21:32, 12 April 2020 diff hist +403 N SpriteDisplay.scrollX Created page with "<c>SpriteDisplay.scrollX</c>: Horizontal scroll amount subtracted from the position of all sprites on the display. This is the standard way of making it appear that the world..."
- 16:27, 18 March 2020 diff hist +488 N Yield Created page with "<c>yield</c> pauses the execution of the script until the next "tick" of the host app. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning..."