(Redirected from Insanity)
This page's contents needs to be merged into List of Scratch Modifications, as per the discussion here. (June 2024) |
This article has links to websites or programs outside of Scratch and Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites. |
Insanity | |
Current Version | 1.2.1 |
Operating Systems | Windows, MacOS |
Developer(s) | jvvg |
Open source? | Yes |
Programming language | Squeak |
Released? | Yes |
Compatible with | Scratch 1.4 |
Official Website | http://insanity.jvvgindustries.com/[dead link] |
Archived Forum Topic | ar-topic:108085 |
Open Source Repository | https://app.assembla.com/spaces/insanity/git/source |
Insanity is a Scratch modification created by the Scratcher jvvg.
Blocks
These blocks were implemented along with the existing Scratch blocks.
Motion Blocks
move (10) steps forwards:: motion move (10) steps backwards:: motion arrow key move with speed (10):: motion turn random (15) degrees:: motion Turn around:: motion bounce off a horizontal edge:: motion bounce off a vertical edge:: motion set rotation style to [ v]:: motion // dropdown inputs are "normal", "leftRight", "none" move [ v] (10) steps forwards:: motion // dropdown inputs are "mouse-pointer" and all sprites in the project
Control Blocks
when <> is true:: control hat while <> { } @loopArrow:: control stop all and press @greenFlag:: control cap
Looks Blocks
previous costume:: looks flip horizontal:: looks flip vertical:: looks paint new costume:: looks delete costume at (1):: looks <visible?:: looks> // can be displayed as a Stage Monitor go to layer (10):: looks
Sensing Blocks
(key pressed:: sensing) (color [#FF0000]:: sensing)
Operators Blocks
(() [- v] ():: operators) // dropdown inputs are "+", "-", "X", "/", "^", "E", "root of" <random boolean:: operators> <boolean form of [true]:: operators> (string form of [foo]:: operators) <true:: operators> <false:: operators> (join [] [] [] []:: operators) <[haystack] contains [needle]:: operators> (if <> then [] else []:: operators) <if <> then <> else <>:: operators> (characters (1) to (3) of []:: operators) ([] [reversed v]:: operators) // dropdown inputs are "reversed", "shuffled", "lowercase", "uppercase" split [] at character [] into [ v]:: operators ([]:: operators)
Variables Blocks
Variable Blocks
move variable [ v] to x: (0) y: (0):: #F79C18 set style of [ v] to [small v]:: #F79C18 // second dropdown inputs are "small", "large", "slider" set slider range of [ v] to min (10) max (10):: #F79C18 set color of [ v] to [#FF0000]:: #F79C18
List Blocks
show list [ v]:: list hide list [ v]:: list (items [] to [] of [ v]:: list) ([mean v] of [ v]:: list) // first dropdown inputs are "mean", "median", "maximum", "minimum", "range", "sum", "difference", "product", "quotient" sort items of [ v] by numerical value:: list
Dictionary Blocks
Dictionaries are a data type which associate keys with values.
make dictionary []:: list (item [] of dictionary []:: list) set item [] of dictionary [] to []:: list (get keys of dictionary []:: list) delete item [] of dictionary []:: list delete dictionary []:: list
System Blocks
Note: | This is a new category. |
This category has also been called Files and Squeak before.
(read local file [foo.txt]:: #52E708) (read remote file [http://www.jvvgindustries.com]:: #52E708) (read line (1) of local file [foo.txt]:: #52E708) (read line (1) of remote file [http://www.futuresight.org]:: #52E708) write [] to file [foo.txt]:: #52E708 // first input is a multiline input (user home path:: #52E708) host mesh:: #52E708 leave mesh:: #52E708 join mesh:: #52E708 join mesh at []:: #52E708 (IP address:: #52E708) enter presentation mode:: #52E708 exit presentation mode:: #52E708 <presentation mode:: #52E708> <using Insanity?:: #52E708> set cloud var [] to []:: #52E708 (get cloud var []:: #52E708)
More Blocks
Note: | This is a new category. |
info dialog [] and wait:: #317BDE // first input is a multiline input <confirm [Are you sure?] in dialog and wait:: #317BDE> (ask [What's your name?] in dialog and wait:: #317BDE) (ask [Favorite type of weather?] in dialog with buttons [Tornado] [Hurricane] [Thunderstorm]:: #317BDE) (ask for file with title [What file?] with extension\(s\) [txt]:: #317BDE) <last file asked was not cancelled:: #317BDE> (time:: #317BDE) // can be displayed as a Stage Monitor (hours:: #317BDE) // can be displayed as a Stage Monitor (minutes:: #317BDE) // can be displayed as a Stage Monitor (seconds:: #317BDE) // can be displayed as a Stage Monitor open webpage [http://www.jvvgindustries.com]:: #317BDE import project:: #317BDE set cursor to [normal v]:: #317BDE // dropdown inputs are "normal", "working", "crosshair", "hand", "question mark", "menu" turbo on:: #317BDE turbo off:: #317BDE
Other features
Insanity allows users to upload projects directly to Mod Share without having to use the website. In Insanity 1.0, it FTP uploads the file using an AutoIT script to an external site which is then transferred onto Mod Share. In Insanity 1.1, it uses the HTTPSocket library in Squeak to send the file using POST data.
Partial Presentation Mode
In Insanity Beta and later, there are two presentation mode buttons: one for window presentation mode and one for full screen presentation mode.
Insanity has a tool to look at projects uploaded on Mod Share. It can look at featured projects, projects by specific users, or through search queries.
Visual Representation of Booleans
When one clicks on a reporter whose value is true, a green check mark appears; when one clicks on a reporter whose value is false, a red cross appears.
History
Alpha/Beta
In the first version of Insanity, many blocks were added.[1]
Version 1.0
The first official version of the mod was released in February of 2012.[2] A Mod Share uploader was added.[1]
Version 1.1
Insanity 1.1 was released on September 23, 2012.[3] Various bugs were fixed, a few new blocks were added, and cloud variables were added.[4]
Version 1.2
Insanity 1.2 was released on January 6, 2013.[5] It has the following features:[1]
- A few more blocks
- A few bug fixes
- A built-in Mod Share browser
- CYOB
- Cloud variables are tied to projects
- Dictionary variables
- Visual representation of Booleans
Version 1.2.1
Version 1.2.1 was released in March[6] and was entirely bug fixes.[7]
Version 1.3
Version 1.3 was a planned release, but it was not finished.[8] The following features were planned:[9]
- "Create folder" block
- Cloud lists
- "New line" block