Yeah, I saw, thanks.
A silly question, maybe, Iāve seen that Mix_LoadWAV and Mix_PlayChannel in SDL.Mixer are not implemented. The SDL docs say that they were macros before but they have been promoted to proper API functions. Is it worth giving them a new biding? I was able to complete the sound effects and music tutorial with what is already implemented. I assume you made it when they were still macros.
I didnāt create the mixer bindings, someone else did. But yeah, thatās likely why they werenāt bound.
Oh, I see. I thought you were the original author. Well, what is there works fine so Iāll just a make a note and if I have the time, Iāll use it as an exercise. Thanks.
I am of SDLAda, but someone else wrote the mixer part based on SDLAda and submitted it.
Definitely, feel free to add them and send a PR, to the mixer project
Iāve just checked where you are in the lazyfoo tutorial, did you do the rumble stuff because thatās missing too?
Yes, I skipped it, I have nothing to try it with
Hi again Luke,
I finally got around to doing the timer tutorials on Lazyfoo. The frame calculation in the original just does an average on the total frame count since the program starts, so I wanted to go one step further and Iāve added an āimproved_frame_calculatingā project that does a better job, if youād like to have a look. It takes a number of samples and averages them out, the number of samples can be changed to average for more or less time. Iāve tried to make it as Ada-like as possible. As always comments are very welcome.
https://github.com/alexispaez/sdl_tutorial.git
Best regards,
Alexis.