# How to Make a Top-Down RPG in Scratch

> Explore maps, talk to NPCs, collect items in a list inventory, and trigger turn-based battles.

How to Make a Top-Down RPG in Scratch — Explore maps, talk to NPCs, collect items in a list inventory, and trigger turn-based battles.

## Core approach

Use a "game_mode" variable ("explore", "dialogue", "battle") so controls cleanly switch between walking, reading text, and picking battle actions.

- Use "broadcast and wait" for turn-based attack animations.
- Store inventory items in a list and check with "<bag contains ...?>".
- Switch map backdrops cleanly when walking off screen edges.

## Pro tip & next steps

Keep your first RPG to 3 connected rooms, 2 NPCs, and 1 boss encounter.

- [All Project Tutorials](/en/projects/): Browse more English guides in this section.
- [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples.

Updated: 2026-11-23
Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/projects/rpg/

[Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)
