Quick Start
Quick Start
This guide will help you create your first NovaMark game in 5 minutes.
Create Project
./build/src/cli/nova-cli init my-first-gameThis creates the following directory structure:
my-first-game/
├── project.yaml # Project configuration
├── scripts/
│ └── main.nvm # Main script
├── assets/
│ ├── bg/ # Background images
│ ├── sprites/ # Character sprites
│ └── audio/ # Audio files
└── README.mdWrite Your First Scene
Edit scripts/main.nvm:
---
title: My First Game
author: Your Name
---
#scene_start "Start"
@bg room.png
> This is an ordinary room.
林晓: Hello, world!
? What do you do?
- [Look around] -> .look_around
- [Leave room] -> .leave
.look_around
> There is a table and a chair in the room.
-> scene_start
.leave
> You walk out of the room.
@ending the_endBuild Game
./build/src/cli/nova-cli build my-first-gameThis generates my-first-game/game.nvmp file.
Run Game
./build/src/cli/nova-cli run my-first-game/game.nvmpNext Steps
- Syntax Reference - Learn the complete syntax
- Complete Examples - View more examples
Last updated on