← Yop2D

How to make a top-down game?

Beginner guide · no code

Français · English · Español · Deutsch · Italiano · Português · Русский · 中文 · 日本語 · العربية

ℹ️ For Yop2D Next, the new 2D + 3D version of Yop2D (coming soon). Button and node names are those of Yop2D Next.

🔍 How do I…? All short recipes, with a search

A hero seen from above that walks up, down, left and right with the joystick, with the right animation for each direction. No gravity: it doesn't fall.

You need:

Step 1: the hero

  1. Tap Object → Shapes → Image: the Library opens. Family Ninja (pixel art, top-down): tap a character, then With its animations.
  2. Name it heros.

Step 2: the controls

  1. Select heros, tap ⚙ Object behavior in the Inspector and choose Top-down character.
  2. Tap Object → Interactive → Joystick.

The nodes

No node needed: the behaviour does everything.

Try it

Tap Play and push the joystick in every direction: the hero walks and turns the right way.

👉 For walls: objects with the Ground / wall behaviour. The hero can't walk through them.