Posted August 07, 2022 by Robin Johansson
#devlog
This is a rather major update. I've replaced the triangular grid, with a hexagonal grid. This will improves the visual appeal greatly, and it also lends itself better towards certain gameplay features in the future. The changes include:
The new hexagonal mesh looks way better than the triangular mesh. Adjacency on hexagonal meshes is also better, which will be helpful when certain gameplay features will be added. The hexagonal mesh is generated from the division of an icosahedron.
When the hexagonal grid was introduced the old river graphics was no longer compatible with that mesh. So the river graphics has need to be remade, but only for the better. Rivers now look smoother, the old triangular rivers could be very sharp and jeggedy.
It is now possible for the user to set the world generation at setup. The setting is called "Tesselation divisions", 8 being the highest. This is mostly for people with lesser computers, Resolution 6/7 can be acceptable, lower then that is more or less just a meme. If I do not say anything else, all images here are generated with 8 divisions, which gives 655362 polygons. The image above uses size 3, 5 and 8, from down to top.
There is now a toggleable grid. Enable/disabled it by pressing "g".
At startup a log file is generated. It shows what system are run when, for how long, and for some of them show additional relevant information. If for some reason the program were to crash during generation, this log would be helpful to know in which system/function the program crashes. If this happens for you, please send me your log file and I'll try to figure out where the bug is. The log file is generated in My Games/Orbis Multiplex/Logs
This might not seem like a big change, and visually it is not. But under the hood it has been completely reworked, and it's now much easier to work with. The old implementation was very rigid and hard coded.
The way resource transportation has worked previously is a bit problematic. Because of this I have big plans for refactoring that system. Because of this I have not adapted it to the hexagonal mesh yet. Stay tuned for when I refactor this system, it's gonna happen later this year.
This existed to make the economy system tick. Now that the economy system is temporarily disabled, this has also been disabled.
This backlog shows a list of the features/improvements I have planned for the near future. The highest priority at the moment is a map projection view, and the ability to export image data. No deadline or timeline can be given for this, just know that I will work my way through this list, from top to bottom.
New stuff is constantly added, some are removed, and some are reprioritized as I learn more/get feedback. So be aware that this list might change.