Program Framework
- 3 Devlogs
- 14 Total hours
Framework built on top of SDL which will eventually be able to manage rendering, input, and more
Framework built on top of SDL which will eventually be able to manage rendering, input, and more
I finished wiring up a simple test render which uses the framework’s systems.
I also worked a bit on cleaning up some of the code and labelling my intentions/future plans. I also verified that my build configurations were ok, and made sure I had no more memory issues.
I cobbled together a component system which allows for the creation of two types of containers. One strictly contains data, while the other one is slower but can also contain references to other components and functions. I based quite a bit of this on some of the patterns I read in “Game Programming Patterns” by Robert Nystrom, and I really recommend it if you are interested.
In addition to that, I had a “small” (massive) memory leak which resulted from me misunderstanding the way SDL handles rendering, so I got it to render stuff and clear the command queue which fixed that.
I also started a little bit on a logging system which also uses SDL, but I want to make it more natural to use and more fitting with the way I designed this library.
Started basic window management, input systems, and texture rendering. More soon!