Tutorial 4b is done.

This topic is 4867 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

I finished my sound effects tutorial. You know the where. I am also making this announcement in my MSN group thing. I think it's sorta setup like a mailing list thing. So, hack it to pieces, tell me what you think. Is it good enough for basic effects?

Share on other sites
Good timing. I'm converting a game from DOS to SDL and I need some sound effects in that..:)

Share on other sites
Looked it over and yes, it is a good place to start. Good job.

Share on other sites
I'm thinking about making a 4c tutorial. That would cover some of the extra effects, such as setting the sample volume, hooking, dynamic channels, and stuff along those lines.

Or, I could skip that, come back and do it later. And in the mean time, finish up my tutorial on the SDL__TTF library.

Any ideas?

Share on other sites
I would prefer to read the 4C tutorial first and the SDL_TTF later.
Anyway, great tutorials!

Share on other sites
I agree with ZadrraS. Also in your tutorial I suggest you explain what these #defines are:

#define AUDIO_RATE 22050#define AUDIO_FORMAT AUDIO_S16#define AUDIO_CHANNELS 2#define AUDIO_BUFFERS 4096

I know what they are for, but you might want to specify why you chose the values you did. (ie, 22050 is the playback frequency most often used in games. 44100 is CD quality...I think).

Share on other sites
This would be covered in 4c.
4a and 4b are just enough to get the person started with out going into to much detail.

I just tried to simplify it here to make it as easy as handling a surface.

Share on other sites
I'm looking for sdlttf help I only be able to redender in one color.

Share on other sites
Quote:
 Original post by PnP BiosThis would be covered in 4c. 4a and 4b are just enough to get the person started with out going into to much detail.I just tried to simplify it here to make it as easy as handling a surface.

Then i definatly want to read 4C asap!