You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Void uses YAML files to store all of the game data and configuration. This has been okay up until now, IntelliJ has useful highlighting for duplicate map names, anchoring to prevent repeating data, and jump to usage. However these only apply up until about 2-3MB in size before IntelliJ starts struggling. Even with the game loading them was slow enough to justify writing my own parser.
Allow breaking up data into individual files, mixing and matching different layouts.
E.g. king_black_dragon.toml could contain npc definition, drops, graphics and animations in one (see below)
Slightly simpler and easier to read
Slightly more compact in some cases
Maybe better read/startup performance?
Cons:
Stricter
No multi-line maps (although this could be added if I write my own parser again but would conflict with IDE warnings)
New syntax - generally fine but has it's own quirks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Void uses YAML files to store all of the game data and configuration. This has been okay up until now, IntelliJ has useful highlighting for duplicate map names, anchoring to prevent repeating data, and jump to usage. However these only apply up until about 2-3MB in size before IntelliJ starts struggling. Even with the game loading them was slow enough to justify writing my own parser.
Benefits TOML would bring:
E.g.
king_black_dragon.tomlcould contain npc definition, drops, graphics and animations in one (see below)Cons:
Lots of Side-by-side Examples
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions