No Game Engine Game Dev: Word Sleuth 011: Bug fixes and window sizes

4 months ago
8

Streamed on 2024-07-09 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

There were a couple of bugs that were bothering me, so we hunted them down and murdered them with great prejudice. One was about color transitions in animations. The other was playing sounds while changing levels.

Next we moved on to window sizes. The window size is not the same as the render area, so we added some tools to work with the render area, which is more important in our case. In the Settings scene we added buttons to change the window size. We changed the way the Settings scene lays out its elements and will have to do the same with the MainMenu and Game scenes tomorrow.

During the above window sizing adventure, we ran into a piece of code that I had not implemented and had to work out on the fly. Fonts weren't paging out old FontData to make room for new FontData so we could work with different font sizes, which is super important. As we change window size, we have to change our font sizes so we page in/out more fonts than we have before with a fixed window size.

Loading comments...