(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 [1]
Programming language Squeak
Released? Yes
Compatible with Scratch 1.4
Official Website http://insanity.jvvgindustries.com/
Archived Forum Topic ar-topic:108085

Insanity is a Scratch Modification created by the user jvvg.

Blocks

Motion Blocks

  • arrow keys move with speed (10) :: motion
  • turn random (15) degrees ::motion
  • Turn around ::motion
  • bounce off a vertical edge ::motion
  • bounce off a horizontal edge ::motion
  • set rotation style to [normal v] :: motion
  • move [ v] (10) steps forwards :: motion

Control blocks

  • stop all and press @greenFlag ::control cap
  • while <> {} :: control
  • when <> is true :: control hat

Looks Blocks

  • previous costume :: looks
  • flip vertical :: looks
  • flip horizontal :: looks
  • paint new costume :: looks
  • delete costume at (1) :: looks
  • <visible? :: looks>
  • go to layer (10) ::looks

Sensing Blocks

  • (color [#000000]::sensing)
  • (key pressed :: 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, uppercase, lowercase)
  • split [] at character [] into [a v] ::operators

Variables Blocks

  • move variable [variable v] to x: () y: () ::variables
  • set style of [a variable v] to [normal v] ::variables

List blocks

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

System Blocks

Note Note: This is a new category.

This category has also been called Files and Squeak before.

  • read local file []::#38e32d reporter
  • read remote file []::#38e32d reporter
  • read line () of local file []::#38e32d reporter
  • read line () of remote file []::#38e32d reporter
  • write () to file ()::#38e32d
  • user home path::#38e32d reporter
  • host mesh::#38e32d
  • leave mesh::#38e32d
  • join mesh::#38e32d
  • join mesh at []::#38e32d
  • IP address::#38e32d reporter
  • enter presentation mode::#38e32d
  • exit presentation mode::#38e32d
  • presentation mode::#38e32d boolean
  • using Insanity?::#38e32d boolean

More Blocks

Note Note: This is a new category.
  • info dialog [] and wait::#2a92e3
  • <confirm [] in dialog and wait ::#2a92e3>
  • (ask [] in dialog and wait ::#2a92e3)
  • (ask [] in dialog with buttons [] [] [] ::#2a92e3)
  • (ask for file with title [] with extensions [] and wait ::#2a92e3)
  • <last file asked was not cancelled ::#2a92e3>
  • (time ::#2a92e3)
  • (hours ::#2a92e3)
  • (minutes ::#2a92e3)
  • (seconds ::#2a92e3)
  • open webpage[] ::#2a92e3
  • import project ::#2a92e3
  • set cursor to [] ::#2a92e3
  • host mesh::#2a92e3
  • turbo on::#2a92e3
  • turbo off::#2a92e3

Other features

Mod Share Uploader

In Insanity 1.0+ for Windows or 1.1+ for Mac, there is a tool that allows users to upload their 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 full screen mode

In Insanity Beta and later, there are two presentation mode buttons. The first one puts Insanity in "partial presentation mode", or presentation mode inside the window. The second one, "full presentation mode", puts Insanity in presentation mode in full screen, like in Scratch.

Cloud variables

Insanity has a very basic feature to use cloud variables stored on Mod Share.

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.

Version history

Alpha/Beta

The first version of the mod, many blocks were added.

Version 1.0

The first official version of the mod, Mod Share uploader added.

Version 1.1

Mod Share uploader fixed, various other bugs fixed, new blocks added, Squeak category changed to System, and cloud variables added.

Version 1.2

Insanity 1.2 has the following features:

  • A few more blocks
  • A few bug fixes
  • A built-in Mod Share browser
  • CYOB
  • Cloud variables that are tied to projects
  • Dictionary variables

Version 1.2.1

Version 1.2.1 was entirely bug fixes. The following bugs were fixed:

  • CYOB blocks did not save properly
  • Join block with array was removed, due to variables not saving[2]
  • Ask for file block glitches[3]
  • The cloud variable blocks did not work when given integer values

Version 1.3

Version 1.3 was a planned release but remained unfinished due to the release of Scratch 2.0.[4] The incompleteness also left the development to pause. The following features were planned:

  • "Create folder" block
  • Cloud lists
  • "New line" block
  • Fixing a glitch with right-clicking on a comparison block (completed)

See Also

References

  1. https://www.assembla.com/code/insanity/git/nodes
  2. https://www.assembla.com/spaces/insanity/tickets/15#/activity/ticket:
  3. https://www.assembla.com/spaces/insanity/tickets/16#/activity/ticket:
  4. http://scratch.mit.edu/discuss/post/41222/