Modding data files: Difference between revisions

From SpaceSlog Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
Line 1: Line 1:
The current way you can mod <b>SpaceSlog</b> is via the JSON data files. Almost every object can be modified in this 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 open up new ways for you to create mods, but we will talk about that in another section.
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()".