stardance has been extended another month! the new deadline is october 31 :)

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

Wiiwhbfidow

@Wiiwhbfidow

Joined June 10th, 2026

  • 5Devlogs
  • 2Projects
  • 1Ships
  • 1Votes
Open comments for this post

3h 20m 53s logged

New functioning audio system
In the past few days, I have been working on implementing an audio system that relies on SDL_Mixer, a separate library from SDL.

I decided to use SDL_Mixer because I did not want to manually manage the mixing of sounds and management of the different audio streams, like that of which I would need to do if I used SDL’s built in audio tools.

I also dropped SDL_image from the library right now because it adds too many dependencies, and I don’t think the additional overhead is needed for my intended functionality right now. In the future, I was looking into incorporating WUFFS, which is a programming language that is built to guarantee memory safety when loading files. (link: https://github.com/google/wuffs)

I wasn’t really sure of what to put for my image, so I put an image of me stepping through and debugging my code because nothing was played. (Spoiler alert: I flipped an operator)

0
0
22
Open comments for this post

4h 19m 26s logged

First, I worked a bit more on my observer system under the hood. Instead of relying on observer objects, the subject just takes a reference to a callback which is intended to be called on the subject’s notify(). The picture is a demo where anytime I press a key it prints “test.”

I also went through my code and tried to leave comments which clarify the functions and usage of certain things, which should help to make it more usable.

Also, my Git connection keeps breaking, which is enraging!

0
0
26
Ship Changes requested

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
16
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
5

Followers

Loading…