Major Update - New menu, resolution changing, other options
It's been way too long since the last update!
This update hasn't really added any major new content, but it has added a new menu system with the ability to change settings.
The settings that you can change:
- Player name
- Music enabled
- Hats enabled
- Fullscreen
- Screen resolution
And yes, changing these settings immediately affects the game. So changing the resolution will change the resolution to what you select. Including toggling full-screen mode!
This took a while due to several reasons, but partly because it was hard to integrate Nuklear UI into my game fully I had to:
- Copy the source files into my project
- Compile the Nuklear UI source files
- Link to them in the makefile
- Modify the source files a bit to work as a dynamic library (not just the one header file as it was used in the example code)
- Insert the render functions in the right place, by trial and error, see my blog post http://leofebey.com/blog/allegro5-nuklear-integration
- Create new functions for creating menu items dynamically before rendering
- Fix some pointer related issues with a list of resolutions (2d C pointers are fun..)
- Re-create the game when fullscreen is toggled. Just setting the flag causes the game to crash. The whole Allegro system needs to be re-initialised when fullscreen is toggled in-game.
- Load and save settings (this was pretty easy actually)
- And a few other bits and pieces.
One of the most technically challenging and time consuming updates yet! But it's all worth it so you can change those settings >.>
I've also added a new main menu background image. Just a blurred screenshot of the first level.
The new menu system is using Nuklear Immediate-Mode UI. It is replacing my old custom-made menu UI which just can't easily be expanded to do the things I need to do for the settings menu. It would take a lot of work to implement UI functionality that I needed by myself.
This is a major milestone, because now I can start to focus on the new graphics. Yeah, the current graphics aren't great. They are just placeholder images that I've mostly found off the net (with a few hand-made myself, but just the easy to make ones).
Now I can start to think about how I want the game to look like in it's final form. This will include new graphics, physics, scriptable events, shaders (lighting), new sound effects and music, etc. This game is going to start to get interesting from now on! (If it wasn't already :P)
Files
Get Wizards With Rockets
Wizards With Rockets
When you can't be bothered coding in a full magic system.
Status | In development |
Author | Motley Pixels |
Genre | Action |
More posts
- Long Time No Build - 2023 UpdatesOct 30, 2023
- Quiet Release - Christmas Hats and Small FixesDec 05, 2021
- Poll and a Competitor!Jun 14, 2021
- Finished art, acceleration, custom window resJun 13, 2021
- New Build - 11/04/2021 - New Graphics!!Apr 11, 2021
- Small update - Increased difficulty and level savingApr 27, 2020
- 2 Years of Development for Wizards with RocketsApr 27, 2020
- Single Player - Finally, New Build - New Maps and Under Hood ChangesApr 26, 2020
- New plans - Engine upgrade to the maxMar 31, 2020
Leave a comment
Log in with itch.io to leave a comment.