gaembuoy
gaembuoy copied to clipboard
No issue - Good job !
Hello (Bonjour ?)
Just a post to thank you for your work !
I was able to port your code on a smart watch with the help of Tizen Studio. Your code has enough comments to understand at least the frontend part, good !
I replaced the SDL frontend which doesn't seem to work on my watch. I use opengl instead and sound has its own native commands (Android). The hard work was to create a thread for the graphics, completely independent of the game engine thread + sound thread, all 3 sharing data with semaphores like you did. At the end it works and the sound sampling rate is driving the game tempo like in your code and so sound is not cut. The opengl loop is behind and try to pick some graphics frames when they are available.
So good job !