GUI & Buttons Overhaul - 30th April 2021 - Development Notes
I learnt a lot from 'Gaggle Brains', one major thing, is I suck at GUI, the menus were visually messy and hard to manage in editor, I needed a better way to go about doing them. So Yesterday I sat down to make a simple, easy to handle menu system with clean presentation.
First the buttons, I made a extension to the default GUI button script, to play sounds when it is selected or pressed, along with some other extra visual effects.
Then I made a GUIManager. I would have one of these in the each scene and they would store settings for GUI to reference, like what the buttons sounds and colours should be, and what Menu is currently open. It would also make sure a button was always selected when any of the navigation buttons were pressed. This was brought up in 'Gaggle Brains' build review, that controllers would sometimes have nothing to select so this is my solution to that.
Finally I made a MenuPages script, that would handle how the page would pop in and out, and what that pages default button was. The GUIManager would call these to open or close, and make sure only one page was open at a time, to prevent overlap.
This approach is simple, each bit is relatively self contained, and gives me a easy central point to control the presentation settings for all my scenes GUI. Honestly sitting down and finally hashing this out is worth it, it's going to make my future games so much easier to get up and running.
That's it for the now, got the tools so today I'll get on with setting up all the menu pages for the public demo. Honestly think I should do a 2min video on this some time, 'How To Design Your Overall Menu System' or something because it took me way too long to come up with something simple that just worked!
30th April 2021 Development Notes:
- Made a extension to GUI button to allow for sound, more visual effects and can get it's colours to use from a central reference.
- Made GUIManager script that stores settings for GUI presentation and also handles open pages and button selection.
- Made Simple MenuPages script with option for nice transitions in and out effect.
Future Task:
- Make all menu pages for in game for demo.
- Make main menu page for demo.
- Get mob spawning ready for demo.
- Make main character art for big dino and set it up to work with the rig for demo.
- Make Trees knockable.
Get Days With Dino
Days With Dino
Play an active ragdoll T-Rex, through 3 stages, as you hunt and explore a tropical island.
Status | Released |
Author | BirdmaskStudio |
Genre | Adventure |
Tags | 3D, Casual, demo, Dinosaurs, gamepad, Low-poly, Open World, Physics, ragdoll, Singleplayer |
More posts
- Patch 1.25 - Quality SettingsDec 21, 2021
- Pre-Release 2 Week Games Sale!Aug 22, 2021
- Release Date + New Demo, Trailer & Press Kit!Aug 16, 2021
- Archiving The Early Alpha Store PageAug 15, 2021
- Visuals, Sounds and New Controls - 20th JuneJun 20, 2021
- Cavemen Waddling - 25th MayMay 25, 2021
- T-Rex Vs Buffalos! - 22nd MayMay 22, 2021
- Wondering Buffalo AI - 21st MayMay 21, 2021
- Game State Manager and Main Level Objectives - 17th May 2021 - Development No...May 17, 2021
- Objectives System - 13th May 2021 - Development NotesMay 13, 2021
Leave a comment
Log in with itch.io to leave a comment.