I have made the menu UI a bit nicer and added proper image cropping for backgrounds instead of just stretching them, I also now have the starts of a UI for the in game text box
I have made the menu UI a bit nicer and added proper image cropping for backgrounds instead of just stretching them, I also now have the starts of a UI for the in game text box
Much news! I have added loading text, characters from a slide file and a title and background for the main menu, file decoding is surprisingly easy once you get the hang of it and learn that you must never read out-of-bounds!
just starting to work on my visual novel engine, so much file reading! I have a config file that set window width and height and provides a list of slide files, each slide will contain dialogue, backgrounds, foreground images and other stuff
I got everything up on crates.io so now it works as a publicly downloadable rust library through cargo and I fixed up the barren wasteland that was my README.md
I have added a tab bar for switching between different menus and stuff works well enough like most stuff in this lib it’s just for basic use
I’ve now done a text input box, it uses macroquad’s default UI input box and wraps it up nicely
I’ve now added a slider, it was fairly easy to do as I’ve written similar already for the list.
after a bit more work than the other UI elements have been I have made a list! you give the function a Vec X pos Y pos width height and then you’re done! also the UI element has a scroll bar and buttons to move through longer lists.
I have now done a loading bar, a cool thing to note is that this bar can actually be any width you like! I wanted to make this as a library to make simple and effective UIs that can easily and quickly be implemented without hastle of setting up many variables, most buttons / UI elements just return a boolean of if they are triggered
Introducing the checkbox! the tick is kinda wonky but I’ll make it look better later, the functionality is still there
I have made a working button click and all, I am now going to start doing a checkbox