Modding data files: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
The current way | The current way to mod <b>SpaceSlog</b> is through the JSON data files, allowing modification of almost every object in the game. | ||
<br> | <br> | ||
In the future we will | In the future, we will introduce new ways for you to create mods, but we will discuss that in another section. | ||
Latest revision as of 23:57, 9 May 2025
The current way to mod SpaceSlog is through the JSON data files, allowing modification of almost every object in the game.
In the future, we will introduce new ways for you to create mods, but we will discuss that in another section.
What is a JSON file?[edit | edit source]
JSON stands for JavaScript Object Notation. It's a lightweight and widely-used data format that's easy for humans to read and write, while also being straightforward for machines to parse and generate.
The data in JSON is organized into key-value pairs and supports structures like arrays, strings, integers (whole numbers) and boolean values. Because we use Godot and it uses it's own parser, we can use extra values like "Vector2()".