Menu System
A big part in our group project that a created was the menu system, The menu system consist of did menu states, dependent on if the game was in the options state, main menu state and the game state.
The sprite renders for each scene are fairly simple as it uses a initialise sprites function which i created, which holds all the information for the sprites, such as there file name and the width, height and position that you want the sprite to be, each sprite has its own renderer function to then have it render to the screen.
The menu states are set by a mouse handler which has bounding boxes that are the same size as the sprite buttons, so if it recognises the cursor is in that set of pixels within the bounding box and the mouse button is clicked, it will then active a set of code which changes the menu state so it renders a different set of assets.
Ex Machina
Ex Machina Puzzle Adventure Game, Made for UWE LLP Project 2
Status | In development |
Author | SweetLemonz |
Genre | Puzzle |
More posts
- Post Mortem (Ex Machina)Apr 09, 2019
- AssetsApr 09, 2019
- Ex Machina IntroApr 09, 2019
Leave a comment
Log in with itch.io to leave a comment.