Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Tilengine

2D retro grapics engine with true raster effects for creating 8/16 bit style games · By megamarc

sound support

A topic by ChrKoval created Feb 23, 2023 Views: 208 Replies: 1
Viewing posts 1 to 2

I found info (but don't know who wrote it) that tilengine doesn't provide sound support by default. Is that true? Since Tilengine is based on SDL I assume it has some basic sort of integration for music and sfx.

I found course by lazyfoo touching that subject (how to manage sound) is it still applicable to tilengine?

Or maybe, is there any other way to enable playing music?

Developer

Hi!

That's right, Tilengine is a graphics-only component. Think of it as a virtual 2D graphics chipset. You have to pair it with other components like sound, physics or netplay. You can use any sound library of your choice, SDL-mixer is a very good option. Tilengine uses SDL2 for windowing, but that doesn't mean you have to pair it with SDL-mixer.

For example my demo project PythonPlatformer uses python tilengine binding and pysdl2 for sound playback:

https://github.com/megamarc/TilenginePythonPlatformer