Discuss Scratch

_TigerJack21_
Scratcher
83 posts

List of Hardware & Software

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
pkexe
Scratcher
85 posts

List of Hardware & Software

_TigerJack21_ wrote:

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
yeah, the link is allowed✔
pkexe
Scratcher
85 posts

List of Hardware & Software

pkexe wrote:

_TigerJack21_ wrote:

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
yeah, the link is allowed✔
i mean the swagbucks or whatever

BINARY!

001010101010101010100101010101010101010100101010101010101001100101010101001011010010101010110101001010101100101010100101010101010100101
pkexe
Scratcher
85 posts

List of Hardware & Software

pkexe wrote:

pkexe wrote:

_TigerJack21_ wrote:

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
yeah, the link is allowed✔
i mean the swagbucks or whatever

BINARY!

001010101010101010100101010101010101010100101010101010101001100101010101001011010010101010110101001010101100101010100101010101010100101
and you cant link titles in the posts
pkexe
Scratcher
85 posts

List of Hardware & Software

pkexe wrote:

pkexe wrote:

pkexe wrote:

_TigerJack21_ wrote:

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
yeah, the link is allowed✔
i mean the swagbucks or whatever

BINARY!

001010101010101010100101010101010101010100101010101010101001100101010101001011010010101010110101001010101100101010100101010101010100101
and you cant link titles in the posts
❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌
_TigerJack21_
Scratcher
83 posts

List of Hardware & Software

pkexe wrote:

pkexe wrote:

pkexe wrote:

pkexe wrote:

_TigerJack21_ wrote:

Awesome! May I suggest maybe linking the titles to their scratch wiki pages?
yeah, the link is allowed✔
i mean the swagbucks or whatever

BINARY!

001010101010101010100101010101010101010100101010101010101001100101010101001011010010101010110101001010101100101010100101010101010100101
and you cant link titles in the posts
❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌❌
What I mean is link the titles of the modifications to the wiki page. Ex: Example Modification
7425
Scratcher
16 posts

List of Hardware & Software

xx-text-games-xx
Scratcher
35 posts

List of Hardware & Software

why then not arledy added it on scratch
?
...
...
...
?
Kamila603
Scratcher
3 posts

List of Hardware & Software

How old are you ? - Jle masz lat?
Im nine…
Big child - duże dziecko

Phantomforces
Scratcher
18 posts

List of Hardware & Software

