From Test-Scratch-Wiki

Translate: - English 
SandCastleIcon.png This page has links to outside of the Scratch website or Wikipedia. Remember to stay safe when using the internet as we can't guarantee the safety of other sites.
Scratch4SecondLife
S4SL logo.png
Operating Systems Windows and Mac OS X
Developer(s) Eric Rosenbaum
Released? Yes
Official Website http://web.mit.edu/~eric_r/Public/S4SL/
World Creation in S4SL

Scratch for Second Life (S4SL) is a modification of an internal build of Scratch 1.1 created by Eric Rosenbaum of the Scratch Team. It is designed as a script editor for controlling pets in the popular MMOG Second Life. Users can create scripts using blocks in S4SL and then copy them as code that can be executed by Second Life, known as Linden Script. It reached version 0.1 and it is no longer in development.[1]

Interface

The layout of the program is very similar to the left side of Scratch 1.1, albeit with no share button and two buttons, Paste Script and Copy Linden Script, replacing the regular content of the Sprite Header Pane. The whole right side of the program, including the Stage and Sprites, has been removed, although it is still accessible—although graphically glitched—by resizing the program window.

Blocks

Because S4SL has a very different and more specific use than regular Scratch, it also has very different blocks although some are the same. Some of the blocks that have the same name have different functionality in Second Life, however.

Control

Hat blocks

Stack blocks

C blocks

Motion

Stack blocks

  • move () meters
  • turn () degrees
  • up () meters
  • down () meters
  • roll () degrees
  • pitch () degrees
  • go home
  • set home to here
  • point toward nearest avatar
  • point toward owner
  • point in direction ()

Reporter blocks

Sensing

Reporter blocks

  • distance to nearest avatar
  • distance to owner
  • number of avatars nearby

Looks

Stack blocks

Reporter blocks

Numbers

Reporter blocks

Boolean blocks

Sound

Warning Note: Sounds cannot be imported and must be chosen from eight built in sounds: aww, burble, clang, cricket, honk, pluck, tweedle, and upward zing.

Stack blocks

Variables

Reporter blocks

Stack blocks

Pen

Warning Note: The pen blocks are only usable if your object has a "lineSegment" in its inventory.

Stack blocks

See Also

External Links

References

  1. http://scratchforums.blob8108.net/forums/viewtopic.php?id=96887#p1240810