You are browsing as a guest. Sign up (or log in) to start making projects!

Program Framework

  • 3 Devlogs
  • 14 Total hours

Framework built on top of SDL which will eventually be able to manage rendering, input, and more

Ship #1 Pending review

I made a simple framework that builds on the Single DirectMedia Library (an existing library) which helps to take care of some boilerplate and streamline programming projects. I finished the basics like rendering and a component system, but I plan to add more soon!

Attached is a rough design diagram (made in Microsoft Paint)

  • 3 devlogs
  • 14h
Try project → See source code →
Open comments for this post

35m 22s logged

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.

0
0
12
Open comments for this post

6h 41m 35s logged

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.

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…