Scratch for Java

Guides

Each guide explains one topic, with small programs you can run and change right on the page. Read them in any order, when you need them.

You should know the basics from Your first program: a stage, a sprite and run().

Guide You learn
Sprites and costumes costumes, animations, size, direction, layers, finding other sprites
Stages and the window backdrops, switching stages, the camera
Time and events run(), timers, messages, asking questions
Keys, mouse and controllers input, game controllers, controls players can change
Movement speed, gravity and jumping, bouncing, smooth following
Sound and music sounds, background music, volume
Text speech bubbles, text on the stage, showing variables
Touching when sprites meet, colours, hitboxes
Drawing the pen, stamps, sprites that draw themselves
Effects colour, transparency, shaders
Menus and pause menus buttons, sliders, a pause menu
Saving keeping progress and settings
Maps with Tiled levels made in a map editor
Pixel art and full screen sharp pixels, any window size
Sharing your game an app for others, a web page, Steam
It doesn't work! the most common mistakes

How to use the boxes: press ▶ to start a program. Click the stage before you press keys, so that it gets them. Change the code and press ▶ again. Your changes stay in this browser.

Guides

Create Shareable URL

Select Sections