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
1 answer

Install Scratch 2 under Linux Ubuntu 14.04

I tried to install Scratch 2 under Linux for Education at school. I followed these good instructions to install Adobe Air - everything works fine. But if I execute the Air-Installfile for Scratch I will be asked for the root password. In the little…
HolgerT
  • 62
  • 1
  • 10
0
votes
1 answer

Show word entered by user on the Stage if it is valid in Scratch programming

I am working on a game in Scratch based on Word puzzle. Player is given with set of alphabets on the screen and they have to make a word from it. I need to check first that the entered word is valid, for example: player entered 'wrok' but the valid…
shruti
  • 459
  • 6
  • 24
0
votes
2 answers

Scratch equals operator problems

I am using scratch.mit.edu version 2.0 on the internet and writing a program to evaluate a postfix expression. As I iterate through the input string such as: "23+" (postfix) letter by letter using the letter..of...block, it works fine. I then add a…
Timothy Lawman
  • 2,194
  • 6
  • 24
  • 33
0
votes
4 answers

My define() block in scratch is not working, am I doing something wrong?

I'm working on an assignment in which I have to make a sprite move. I've drawn each frame and I want to switch costumes to make it look like it's moving. My block looks like this: define walking forever switch costume to walk1 …
rotpar
  • 11
0
votes
2 answers

how to count number of results in scratch

I am using scratch. I acquire two values from the user and have to find the numbers divisible by 2 & 3 between those values . How can I count those numbers without using arrays ( just by using basic operations) ?
zee
  • 1
  • 1
0
votes
1 answer

Send HTTP PUT request to server through terminal in Java

Ok. My problem is that when I try to send HTTP PUT request to server through terminal in Java to the server "http://scratch.mit.edu/", I get the reply that the command does not exist. So I tried it directly from terminal. Still did not work. Is…
Aaron Esau
  • 1,083
  • 3
  • 15
  • 31
0
votes
1 answer

How to configure scratch application in my local system (windows 7) ??

I am very new to the technologies which are being used in the development of Scratch(MIT) application. Since I need to fork/create a local repository for Scratch(MIT), I m finding it difficult to achieve. Anyone can help to find a good tutorial for…
rcr
  • 142
  • 1
  • 2
  • 11
0
votes
0 answers

( ! ) Deprecated: Assigning the return value of new by reference is deprecated

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in E:\wamp\www\Scratch\cake\basics.php on line 1101 Hi All, I am new to cake php . I am trying to configure the scratch application in my local system . After following…
rcr
  • 142
  • 1
  • 2
  • 11
0
votes
1 answer

Rotating a objects around a sphere

I have 8 squares in a sphere (from a top down view: ooo) and I was wondering how I would o o ooo make these rotate when the sphere moves,…
Lily
  • 1,386
  • 2
  • 13
  • 16
-1
votes
1 answer

My scratch project isn't taking key input

enter image description here Here is the link : https://scratch.mit.edu/projects/859974239/editor I have made a scratch project where i have used a if "x" key pressed ,the broadcast "fightmodeon" and hide , although when i try to do so it doesn't…
-1
votes
1 answer

Trying to create simple jump game in scratch found a bug that I can't figure out

Here is the link to the game so you can see the code.. https://scratch.mit.edu/projects/668072441 I am utterly confused the current setup uses blocks but I have tried dozens of configurations and none of them are working. Goal of the game is when…
-1
votes
2 answers

Is it posssible to find an x/y coordinate without Angles? i need this for a target locator in a Scratch Program

My scratch project:https://scratch.mit.edu/projects/657133771 i need a triangulation/trilateralation equation for a target locator. otherwise the tank is just stupid.
-1
votes
1 answer

Best approach for pre-processing files before committing to Git?

I've never had reason to investigate the usage of git hooks before so I'm coming at this with very little information. My general scenario is that I want to parse certain file types automatically when committing them to the repository. The specific…
Rok
  • 2,568
  • 4
  • 26
  • 28
-1
votes
1 answer

How do I display all perfect squares below a given number on scratch?

I was able to list all the prime numbers up to an inputted number, however as I am inexperienced at coding on Scratch, I have had difficulty constructing a list of all the perfect squares below a number. For example, if you input 17 the output…
KimJongin
  • 13
  • 4
-1
votes
1 answer

Scratch-Based Movement in Java

I am trying to write a program where an object moves in a direction at a certain speed. Java does not have any built in function to determine direction. How would I write the Scratch Code below in Java? Also is there a way to make an object point at…
1 2 3
18
19