February, 2024 is almost in the history books, and with it comes many new pieces to my game's User Interface. I know these features are considered standard for any game, yet I am excited still to make progress on them and share some screenshots of the work I have completed thus far. Without further delay, let me introduce you to the following new windows and features.
Mini-Map
Mini-Map |
The mini-map allows the player to get a bird's-eye view of the surrounding area. It has four levels of zoom (zoomed all the way out shown). In addition to being centered on the player, it also provides a visual indication of where the player has traveled. The map defaults to shades of brown which identify unexplored types of tiles such as mountains, forests, plains, rivers, etc.. As the player moves around, the path the player takes becomes colored with colors more indicative of the landscape, as seen above where my character traversed a green, grassy plain in springtime. A developer feature of the map, which I actually think makes sense to leave in the game, is the seed value of the randomly-generated map shown below the map. This could be useful for players who wish to re-play a favorite map seed.
Pocket Watch
Pocket Watch |
For those players who can afford it, the purchase of a pocket watch at St. Louis or one of the annual Rendevous will provide this new window which may be positioned on the screen to keep track of time while surviving in the Rocky Mountains. The second hand is shown here, which I added for testing. But in the game, the second hand will not appear. This is because time will be accelerated quite a bit from real time, making the second hand not practical. In the absence of a watch, the player will only have the position of the sun to judge the hour of the day or the moon and stars for nighttime. I think the watch will be a coveted item for any would-be mountaineer.
Hand Craft
Hand Craft |
Journal
The journal was by far the most interesting and exciting window to work on. Upon opening, it animates an opening of a book, revealing the ten sections accessed via the bookmarks at the top. Each section is also further separated into five alphabetical sub-sections. Each section-sub-section is fed from an independent JSON data file. Clicking the arrows at the bottom left and right will cycle paging for the selected section and sub-section according to the JSON file's dictionary records. The animations were so very easy to do in Godot 4! The bookmarks tween up and down as the mouse runs over them. I think the most challenging part of this feature was inserting images into the RichTextLabel control. Since I know I will be spending many hundreds of hours filling this journal with valuable content about the game, I created a set of codes I can embed into the JSON data files to target the desired .PNG files that I want to show, making the creation of pages as easy as typing out the content. I am sure I will do some sort of video about this exciting feature of the game at some point in the future. Keep an eye on this blog or my YouTube channel for more information about it.
Well, as you can see, 2024 is already shaping up to be an epic year for this little survival game of mine. I am happy you were interested enough to find this blog and please let me know if you have any suggestions or feedback.
Until next time, I'm
Bound2bCoding
No comments:
Post a Comment
Feel free to leave a comment. All comments are moderated.