GitHubLoslegen

Diese Seite ist noch nicht auf Deutsch übersetzt und wird daher auf Englisch angezeigt.

Wechsel von einer anderen Engine

Coming from RPG Maker

A map from RPG Maker's database, maps, events, messages and plugins to this layer, with the page that covers each one, and the parts that are not here yet.

The biggest change is that there is no built-in RPG. RPG Maker gives you a database, a map editor, an event interpreter and a battle system before you write a line; here a game is Go code inside an NSGo component, the data it reads is YAML you write by hand or save from the editor, and the packages below are pieces you put together. The rpg2d template puts them together into a small working RPG, so it is the place to start.

At a glance

RPG Maker Here Guide
Map, tilesets, autotiles Tiled maps through tilemap.LoadTiled, terrains painted with SetTerrain tilemap
Transfer Player scene.Manager.Switch with a transition scene
Database: Actors' and Enemies' parameters, States stats sheets with add, multiply and override modifiers, timed on the fixed step stats
Database: Items, Weapons, Armors inventory item definitions, stacking containers and typed equipment slots inventory
Database: Skills ability sets with costs, cooldowns, charges and cast times ability
Enemy drop items loot weighted drop tables loot
Database: Actors, Classes, Enemies and Troops rpgdata, one versioned YAML database with class level curves and learned skills, and Progression for experience and level ups rpgdata
Map events: pages, conditions, triggers, switches, self switches and variables flow.ParseMapEvent pages started and run on fixed steps by flow.EventRunner flow
Battle processing battle.New, a deterministic turn-based runner with party and troop, turn order, skill scopes, states and damage formulas battle
Quests (a plugin in RPG Maker) quest books with objectives, prerequisites and rewards quest
Show Text, Show Choices, message variables dialogue running Yarn Spinner scripts with variables and conditions dialogue
Faces and pictures in messages vn cast portraits, name plates and a typewriter text box vn
Play BGM, Play SE sound sound
Movies cutscene video cutscenes cutscene
Save and load save slots in versioned JSON with migrations save
Plugins gameplugin plugins compiled into the game Plugins
Deployment go tool game release Building and Shipping

Not here yet

  • Most event commands: map events have say, wait, set and self commands. Choices, conditional branches, item and transfer commands are tracked in #1755; until then, trigger2d components on map objects with a scene's connections, Go handlers, and dialogue variables cover them (Editor & Scene Format).
  • The rest of the battle system: the battle runner has no time-progress (gauge) mode, items, escape, enemy AI, troop events or rewards yet (#1757), and the rpg2d template still runs a battle scene of its own in Go.

First project

Create a project from the RPG template with go run github.com/nsgo-dev/game/cmd/game@latest new -template rpg2d mygame: a town and a meadow to walk, people with branching dialogue, an inventory with equipment, one quest, turn-based battles and three save slots (guide). Open it with go tool game editor: its 2D viewport takes the place of the map editor, and the files it saves are the same YAML the game loads.

Diese Seite bearbeiten