Head to the MakeCode arcade homepage at https://arcade.makecode.com/ and click "New Project".
- On the right side of the screen is our editing space. This is where we'll drag and drop blocks onto to create the game.
- The center column is where we'll find all the different blocks with which to choose from.
- The game console on the left-hand side of the screen is where our code comes to life and where we can test our games out.
There are two ways to program in MakeCode Arcade: with blocks and with javascript. Block-based programming is designed for beginners and allows users to drag and drop code blocks into an editor to program. Javascript is a syntax based language for more experienced programers. We'll be using the block-based method in this guide. Here are the different kinds of code blocks to program our games with in MakeCode Arcade:
Sprites
- This category allows us to create and define Sprites. Sprites are the objects what we control in our games. They can be players, enemies, food, projectiles, and more!
Controller
- These blocks let us define which buttons control what. For example if we want button A on our controller to shoot out arrows.
Game
Music
Scene
Info
Loops
Logic
Variables
Math
Advanced
Access code blocks to:
- Images: Create and edit graphics of sprites and backgrounds.
- Functions: Create custom functions to call within the program.
- Arrays: Create lists of data.
- Text: Create strings. Could be used to create speech bubbles for characters.
- Console: Help with debugging or troubleshooting errors in the program.
- Extensions: Access additional block types like animations.
Text editor powered by tinymce.