Chasing the Spotlight 1.1 Patch
A smallish patch was made for Chasing the Spotlight. These were just a couple of issues and reworks that I wanted to make after the results of the game jam were announced. The original release of the game will still be available to download alongside the updated version. As of right now I'll consider development finished for the game as of now, though I might consider adding additional changes and features if I feel like they can work and I have the time for it.
Patch Changes
UI Touchups: Added the jump control in the help menu, centered the points counter on the in-game HUD, and made so that the images for the HUD elements scale with the window size.
I wanted to have it so that the text would also scale, but the process for that would have required additional coding done to get it working. despite this, the resized elements should make it easier to notice despite the fact. All other UI menus were unchanged as they worked fine with larger window sizes.
Spotlight Rework: Changed movement logic for the spotlight:
Previous Logic:
- Roll a number between 1 and the position array size
- Go through the array holding the last two used spots
- If the rolled number isn't those two numbers then move the spotlight to that position, if it is then reroll and start back at step 1.
New Logic:
- When the game starts roll between 1 and the position array size
- Go through a for loop and populate an available position array with the unused numbers
- Place the spotlight at the position marked from the rolled number and save that number
- On every move after the first move roll between 0 and the available position array size minus 1
- Place the spotlight on the position of the number set in that chosen index from the array and save that number in a buffer
- Replace the number used from the available position array with the previous spot
- Replace the previous spot with the new spot currently in the buffer
While the previous logic is a lot simpler, there was a risk of the game stuck in a loop if the game decided to roll the two saved numbers for who knows how long. The new logic is based on a suggested idea during the judging process in the jam after it was submitted.
GitHub Repository
Alongside this update, I've also added a handful of comments in the codebase and a text file going over setting up Func_Godot and Trenchbroom for those who wanted to crock the game open and see how it ticks. If there's any issues in regard to setting up Func_Godot I'll try to help troubleshoot it ASAP. The link to the repository is here.
Files
Get Chasing the Spotlight
Chasing the Spotlight
Solo dev game jam project in Godot
Status | Released |
Author | Bometrius IV |
Tags | Godot, My First Game Jam |
More posts
- Chasing the Spotlight 1.2 Patch79 days ago
- Chasing the Spotlight: A Postmortem79 days ago
Leave a comment
Log in with itch.io to leave a comment.