Questions tagged [mit-scratch]

Scratch is a graphical drag-and-drop language developed by MIT.

Scratch is a graphical drag-and-drop language developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is used in a number of grade schools and other educational institutions to teach principles of programming.

It primarily focuses on developing games or other graphics-intensive applications, but it can be used for other tasks as well.

The code interface consists of 'blocks' that are dropped into the editor window and then hooked together to perform tasks. Manipulation of 'sprite' objects is the main focus of the language.

Scratch has inspired several similar programming interfaces, which use its block-manipulation approach to programming.

Other block-programming tools include Snap (also known as Build Your Own Blocks), which extends Scratch with first-class data and better routine-creation tools, Enchanting, which allows programming the Lego NXT controller, and Google's Blockly, which provides generic tools to allow any programming language to be programmed with a block interface. Also Scratch Jr, which focuses on coding for young children (aged 5-7 years), the blocks are placed horizontally instead of vertically like Scratch, as younger children found this easier to understand.

Scratch's official wiki contains documentation and tutorials about all features of Scratch.

Scratch's official discussion forums also contains information concerning Scratch.

Books:

284 questions
24
votes
10 answers

What to teach after Scratch?

My son is enthusiastically programming simple games in Scratch. However Scratch is a very simple programming environment (no subroutines even), and I can see that soon he is going to need to move on to something else. Does anyone know of a good…
Paul Johnson
  • 17,438
  • 3
  • 42
  • 59
12
votes
1 answer

What is the architecture behind Scratch programming blocks?

I need to build a mini version of the programming blocks that are used in Scratch or later in snap! or openblocks. The code in all of them is big and hard to follow, especially in Scratch which is written in some kind of subset of SmallTalk, which I…
user63898
  • 29,839
  • 85
  • 272
  • 514
10
votes
4 answers

Learning programming language concepts

As a student teacher I am very interested in how effective "mini languages" such as Scratch, Logo, Alice and Lego mindstorms are in teaching the pupil the core concepts of programming such as variables, functions and loops. Is one "mini language"…
9
votes
8 answers

Alice and Scratch ages 8+, how about under 8yrs old?

I just found out about Alice and Scratch. I will be implementing those pretty soon. But, I wonder, what would be good material for kids from 1st grade thru 4th/5th?
dde
  • 650
  • 8
  • 18
8
votes
4 answers

Route for learning Smalltalk aka Squeak

Calling Jedi Masters of the Smalltalk universe, I have knowledge of C++/Python/Perl and have been coding for 5+ years now. I have to fork Scratch - MIT's Visual programming language to add support for a robotic kit. Scratch is created using Squeak,…
Ankur Gupta
  • 2,284
  • 4
  • 27
  • 40
8
votes
6 answers

Breakable loop in Scratch?

How do you make a breakable loop in Scratch? I'm using Scratch 2.0 and can't find any good way to make a loop breakable, from inside of the loop itself.
Nebula
  • 6,614
  • 4
  • 20
  • 40
8
votes
3 answers

How to tell which edge was touched in Scratch?

In Scratch, there is a condition in the sensing category called touching, that can have edge as a parameter. Given that the condition returns true, how can I tell which edge was touched (i.e. top, bottom, left or right edge of scene)? Alternatively:…
Daren Thomas
  • 67,947
  • 40
  • 154
  • 200
6
votes
7 answers

Smooth out sprite motion in scratch

How can I smooth out animations in Scratch? Mainly, I want it such that when you press and hold the right arrow, it goes right without any noticeable jittering. Plus, scratch makes you wait a second to repeat when you hold an arrow. How can I smooth…
Guy
  • 61
  • 1
  • 3
5
votes
1 answer

How to get the case of a letter in scratch?

I'm trying to turn a string into a number, but apparently Scratch ignores the case when returning the list item of a string. So, how would I make it so that scratch pays attention to the case when giving me the letter's corresponding number?
5
votes
3 answers

How long is the interval in which a forever loop iterates in scratch?

I have noticed that a forever (or a repeat () )loop takes time between iterations(without a “wait () secs” block). How long is this exactly?
stonefish
  • 115
  • 8
5
votes
4 answers

How to convert a SB3 file to an EXE

I'm creating a game on Scratch 3, however, when I'm finished with it, I want to convert it to an .exe file. How do I do this? I've been interested in game development for a long time, and have even tried Unity before, but I'm just a beginner meaning…
ringMaster
  • 55
  • 1
  • 1
  • 4
5
votes
3 answers

Is it possible to convert a Scratch project to an Android app?

For those of you who don't know, Scratch (scratch.mit.edu) is a programming language based around connecting 'blocks' of code in order to create a project. I have tried using a Scratch to HTML converter (forkphorus.github.io) in order to convert my…
user11747945
5
votes
3 answers

How to create a cloud variable in Scratch

All over the internet I see examples/tutorials in which they create cloud variables. But when I create a variable (I've used scratch 2 and 3) I get But I would like to get is this: I just watch a youtube tutorial in which was told that for cloud…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
5
votes
3 answers

Translate scratch script to HTML and javascript

I am wondering if there already exists a translator to export a scratch project to HTML and javascript or to export a project so it can be played on a tablet.
Henrique
  • 135
  • 1
  • 2
  • 13
5
votes
3 answers

In Scratch, how can you split up a string into a list of characters?

My son is interested in the ROT-13 cypher. I would like to help him write a program in MIT Scratch that can take a string as input and return the ROT-13 encoded text as output. To do this, the program will need to take the string, separate out all…
Spike Williams
  • 35,795
  • 13
  • 48
  • 60
1
2 3
18 19