I have some more texts in the works, but in the meantime here's an update on the UI work:
A quick showcase:
0 A.D. 2024-03-03 20-49-23.mp4
I have done some layouting, moving everything to a place where it fits. It already looks a lot better than before, but I will probably still change some sprites, fonts or colors. How do you like the new arrangement? The right is still pretty empty, this is where the related articles section would be, they have to be added manually to each file and I havent done that (the Athenian civic center is the only article where I added some for testing).
Here are the new features (mainly improving navigation between different pages and menus):
- Because everything is structured like (and in) folders I added the current "path" at the top, by clicking on different parts of the path you can switch to the respective page. There also is an "UpButton" (with the arrow pointing up) to the left of the path that will alway open the current page's "parent" (like the "up" button found in most file managers)
- Every action you take/ every menu or text you open will (temporarily) be saved. With the back and forward button you can move back and forth through your history (like the back and forward button in browsers)
- the button "suprise me!" opens a random article (I am aware that it currently chooses "general" and "environment" more often than "civilisations". That happens because folders inside "civilisations" are only partially filled with files/articles (yet!))
I've also put together a quick mod:
encyclopedia.zip
Try it out! Let me know any errrors or unwanted behaviour you encounter or any suggestion you have! Keep in mind that it is still in progress, I have cleaned up the code, but it's not very well commented yet. I'm quite new to programming, so don't be suprised if something's done in a confusing way. Tell me if you think I should change something to bring it into line with 0ad's code.
And regarding the sprites, @wowgetoffyourcellphone You've done a great job with the mockups. What textures did you use? Are they in the game files? I couldn't find them. I'm specifically talking about the beige/white background and the golden frame around the image. Was the background texture just a brigther and hueshifted version of 0ad's black background?