< User:Krett12

Headline text

DocumentInQuestion.png This page or section is in question as to whether it is useful or not. You can discuss whether you want it deleted or not on its talk page.
Slash
200px
Version 1.2
Operating Systems Windows, Macintosh, Linux
Developer(s) Billybob-Mario
Programming language Squeak
Released? Yes
Compatible with 1.4
Official Website http://sites.google.com/site/slashproj/home
Archived Forum Topic ar-topic:34618

Slash is a Scratch Modification based on Scratch 1.4 and BYOB. It contains a number of new features and blocks.

Many people criticize Slash for its color scheme, its new "unprofessional" categories, and "stolen" blocks.[1]

Features

As well as all the normal Scratch features, it has many new ones.

Blocks

Motion Blocks

  • Clone this sprite — Clones the sprite that contains this block
  • Delete this sprite — Deletes the sprite that contains this block
  • Clone with name () — Clones the sprite and gives it a new name
  • Clone decoy — Creates a clone that isn't actually another sprite
  • Make draggable — Makes it draggable in presentation mode
  • Make undraggable — Makes it undraggable in presentation mode
  • Draggable? — Reports true if the current sprite is draggable in presentation mode
  • Point to x:() y:() — Points towards a given point
  • Point away from edge — A glitchy block that was cut from the final release of Scratch 1.2, it points away from the nearest edge

Control Blocks

  • Last received — Reports the last received broadcast
  • () received? — Reports true if the sprite is receiving the specified broadcast
  • Stop all scripts for () — Stops all scripts for a specified sprite
  • Toggle pause — Pauses or unpauses all scripts
  • Some BYOB blocks

Looks Blocks

  • Flip horizontal — Flips the sprite horizontally
  • Flip vertical — Flips the sprite vertically
  • Edit current costume — Opens the paint editor to edit the sprite's current costume
  • Take photo — Takes a photograph with a webcam and adds that photo as a costume for the sprite
  • Paint costume — Opens the paint editor so one can paint a new sprite
  • Save stage area to sprite — Does the same as right clicking a sprite and selecting "grab screen region for new costume"
  • Import image and wait — Imports an image from your computer
  • Import image from URL () — Imports an image from a URL
  • Delete costume () — Deletes a specified costume
  • () Effect — Reports how much of a certain effect is added to a sprite
  • Visible? — Reports true if the sprite is showing
  • Change vertical stretch by () — Changes the vertical stretch of a sprite
  • Set vertical stretch to () — Sets the vertical stretch of a sprite
  • Change stretch by () — Changes the stretch of a sprite
  • Set stretch to ()% — Sets the stretch of a sprite

Sensing Blocks

  • Name — Reports the name of the sprite

Sound Blocks

  • Record sound — Records a sound using a microphone
  • Beep — Plays the system beep

Operators Blocks

  • ()^() — (Value) to the power of (value)
  • () is within () of () — Reports true if the first value is within the two other values
  • Pi — The value of pi
  • E — The value of E
  • True — Reports true
  • False — Reports false
  • If () then report () else report () — Gives one the option to choose what is reported if something happens
  • Letters () to () of () — Reports the given letters of a string
  • () contains () — Reports true if the first value contains the second string or value
  • () backwards — Reports the string backwards
  • () scrambled — Reports the string scrambled up
  • Ascii code of () — Reports the ASCII code of a string
  • Ascii () as letter — Does the opposite of the above block, and reports a letter when given the ASCII code of it
  • Round () to nearest () — Rounds a number to a given number of decimal places
  • ()! — Gives the factorial of a value
  • LCM of () and () — Gives the lowest common multiple of two values
  • GCF of () and () — Gives the greatest common factor of two values
  • () hexadecimal — Gives the hexadecimal number of a value
  • Is () a () — Reports true if the first value/string equals what is in the drop down menu, this options are number, text, boolean, command, reporter and predicate
  • Some BYOB blocks

Pen Blocks

  • Set pen color to color of x () y() — Sets the pen color to the color of that pixel

Variables Blocks

  • Make a variable — Makes a variable
  • Move variable () to x() y() — Moves a variable to a specified point
  • List () () etc. — Use the arrows to change the number of inputs; this block reports a list
  • Make a list — Makes a list
  • Show list () — Shows a list
  • Hide list () — Hides a list
  • () as text — Reports a list as text
  • Copy of () — Reports a copy of a list

Squeak (new category)

  • Go to webpage URL () — Opens a webpage in your browser
  • Host mesh — Hosts a mesh session
  • Join mesh — Joins a mesh session
  • Show IP address — Shows your IP address
  • Self — Reports the sprite
  • Turn fill screen off — Turns fill screen off
  • Turn fill screen on — Turns fill screen on
  • Save hacks and quit slash — Saves any changes made to the source code and quits the program
  • Set stepping rate to 1 — Changes the rate at which Slash processes blocks
  • Stepping Rate — Reports the rate at which Slash processes blocks
  • Enter presentation mode — Goes into presentation mode
  • Run code () — The sprite runs some smalltalk coding
  • Report code () — The sprite reports smalltalk coding
  • ScratchFrameMorph run code () — The ScratchFrame runs smalltalk code
  • ScratchFrameMorph report code () — The ScratchFrame reports smalltalk code
  • Show dialog () which says () — Brings up dialog onto the screen with the specified title
  • Ask () in dialog and get response — Asks a question and reports true or false depending on the response given by user

More (new category)

  • () mouse down? — Reports true if the specified button of the mouse is pressed
  • Key pressed — Reports true if a key is being pressed
  • Press green flag — Starts all green flag scripts
  • Click everything — Starts all when sprite clicked scripts
  • Date/time: () — Reports the time, hour, minute, second, date, day of month, day of year, weekday-name, weekday-#, month-name, month-# or year according to your computer
  • Is using slash? — Reports true if Slash is open
  • Rename me () — Renames the sprite
  • Paint sprite — Paint a new sprite using the paint editor
  • Export me — Exports the current sprite
  • Add () to clipboard — Copies a string
  • Clipboard — Reports what is in the clipboard
  • Set cursor to () — Changes the style of cursor
  • Import project — Imports a project
  • New project — Starts a new project
  • Open project — Opens a previously saved project
  • Save project — Saves the current project
  • Quit Slash — Quits the program

Other Features

Other features include:

  • A new layout and color scheme
    • Note Note: A regular-colored version has been released
  • A piano morph at the top of the program (for recording sounds)
  • A pause button in between the flag and stop sign
  • Build your own blocks features
  • Compiling features
  • Mesh activated by default
  • Opening the Paint Editor pauses, but doesn't stop, scripts.
  • When importing images a certain way, they aren't resized.
  • You can regular-click to get the developer menu.

Known Bugs

Archive.png
The subject of this article or section has changed dramatically and requires updating. Please keep in mind that some of the information or images may not be accurate or relevant to the current version of Scratch, the Scratch website, or the article subject. (Date?)


There are some bugs and problems with Slash 1.0. The known issues are:

  • Clone decoy block is strange, invisible clones can't get new scripts and are deleted when the green flag is clicked
  • Some new blocks won't work in presentation mode
  • The hexadecimal block does not work correctly
  • If you use the clone with name block with text, it will work, but end the script; it is advised to have a separate script for this

References

  1. http://scratch.mit.edu/forums/viewtopic.php?id=64702