Tutorial: The Village Gate (3D)

The Village Gate: overview

Build a small first-person RPG in about an hour, using nothing but the web editor.

The finished village: a house, a villager, a fence and the wooden gate

In this tutorial you'll make The Village Gate, a tiny first-person adventure:

  • You arrive at a small village on a grassy plain.
  • An orange villager stands outside a stone house. Walk up to them and they hop to greet you.
  • A wooden fence with a gate blocks the way north. Approach the gate and it rises open.
  • Behind it, three spinning golden coins wait. Walk into one to collect it.
  • A title card on screen tells you what to do.

Everything happens in the browser editor at editor.trisgine.com: painting textures, placing objects, wiring the logic as node graphs, adding the HUD, and play-testing. You don't install anything or write C++.

What you'll learn

PartYou learn
1. Set up the projectimporting files, opening a scene, playing first-person
2. Paint a cointhe Pixel Art editor, textures, materials
3. Build the villagecreating, moving, scaling, duplicating and colouring objects
4. Collectible coinsyour first visual script: distance check → branch → action
5. The gatereusing the pattern with different numbers
6. The villagerthen / else branches
7. Title & HUDscreen UI canvases and text
8. Polish & sharesky, sound, saving, sharing, and where to go next

Why first-person?

Honest answer: it's what the engine can make playable from the web editor today. First-person movement is built in (FreeLookCamera), and visual scripts can react to how far away the player is. A classic top-down 2D RPG needs two things that haven't shipped yet: keyboard-driven 2D sprites, and scripts that react to collisions. The 2D pages cover what does work in 2D.

The download pack

Everything the tutorial needs that isn't made inside the editor: four small pixel-art textures (with their .mt sidecars, so their UUIDs match the scene), a starter scene, and, if you get stuck, the finished scripts and the complete scene.

FileWhat
tiny-rpg.zipeverything below in one archive
VillageStarter.tgscenethe world without any logic: your starting point
rpg-grass.png · .mtground
rpg-stone.png · .mthouse walls
rpg-wood.png · .mtfence and gate
rpg-white.png · .mtplain surface to tint
VillageCoin · Gate · Villager .tgscriptthe finished scripts
VillageComplete.tgscenethe finished scene, with scripts attached

Ready? Set up the project →