Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ah ha! I had exactly the same error on my Linux box, whenever I pressed my arrow keys quickly.

Actually we don’t need to press the arrow keys so frequently, since the player in this game has a auto-moving feature, it will move forward automatically and stop at the first intersection.

It is due to my clumsy code that every time the player presses the arrow key, a new SDL2_Mixer channel will be needed, so if one presses quickly enough, it will run out of channels, but if one presses slowly or not so frequently, the SDL2_Mixer channel will be automatically released in time.

Thank you for pasting the error, good catch!

I was thinking that I could get away with this without being caught, shame to me.

;-P

So it seems to be a bug in CALM itself, right? Seems like a great tool by the way!

Have you thought about using harmony instead of sdl2-mixer? It seems to be more flexible.

So it seems to be a bug in CALM itself, right?

It could be defined as that, and it could also be defined as the problem of the game developer, like Steve Jobs blamed the iPhone 4 users “doing it wrong” for the iPhone 4 antenna issue.

Who should we blame? Anyway, they are all me. T_T

Harmony seems great, I’m gonna check it later. The current version of CALM is in its very early stage, the reason of using SDL2_Mixer is that it just worked and could be compiled to the WebAssembly.

(+1)

I see :) Have fun developing CALM further!