Che cos'è il formato di file OGMO?
Un file con estensione .ogmo è il file di progetto creato da OGMO Editor 3, un editor di livelli gratuito e open-source rivolto agli sviluppatori di giochi indie 2D. È memorizzato come semplice JSON, quindi è leggibile ed editabile in qualsiasi editor di testo.
Il file .ogmo descrive il progetto piuttosto che i livelli stessi. Al suo interno troverete il nome del progetto, la versione di OGMO che lo ha creato, le impostazioni dell'editor, le dimensioni predefinite dei livelli e le definizioni di ogni livello, entità e tileset utilizzati dal progetto. OGMO supporta quattro tipi di layer: Tile, Decal, Entity e Grid. Il file di progetto memorizza anche un elenco levelPaths che registra quali cartelle contengono i file dei livelli del progetto.
I livelli che disegnate effettivamente vengono salvati separatamente come file .json. Un gioco legge il progetto .ogmo per comprenderne il formato, quindi carica i file dei livelli in fase di esecuzione. OGMO Editor 3 è stato creato da Maddy Thorson e collaboratori, è concesso in licenza sotto la permissiva licenza MIT e gira su Windows, macOS e Linux.
Sicurezza e incolumità
RISCHIO: LOWAn .ogmo file is plain JSON text with no executable code, macros, or embedded binaries, so opening it cannot by itself harm your system. The only real caution is that it points to level files by path and describes a game project, not that it carries any payload.
Dettagli del formato
in sintesiProgrammi che aprono file OGMO
Dettagli tecnici
specifiche approfondite| Encoding | UTF-8 |
| Byte order | N/A (text) |
| Container | JSON object |
| Typical size | A few kilobytes to tens of kilobytes |
| Structure | A single top-level JSON object holding the project name, the OGMO version that created it, editor and level-size settings, and arrays of layer definitions, entity templates, and tileset definitions. A levelPaths array records the folders where the project's level files live. |
| Platforms | Windows, macOS, Linux |
| Notes | The .ogmo file is the project definition only. Actual level data is saved separately as .json files whose paths are listed in levelPaths. Older OGMO Editor releases used different project extensions (.oep for combined XML/JSON projects, and the now-removed .jogmo). OGMO Editor 3 is built with Haxe and OpenFL. |
| Layer Types | Tile, Decal, Entity, and Grid layers |
| Human Readable | Yes |
| Rilasciato | 2018 |
| Ultima versione | OGMO Editor 3.4 |
| Specifica | ogmo-editor-3.github.io |
Conversioni OGMO
Domande e risposte della community
chiesto dagli utentiAncora nessuna domanda - sii il primo a chiedere informazioni sui file OGMO.