(Redirected from Insanity)

SandCastleIcon.png This page has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the Internet, as we can't guarantee the safety of other websites.
Insanity
Insanity logo big.png
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/
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

Motion Blocks

  • 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 [normal v] :: motion
  • move [ v] (10) steps forwards :: motion

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>
  • go to layer (10) ::looks

Sensing Blocks

  • (key pressed :: sensing)
  • (color [#ab82ff] :: sensing)

Operators Blocks

  • (() [- v] () :: operators)
  • <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) (reversed, shuffled, lowercase, uppercase)
  • split [] at character [] into [ v] :: operators
  • ([] :: operators) – Reports its input, which may have multiple lines.

Variables Blocks

  • move variable [ v] to x: (0) y: (0) :: variables
  • set style of [ v] to [small v] :: variables
  • set slider range of [ v] to min (10) max (10) :: variables
  • set color of [ v] to [#ff7256] :: variables

List Blocks

  • show list [ v] :: list
  • hide list [ v] :: list
  • (items [] to [] of [ v] :: list)
  • ([mean v] of [ v] :: list) (mean, median, maximum, minimum, etc.)
  • sort items of [ v] by numerical value :: list

Dictionary Blocks

Dictionaries are a data type which associate keys with values.

  • make dictionary [] :: list — Makes a dictionary with the given name.
  • (item [] of dictionary [] :: list) — Reports the value associated with the given key in the dictionary named.
  • set item [] of dictionary [] to [] :: list — Inserts the given value at the given key in the dictionary named.
  • (get keys of dictionary [] :: list) — Reports the keys of the dictionary named seperated by commas.
  • delete item [] of dictionary [] :: list
  • delete dictionary [] :: list

System Blocks

Note Note: This is a new category.

This category has also been called Files and Squeak before.

  • (read local file [foo.txt] :: #54e60b)
  • (read remote file [http://example.org] :: #54e60b)
  • (read line (1) of local file [foo.txt] :: #54e60b)
  • (read line (1) of remote file [http://example.org] :: #54e60b)
  • write [] to file [foo.txt] :: #54e60b
  • (user home path :: #54e60b)
  • host mesh :: #54e60b
  • leave mesh :: #54e60b
  • join mesh :: #54e60b
  • join mesh at [] :: #54e60b
  • (IP address :: #54e60b) — Reports the user's internal IP address.
  • enter presentation mode :: #54e60b
  • exit presentation mode :: #54e60b
  • <presentation mode :: #54e60b>
  • <using Insanity? :: #54e60b>
  • set cloud var [] to [] :: #54e60b — Sets the cloud variable named to the given value. Cloud variables are stored on Mod Share.
  • (get cloud var [] :: #54e60b) — Reports the value of the cloud variable named.

More Blocks

Note Note: This is a new category.
  • info dialog [] and wait :: #367ad9
  • <confirm [Are you sure?] in dialog and wait :: #367ad9>
  • (ask [What's your name?] in dialog and wait :: #367ad9)
  • (ask [Favorite type of weather?] in dialog with buttons [Tornado] [Hurricane] [Thunderstorm] :: #367ad9)
  • (ask for file with title [What file?] with extension\(s\) [txt] and wait :: #367ad9)
  • <last file asked was not cancelled :: #367ad9>
  • (time :: #367ad9)
  • (hours :: #367ad9)
  • (minutes :: #367ad9)
  • (seconds :: #367ad9)
  • open webpage [http://example.org] :: #367ad9
  • import project :: #367ad9
  • set cursor to [normal v] :: #367ad9
  • host mesh :: #367ad9
  • turbo on :: #367ad9
  • turbo off :: #367ad9

Other features

Mod Share Uploader

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.

Mod Share Browser

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

See Also

References

  1. a b c http://insanity.jvvgindustries.com/changelog.html
  2. https://scratch.mit.edu/projects/2367233/
  3. ar-post:1398630
  4. ar-topic:104485
  5. ar-post:1481072
  6. ar-post:1521303
  7. https://app.assembla.com/spaces/insanity/git/commits/list
  8. post:41222
  9. https://app.assembla.com/spaces/insanity/tickets/realtime_list