Look at my new game
say [][/url]
stop all sounds
stop all sounds
play drum ( v) for (0.2) beats
pen down
set pen color to [#ff0088]
change pen color by ()

when [ v] key pressed
stop all sounds
play drum ( v) for (0.2) beats
play note ( v) for (0.5) beats
ProjectMaker59
Scratcher
500+ posts

List of Hardware & Software

Phantomforces wrote:

Look at my new game
say [][/url]
stop all sounds
stop all sounds
play drum ( v) for (0.2) beats
pen down
set pen color to [#ff0088]
change pen color by ()

when [ v] key pressed
stop all sounds
play drum ( v) for (0.2) beats
play note ( v) for (0.5) beats

Hi, This is different from “List of Hardware & Software” and you're also necroposting, Please don't do it, and advertise here

Last edited by ProjectMaker59 (June 8, 2016 20:12:45)

kingfrog44
Scratcher
13 posts

List of Hardware & Software

what your taking ?
yay2yay
Scratcher
7 posts

List of Hardware & Software

blob8108 wrote:

This forum has a lot of topics, so I've tried to make a handy index. I hope you find it helpful!
UPDATE: http://scratchx.org/ has been released since this guide was written. ScratchX is the official way of using unofficial extensions.

This guide is mostly obsolete.


HTTP extensions should be considered experimental; the ST has not promised that they'll support them in the future. Writing new JS extensions is preferred.

________________________________________________________

This post lists the different kinds of hardware you can connect to Scratch (or Snap!), and the software you need to install to make them work.

If I've missed anything or made a mistake, or you have any questions, post a reply!
Contents:
  • Types of Software
  • List of Hardware
  • List of Services
___

Types of Software

To connect hardware to Scratch, there are two kinds of software:

Extensions add extra blocks to the normal Scratch program that let you control hardware. Scratch interacts with the hardware through the extension program.

Mods are modified versions of the Scratch program, so they can have more drastic changes: such as compiling and downloading a Scratch program to a robot. But they may be incompatible with the normal Scratch program, and it may be difficult to switch between the mod and Scratch.

NB: Except for the officially-supported extensions (currently only the PicoBoard and Lego WeDo), neither projects including extensions nor projects made with mods may be shared on the Scratch website.

Extensions can be made in a few different ways:

Javascript Extensions [protocol]

Scratch 2.0's online editor supports extensions written in Javascript that can talk to USB devices. The two extensions made by the Scratch Team – PicoBoard and Lego WeDo – are Javascript extensions.

To use Javascript extensions, you first have to install the web browser plugin: scratch.mit.edu/scratchr2/…/download.html You only have to do this once, and then you can use all available Javascript extensions. (Notes: better with Firefox/Safari/Chrome. Reported not working on OS X < 10.7 Lion)

The PicoBoard and WeDo extensions can then be loaded by clicking “Add an Extension” under the “More Blocks” tab. Other experimental extensions can be loaded by shift-clicking the File menu and entering the URL of the Javascript file.

Scratch 2.0 extension support is currently in beta / experimental, so it may change in future and may not currently work properly.

HTTP Extensions [protocol]

Scratch 2.0's offline editor supports HTTP extensions. These require you to install a separate “helper app” program for each extension. The helper app lets Scratch talk to that particular piece of hardware.

Snap! has a very similar extension mechanism, so most HTTP extensions are designed to support both Scratch 2.0 and Snap!. Blockext is a work-in-progress Python library that does this, while also making it much easier to write extensions: blockext.org.

Scratch 2.0 extension support is currently in beta / experimental, so it may change in future and may not currently work properly.

Scratch 1.4 Sensors [protocol]

Scratch 1.4 has a much more limited extension mechanism, called “Remote Sensor Connections”. It doesn't allow adding extra blocks; extensions can only report sensor values. It also allows reading variable values and sharing broadcasts.

However, Scratch 1.4 does have built-in support for the PicoBoard and Lego WeDo without needing any additional software.

ScratchPy is a Python library that makes it much easier to connect to Scratch 1.4: pilliq/scratchpy. There are others listed on the Python wiki page.

___

List of Hardware

PicoBoard (aka ScratchBoard) [description]
Lego WeDo [description]
  • Built-in to Scratch 1.4
  • Modified version by abee for controlling two motors: (forum topic) [Scratch 1.4 Mod]
  • Built-in, Scratch 2.0 online editor: (forum post) [Javascript]
  • S2Bot by SCRAXE: picaxe.com/s2bot [HTTP]
Lego Mindstorms
Gamepad
Kinect
Leap Motion
Raspberry Pi GPIO
Arduino
Compatible alternative — Shrimp: shrimping.it

littleBits
Sphero
Hummingbird [website]
Parallax S2
Wii Controllers
MaKey MaKey [description]
  • It acts as a regular keyboard (or mouse). You don't need software.
    (forum topic)
Compatible alternative — ShrimpKey: fse.link/fseshrimpkey

___

List of Services
Minecraft Pi Edition [website]
Language Translation
Speech Synthesis

I thought that a robot called “Finch” could connect to scratch. I don't see it on the list. Please let me know as soon as possible (ASAP) if I have been mistaken.
say [Can you please clear my confusion!]

say []
kingfrog44
Scratcher
13 posts

List of Hardware & Software

lol you ben righting a lot
rtpig
Scratcher
32 posts

List of Hardware & Software

try this extension:
when [button v] status [= v] [pressed v]::extension hat
say [Ouch!]::extension
if <there is [a forum post v]::extension> then::extension
pika pika::extension stack
else
pikachu pi::extension stack'
end
end::extension
if <there is [pika pi'chu v]::extension> then::extension
else
else
else
else
else
else
else
else
else
else
else
else
else
else
else
else
end
... //this recurs to infinity
hope you enjoy
rtpig
Scratcher
32 posts

List of Hardware & Software

An alternative to Kinect2Scratch that connect to GPS, Camera, etc.
//Move in the real life to move your avatar.
when turned on::extension hat
set up variables::custom
switch backdrop to [login v]
play sound [login v]
login::custom
wait until <(login done) = [1]>
switch backdrop to [loading v]
play sound [loading v]
wait until <(loading done) = [1]>
display [Move in the real life to move your character.]::extension stack
display image [professor.png v]::extension stack
intro::custom
play sound [map v]
forever
if <walking [east v]::extension> then
walk east::custom
end
if <walking [west v]::extension> then
walk west::custom
end
if <walking [north v]::extension> then
walk north::custom
end
if <walking [south v]::extension> then
walk south::custom
end
end


when I receive [encounter v]
use [camera v]::extension
repeat until <(caught) = [1]>
throw pokeball::custom
end
caught::custom
end::cap

when [on v] for (10) [minutes v]::extension hat
pick your team::custom
if <(team) = [instinct]> then
instinct::custom
else
if <(team) = [mystic]> then
mystic::custom
else
if <(team) = [valor]> then
valor::custom
else
pick your team::custom
end
end
end
team ending::custom
end::cap

when turned off::extension hat
save data::extension
shutdown::extension cap
Do you know what are these scripts?

Last edited by rtpig (Sept. 25, 2016 19:25:14)

kingfrog44
Scratcher
13 posts

List of Hardware & Software

follow me plz it will make me happier
thejackinator1
Scratcher
1 post

List of Hardware & Software

ok this is about a youtube question for you guys… HOW DO I CHANGE MY USERNAME?!
Philiphansen
New Scratcher
1 post

List of Hardware & Software

Hello
draft123
Scratcher
49 posts

List of Hardware & Software

nice

Powered by DjangoBB