Hi, I’m a newbie at SDL who is trying to make a game from it. Recently
I’ve made a class which handled animation based on Marius Andra’s
tutorial. The main application class have a screen surface, a vector of
backgrounds, and a vector of sprites. The sprites themself have a vector
of animations (so, for example, 1 character object can have a walking
animation, an attack animation, and a death animation ). And of course an
animation consists of a vetor of images. Actually there’s nothing wrong
with my application. The sprites can animate and moved at will. But I
wanted to add a system of predefined animations (like an opening movie
etc.). Sadly, I don’t have a clue of what to do. I don’t know what
variables or methods that need to be made. Can anybody help me with this?
My second question is: are there any tutorials about SDL Audio? I can only
find one (two with Marius Andra’s but it uses SDL_mixer).
Thanks in advance,
Bawenang R. P. P.