Full notes
Full Wuilsafe: Roots update
Read the full published notes in a cleaner layout. The original post stays linked below.
What changed
- Gameplay
- Events
Although Wuilsafe:Roots is a very experimental project from a technical point of view, it is well thought out as a system.
Any bug in the game is often easy to identify and correct, because everything is well structured.
And there are many useful features sewn into the game for development!
Structure Maker
Structure Maker is a full-fledged editor where you can select blocks and change their appearance, create structures, edit blocks options, spawn mobs/drops, and even install another structure that will be created after this one.
Texture Maker
Since there are no textures of blocks and items in the game and they are all written in a short text code, I created a convenient editor for these textures so that I can safely draw the necessary texture of the block, relief template, block overlay, object texture, object drop texture and then save this texture in the format for the game or download as an image.
Game Test Mode
Game Test Mode is not a special window or something like that, but an alternative game mode that runs just like the base game, but instead of generating an island, the selected structure is created.
Island Generation
To generate islands, I use maze generation, which allows me to set structures at a certain distance from the player's spawn and filter the difficulty, as well as pave a clear path so that obstacles do not interfere with walking around the island.
There is also an "editor" for testing maze generation.
Generation of Complex Structures
I use templates to generate some structures.
At the moment, there is only one template in the game - "Cave Corridor", which is used for many cave structures.
It allows game to think in advance about the position of all the elements of the structure if it takes up more than one chunk.
For the generation to work according to this template, it is only necessary to specify 2 structures, the final structure and the connecting structure one.
Structures Specificities
There are also some subtleties in how structures work.
For example, structures are divided into 3 categories: "structure" is the basic structure, "group" is a group of structures from which a random structure is selected according to the algorithm (the interval of steps from the player spawn is also indicated here), "feature" is the same templates for generating complex structures, the starting structure is indicated as the feature from which all other structures will go according to the template that corresponds to this feature structure.
That is, it is enough to specify only the name of the structure, and the game will determine the rest according to its algorithms and systems.
NoRoots
And the funny thing is the Interest Tester.
This is the same "Wuilsafe:NoRoots", which I once showed without explaining the context.
In fact, this is a simple scaled-down copy of the entire Wuilsafe:Roots, which uses the same parameters as when generating a real island in the game.
The Interest Tester was used to adjust some values to generate certain events.
At the moment, most of these events are not used in the game, but it is planned to add them in future updates.
Source
Changelog.gg summarizes and formats this update. How we read updates.
