Kubic-C / spock_engine

C++ 2D Game Engine | Spock Engine
MIT License
7 stars 1 forks source link

Sound #5

Closed Kubic-C closed 1 year ago

Kubic-C commented 1 year ago

Currently spock engine gives the user no ability to play sound

Solution:

// example

const char* sound_file = "sound_file.mp3"

uint32_t sound_id = spk::load_sound(sound_file);

spk::play_sound(sound_id);
Kubic-C commented 1 year ago

added basic sound PR #7