User Config Refactor: Completed?
Keep On Keepin' On
Back at it again, and hopeful that today will be the end of the ConfigFile refactor. I started off by taking a look back at what I've already accomplished while at the same time trying to identify the work that remains. I know for a fact that I still need to make changes to my audio handler and my load game dialog, but I wanted to make sure I didn't miss any other places. A quick search of my project with GrepWin showed only what I expected so it was time to get to work!
It was time to dive into my audio handler and the changes weren't too bad actually. I had to erase a few variable declarations and an entire function along with some simple changes to others. Luckily the new way of doing things was built in such a way that I just had to change the call (the parameters were all still the same). I did step through each of the changes one section at a time to make sure I understood what needed to happen. This whole time I was conversing with Gemini to make sure I understood what was needed so I could make the changes myself. I even gave some pushback on a proposed change that I didn't like (It wanted to split one function out across seven separate functions instead of just making a simple change to each line of that existing function).
Once that was done I allowed Gemini to look over my changes to validate them. It didn't spot anything I missed, but I can never be sure it's even looking at the right thing. After that it was time to move to the last piece, my load game dialog. This one really didn't seem like it would be too difficult either. After looking over the code I discussed the changes that were needed with Gemini and again it was trying to do things that shouldn't be done. And, like before, once I made my changes I had the AI validate them. And as is expected, it started hallucinating code that wasn't in the file I gave it.
Testing
Of course, changes like these aren't complete until you test them. And testing showed that some things weren't working properly anymore (it's also possible some of this was never working properly too). So, let me detail what I found. . . First, the opening music kicks in twice. I actually had this issue previously, but I don't know if it's the same problem this time or something else. After that, I found that my load game dialog isn't updating to show the appropriate data for a saved game (I did confirm there is a save file). And finally, if I set the player's name in the induction terminal, the value set remains after quitting and restarting. I was able to confirm that my volume settings are saving appropriately though!
Next Time
Even though the code is still buggy and not working properly, I'm stopping for the day. Sure, the refactor isn't technically complete, but I'm confident these issues should be pretty easy to address. I'll tackle them in the next session because I can't spend all my time in the Philippines working on my game, I need to make sure to enjoy my time with my partner!
Xenodochium
The future is what you make of it!
| Status | In development |
| Author | Munchmo |
| Genre | Role Playing |
| Tags | 2D, Cozy, Godot, Indie, Life Simulation, Pixel Art, Sci-fi, Singleplayer |
| Languages | English |
More posts
- HUD Prefab: Layout Changes4 hours ago
- Virtual Joystick: It's Alive1 day ago
- Virtual Joystick: Wiring In2 days ago
- Planning Is Work3 days ago
- Refactor: Troubleshooting4 days ago
- User Config Refactor: Continued6 days ago
- User Config Refactor: Planning6 days ago
- Virtual Joystick: Configuring8 days ago
- Virtual Joystick: Plugging In9 days ago
Leave a comment
Log in with itch.io to leave a comment.