User contributions
Jump to navigation
Jump to search
- 03:56, 11 March 2020 diff hist +43 N Category:Numeric Functions Created page with "The functions below all operate on numbers." current
- 03:56, 11 March 2020 diff hist +31 Abs current
- 03:56, 11 March 2020 diff hist +388 N Acos Created page with "The <msinline>acos</msinline> function returns the inverse cosine, that is, the angle (in radians) whose cosine is the given value. === Arguments === {| class="wikitable" |..." current
- 03:53, 11 March 2020 diff hist +314 N Abs Created page with "The <msinline>abs</msinline> function returns the absolute value of the given number. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning..."
- 16:53, 8 March 2020 diff hist +433 How to detect a click on a sprite
- 15:18, 8 March 2020 diff hist +53 N File:ScreenCoordinates.png Illustration of screen coordinates. current
- 15:17, 8 March 2020 diff hist +377 N Screen coordinates Created page with "In Mini Micro, screen coordinates refers to the number of pixels from the bottom-left corner of the screen. These are the coordinates returned by mouse.x and mouse...." current
- 14:42, 8 March 2020 diff hist +9 Mouse
- 14:40, 8 March 2020 diff hist +564 N Mouse Created page with "In Mini Micro, the <msinline>mouse</msinline> module is a small collection of functions related to detecting the mouse state, and controlling display of the mouse cursor...."
- 14:35, 8 March 2020 diff hist +4 Mouse.button
- 14:28, 8 March 2020 diff hist +987 N Mouse.button Created page with "In Mini Micro, the mouse.button function returns whether a given mouse button is currently pressed. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default..."
- 14:16, 8 March 2020 diff hist +30 How to detect a click on a sprite →Example
- 14:15, 8 March 2020 diff hist +68 N File:SpriteClickDemo.png Screen shot for How to detect a click on a sprite. current
- 14:14, 8 March 2020 diff hist +1,312 N How to detect a click on a sprite Created page with "To detect a mouse click on a sprite, give the sprite a localBounds, and then call .contains on the sprite, passing in mouse. Th..."
- 22:21, 7 March 2020 diff hist +45 m How to make a sprite translucent
- 22:21, 7 March 2020 diff hist +118 How to make a sprite translucent
- 22:20, 7 March 2020 diff hist +30 How to make a sprite translucent →Example
- 22:19, 7 March 2020 diff hist +83 N File:HowToFadeSprite.png Screen shot from the example on How to make a sprite translucent. current
- 22:18, 7 March 2020 diff hist +881 N How to make a sprite translucent Created page with "You can change the opacity of a sprite by using the alpha channel of the tint color. An alpha value of 255 (or FF in hex) is completely opaque; an alpha value of zero is comp..."
- 16:35, 6 March 2020 diff hist +108 How to point a sprite at a target →Example
- 16:34, 6 March 2020 diff hist +35 How to point a sprite at a target →Example
- 16:33, 6 March 2020 diff hist +111 N File:HowToPointScreenshot.png Screen shot of the How to point a sprite at a file code example, in several different states.
- 13:58, 6 March 2020 diff hist +366 How to move a sprite forward
- 13:56, 6 March 2020 diff hist +1,068 N How to move a sprite forward Created page with "Move a sprite in its "forward" direction (i.e. in the +X direction when the sprite is not rotated) by using the cos and sin functions, as shown below. Note that cos..."
- 14:15, 5 March 2020 diff hist +53 How to point a sprite at a target
- 14:14, 5 March 2020 diff hist +793 N How to move a sprite towards a target Created page with "To move a sprite at a constant speed towards a target, find the difference in X and Y, and normalize by multiplying by the desired speed divided by the total distance. Then s..."
- 15:17, 4 March 2020 diff hist +667 N How to check if one value contains another Created page with "If you need to check whether a string contains a given substring, or a list or map contains a specified value, then you can use indexOf and compare the result to null...." current
- 14:19, 4 March 2020 diff hist +350 N How to load a sprite from the web Created page with "To load a sprite from an image on the web, simply pass the URL to http.get, and assign the result to the sprite's .image property. == Example == <ms>clea..."
- 13:59, 4 March 2020 diff hist +273 N Category:How To Created page with "These "How To" articles each explain how to accomplish one small task, usually with a complete example you can paste in and try. Many of the examples apply to a specific envi..." current
- 13:57, 4 March 2020 diff hist +536 N How to point a sprite at a target Created page with "To point a sprite at a target, use the atan function to calculate the angle in radians, then multiply by 180/pi to convert to degrees, and assign the result to the spr..."
- 20:57, 29 February 2020 diff hist -26 Print →Example
- 20:56, 29 February 2020 diff hist -26 Len →Example current
- 18:14, 29 February 2020 diff hist -43 Open-Source Projects
- 16:47, 27 February 2020 diff hist +170 Open-Source Projects
- 16:23, 27 February 2020 diff hist +249 Open-Source Projects
- 16:10, 27 February 2020 diff hist +774 N Open-Source Projects Created page with "This page is a collection of links to open-source projects in or for MiniScript. === Main Repository === https://github.com/JoeStrout/miniscript Official repository of sourc..."
- 02:54, 23 February 2020 diff hist +3 m Naming Conventions →Short Names
- 02:53, 23 February 2020 diff hist +1 m Naming Conventions
- 02:53, 23 February 2020 diff hist +9 m Naming Conventions
- 19:16, 21 February 2020 diff hist 0 m Naming Conventions →Short Names
- 19:15, 21 February 2020 diff hist +26 m Naming Conventions
- 19:14, 21 February 2020 diff hist +2,035 N Naming Conventions Created page with "The MiniScript intrinsic functions and Mini Micro API have established the following conventions with regard to naming variables. == Capitalizatio..."
- 01:41, 21 February 2020 diff hist +52 N Category:Map Methods Created page with "These are methods that work on or with maps." current
- 01:40, 21 February 2020 diff hist +58 N Category:String Methods Created page with "These are methods that work on or with strings." current
- 01:40, 21 February 2020 diff hist +54 N Category:List Methods Created page with "These are methods that work on or with lists." current
- 01:39, 21 February 2020 diff hist +1 m Len
- 01:39, 21 February 2020 diff hist +907 N Len Created page with "<c>len</c> is a intrinsic function that returns the number of elements in a list, the number of characters in a string, or the number..."
- 21:06, 20 February 2020 diff hist +25 Parentheses
- 21:05, 20 February 2020 diff hist +72 N Category:Conventions Created page with "Pages in this category describe standard practices for using MiniScript." current
- 21:03, 20 February 2020 diff hist +11 File extension current