Object Pooling, Options Menu, and Audio Manager
Well I managed to get my old code from unity involving object pooling into Godot and it's been working pretty well. Object Pooling is a way to handle spawning and despawning tons of objects in game and help give a performance boost. you essentially make a bunch of the objects you need when the game starts. Then instead of deleting the objects when your done with them you just set them to an inactive state and when there needed again you re activate in the necessary spots. Took me a few days to get it right since I had some stuff set up in a different way so there were some atrocious load times. Up to 11 minutes long sometimes depending on how big the pool was. Thankfully that isn't the case now. Load times are in the seconds and fairly quick. There's even a loading menu now to help with visualizing that :3.
I managed to make an audio manager to, so now instead of sounds being cut off (if you played v09.00.00 the shotgun sound wouldn't play all the way) the full sound will play and be added back to an audio manager pool when it's done playing the sound. That process was pretty fun i got to learn about audio busses within Godot and how to manipulate them. If I had a reason to i could even add reverb and other varying effects to the sounds being played. This really helped with setting up the options menu.
The options menu I had the most fun with, I used an old character I made for the image of the settings menu. Seeing there be a way for the player to manipulate the game in some way is really cool. So you can fullscreen the game, change the overall volume, change the SFX volume, and change the music volume. I even managed to add a test audio button so you can check if the sound SFX is at the right level before hopping in game. Your also able to change the option mid game when you pause the game.
Overall got a lot done and I'm happy with the progress I've been making. Next is the meta progression and maybe some new weapons and possibly a different way to acquire different weapons instead of relying on RNG to get a weapon you want.
Files
Get Survivors Nightmare
Survivors Nightmare
Small survivors/bullet heaven type game.
Status | In development |
Author | Chio |
Tags | 2D, bullet-heaven, bullets, Godot, Horror, Monsters, Pixel Art, survivors |
More posts
- Save System and Meta ProgressionFeb 11, 2024
- All Caught upJan 23, 2024
- v0.08.10(XP and Choice Systems)Jun 23, 2023
- Knockback is being difficultJun 04, 2023
- Update to v0.07.50 (Small Fixes)May 22, 2023
Leave a comment
Log in with itch.io to leave a comment.