codingteam / Keter

A roguelike game in the SCP setting.
https://codingteam.github.io/Keter/
MIT License
15 stars 5 forks source link

Map editor #37

Open Akon32 opened 9 years ago

Akon32 commented 9 years ago

We should have a tool for more easy map creation (design/drawing) than drawing ascii in sources.

Specification draft:

  1. Map editor could be a cross-platform desktop application (more complex case - a web app).
  2. The main mission is allow the programmer (or level designer) to visually construct levels' maps for Keter.
  3. Map editor should export an levels as a resource or a scala source, and maps would be created (loaded) from these sources in runtime.
  4. Construction of levels includes drawing a floor, walls, placing jumps and theirs targets, placing objects, and specifying various properties.
ForNeVeR commented 9 years ago

Map editor should export an levels as a resource or a scala source

I'd suggest saving maps to the JSON files and not Scala source code. This JSON may be later statically served with the Keter application itself. A bit later we may replace this static JSON content with something generated on the server side.