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
0
votes
3 answers

I can't find the "stamp" block in Scratch 3

I can't find the "stamp" block in Scratch 3. Can't also find most of the blocks with the pen symbol
baffy
  • 35
  • 1
  • 10
0
votes
2 answers

What's the antonym of VPL?

VPL means VisualProgramingLanguage(such as Scratch by MIT.). But I don't know antonym of VPL. Doesn't use blocks language. E.g., JavaScript, Ruby, Python, C. Could you tell me?
Og Amayokoy
  • 96
  • 1
  • 6
0
votes
2 answers

Largest integer which will work in this flash application (scratch)

https://scratch.mit.edu/projects/26664091/#fullscreen I was playing monopoly and I used the above flash application. Now I'm curious what will be the largest integer which will fit in the 'player 2 money' field? I tried to input 6009000 manually…
0
votes
3 answers

How to use large Stage in Scratch

I have to write a simple program in Scratch. It is a tourist guide of the city of my Institute (Urbino, Italy). This is the map in Openstreetmap.org: Scratch has a fixed size for the Stage of 480x360. QUESTION: There is a way to use a more large…
Giacomo Alessandroni
  • 696
  • 1
  • 14
  • 28
0
votes
1 answer

Creating a button in scratch

I am trying to make a multiple choice quiz in Scratch, but I am having trouble with coding the buttons. I have created the buttons, but I do not know how to get them so the users can click on them to choose answers. How can I get them to work? Here…
Gabe
  • 13
  • 1
  • 3
0
votes
1 answer

Scratch - broadcast touching sensors

I've come back to this project with a little more resolve to fix my old bug. See: https://scratch.mit.edu/projects/75999804/ Problem Description When using the "touching colour" sensing block it works properly (spite bounces and can jump properly).…
0
votes
3 answers

How would one achieve this "follow another sprite" movement?

In Scratch I'm trying to achieve this "follow another sprite" movement, where the other sprite follows the first sprite's movement exactly, like in this game, Mountain of Faith: https://www.youtube.com/watch?v=fqHYHOD2-ck Basically what I'm looking…
Matcha
  • 131
  • 6
0
votes
1 answer

How to detect where on a sprite a mouse-click occurred on scratch

So I’ve been trying to make a target type game where you click on a target and it tells you how accurate you were and where you clicked each time. After a while I have run across an issue where I couldn’t find out where on the sprite I clicked the…
Th1sguy26
  • 54
  • 9
0
votes
0 answers

SNAP! 4.0 could not connect to server

I downloaded SNAP! from github and everything work without problem, but it not connect to snap.apps.miosoft/SnapCloud, snap online version connect but this local version not connect. what can i do?
A.M
  • 345
  • 4
  • 13
0
votes
2 answers

How to avoid exponential notation using Scratch?

In my program, I have a large string of numbers that have been compiled together, and I'm switching it back and forth between different base values. But when I switch back to decimal, the computer directly switches to a number using exponential…
Pramerios
  • 1
  • 2
0
votes
1 answer

Adding Branches to a Recursive Tree

I am struggling to build new branches on my recursive tree, and I would like to make this tree with a variable. Any suggestions?
mrcohen754
  • 29
  • 3
0
votes
0 answers

How deal with a recursive challenge in Javascript with absence of TCO?

I'm working on a Scratch programming game in HTML5 and JS. Let us assume that there're code-blocks(sprites) and function-blocks which one can fill in with code-blocks. And assume that i want it work recursively, i.e. one can put a function into…
0
votes
4 answers

Which programming languages should one know to modify source code of SCRATCH

I intend to build a custom version of SCRATCH. I am a web-developer and hence not familiar with technologies that could have used to build scratch. I see quite a lot technologies used in there such as Java Applets, C, SmallTalk and so on. Can…
Eastern Monk
  • 6,395
  • 8
  • 46
  • 61
0
votes
2 answers

Can the internal counter of a Scratch Repeat block be accessed?

I assume that the Repeat() block in Scratch has some kind of internal counter that increments or decrements at the beginning or end of each time around the block. Can the value of this counter be accessed in any way? I realize this can be done to…
Adám
  • 6,573
  • 20
  • 37
0
votes
3 answers

Scrolling Clone Sprites

I'm attempting to make a code in which I have a sprite act as the main terrain sprite (aka a tile) and have clones of that sprite stack on to the end of it, while maintaining the scroll code, which allows the x positions of the main sprite and the…
J.F78
  • 1
  • 2