User contributions
Jump to navigation
Jump to search
- 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 +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..."
- 16:25, 18 March 2020 diff hist +349 N Wait Created page with "<c>wait</c> pauses execution of this script for some amount of time. See also: time, yield === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Me..."
- 16:22, 18 March 2020 diff hist +509 N Version Created page with "<c>version</c> gets a map with information about the version of MiniScript and the host environment that you're currently running. === Usage Notes === <c>version</c> will in..."
- 16:20, 18 March 2020 diff hist +570 N Values Created page with "<c>values</c> returns the values of a dictionary, or the characters of a string.(Returns any other value as-is.) See also: Indexes === Arguments === {| class="wikitable" |-..."
- 23:36, 15 March 2020 diff hist +629 N Code Created page with "<c>code</c> Return the Unicode code point of the first character of the given string. This is the inverse of `char`. May be called with function syntax or dot syntax. === A..."
- 23:19, 15 March 2020 diff hist +399 N Ceil Created page with "<c>ceil</c> Returns the "ceiling", i.e. closest whole number greater than or equal to the given number. See also: floor === Arguments === {| class="wikitable" |- ! Para..."
- 23:17, 15 March 2020 diff hist -2 Char current
- 23:16, 15 March 2020 diff hist +4 Char
- 23:16, 15 March 2020 diff hist +361 N Char Created page with "<c>char</c> Gets a character from its Unicode code point. See also: code === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''codeP..."
- 23:10, 15 March 2020 diff hist -23 BitOr current
- 23:09, 15 March 2020 diff hist -233 BitXor
- 23:09, 15 March 2020 diff hist +789 N BitXor Created page with "<c>bitXor</c> treats its arguments as integers, and computes the bitwise `xor`: each bit in the result is set only if the corresponding bit is set in exactly one (not zero or..."
- 23:04, 15 March 2020 diff hist +1 BitOr
- 23:03, 15 March 2020 diff hist -212 BitOr
- 23:02, 15 March 2020 diff hist +8 BitOr
- 23:02, 15 March 2020 diff hist +766 N BitOr Created page with "<c>bitOr</c> treats its arguments as integers, and computes the bitwise `or`: each bit in the result is set if the corresponding bit is set in either (or both) of the argument..."
- 22:55, 15 March 2020 diff hist +32 BitAnd current
- 22:51, 15 March 2020 diff hist +497 N BitAnd Created page with "<c>bitAnd</c> treats its arguments as integers, and computes the bitwise `and`: each bit in the result is set only if the corresponding bit is set in both arguments. === Arg..."
- 22:43, 15 March 2020 diff hist +3 Atan current
- 22:42, 15 March 2020 diff hist +758 N Atan Created page with "<c>atan</c> is a function that returns the arctangent of a value or ratio, that is, the angle (in radians) whose tangent is y/x. This will return an angle in the correct quad..."
- 22:38, 15 March 2020 diff hist +627 N Asin Created page with "<c>asin</c> is a function that returns the inverse sine, that is, the angle (in radians) whose sine is the given value. === Arguments === {| class="wikitable" |- ! Paramete..."