Stay Down Dev Log - Part 4 - MAJOR REFACTORING, Game States!

3 years ago
8

In this HEFTY video, I refactor pretty much all the code I've written so far to take on a more modular approach to organizing the project. I truly keep everything out of the global scope except for one global object. In addition, I implement some game states to manage the pause and run states of Stay Down. This is boring stuff, and there's a lot of brow furrowing, but it had to be done.

What you'll learn in this video:

- Patience (if you watch to the end).
- Game States / State Machine. Games have different states and this video shows one way of managing that.
- A way to organize and structure your application in a very modular way, allowing for private and public members in each module.
- How not to make a successful Rumble video. NO EDITS, BABY!!!

Visit my website: https://pothonprogramming.github.io

Loading comments...