Skip to content
Heinrich Reich

Y.A.M.E. – an extensible 2D map editor

Y.A.M.E. is a generic 2D map editor delivered as a desktop application. It is meant for any kind of two-dimensional map and can be extended through plugins.

Status
In development, no stable release published (package version 0.0.1)
Period
since 2016
Technologies
  • TypeScript
  • JavaScript
  • Editor tooling

What the project does

Y.A.M.E. is an editor for 2D maps. The package description calls it “generic, extensible, for any kind of map”. The repository contains modules for the scene, tilesets, camera, toolbar, sidebar, assets and preferences, among others.

It is a private project built around my own workflows. A stable version that others can use is planned but not published yet.

Starting point and goals

The editor goes back to an older implementation based on Backbone. The README describes the Angular rewrite as a replacement for that version, which it calls buggy. It names these main goals:

  • Use Angular data binding and get rid of the custom Backbone implementation.
  • A faster publish/subscribe system based on eventemitter3.
  • Promises instead of Node.js-style callbacks.
  • Clean up the component and entity system to improve maintainability.

My role

I created the repository in October 2016 and develop the editor in my spare time. package.json lists my name as author. I did not review whether or which contributions from others went in for this page.

Key architectural decisions

The following points follow from the repository structure and the package manifest:

  • Two clearly separated processes: the Electron main process (src/main) handles files, directories, dialogs and plugins over IPC. The Angular user interface (src/ng) runs in the renderer. Shared code (src/common) contains the scene model, plugin management, logging and pub/sub, among other things.
  • Plugin architecture: plugins are discovered through config.json (pattern ./node_modules/@yame/*) and loaded by a plugin manager. The yame-dev plugin serves as an example in development mode and reloads the UI when code changes.
  • Scene model with entities and components: the code under src/common/scene works with entity and component concepts; ECSTS (@trixt0r/ecs) is listed as a dependency.
  • Rendering with PixiJS: maps are drawn with WebGL, with tilemap support through @pixi/tilemap.
  • State and language: NGXS manages editor state and ngx-translate provides translations.

Tradeoffs and limitations

  • No stable release: the editor is started from source. package.json has scripts for packaging on Linux, Windows and macOS, but no builds are published.
  • Outdated README: the README on the default branch still describes the migration phase (branch ng2, Node 10). The dependencies in package.json are much newer (Angular 19, Electron 33), so the package manifest and the source code are the reliable references.
  • Desktop rather than web: Electron allows direct file access but has more runtime overhead than a plain web application.
  • Personal project: progress depends on my spare time.

Technologies and why

  • Angular 19: the editor’s user interface; its data binding replaces the earlier hand-built Backbone solution.
  • Electron 33: desktop shell with access to the file system.
  • TypeScript: used throughout the main process, shared code and the UI.
  • PixiJS 6 with @pixi/tilemap: drawing maps with WebGL.
  • NGXS and ngx-translate: state management and multilingual UI.

Current status

The default branch records updates to Angular 18 (June 2024) and Angular 19 (January 2025) as well as Electron updates. The latest feature commit, from 16 June 2025, adds removing tiles. So the project is in progress but not published as a finished product.

This page is based on the README, package.json, file structure and commit history of the public repository (as of 7 November 2026). I did not re-read the source code in detail for it. There are no screenshots because I have no current published captures.

← Back to profile