Some questions about SDL

Wow! SDL looks really neat. However, I have not been able to get it to
compile with RH 5.0. It’s OK…for some odd reason I was able to get it
to compile the first time…but not the second! Very weird…so…I’ll
just wait until I re-install linux in a few days.

I have a good feature that SDL can benefit from. The feature would be if
you could play two wavs simultaneously. It would be REALLY nice I
someone could loop a WAV file that was music, and be able to play other
sounds at the same time. In a sense it would mix the sounds together in
real time. Does SDL already do this? I didn’t see it anywhere. This way
a game producer could avoid having to use a MIDI interface etc. They
could just make a looped wave for music and play other waves at the same
time. I want to write a role playing game…but music is something I
really need. I would like to know if you could tell me the plans on
what’s to come of the sound area of SDL. Also, tell me if I’m
wrong…but doesn’t SDL just let you write to a frame buffer? Ok…if I
wanted to use functions like draw lines, circles, etc. Wouldn’t I have
to write them myself? Do you know of anyone who has done this already
and set it up to work with SDL? Oh well…SDL look EXTREMELY nice to
me…and I think it’s a great idea. The ONE thing that I just LOVE is
it’s portability. I love things that are cross platform. One more thing
that would be cool as hell is if you implemented some means of using
MesaGL or some other openGL library to use OpenGL with SDL.

Keep up the most awesome and excellent work!

Thanks,

Paul Lowe
xpaull at ultraviolet.org

Thanks! Please reply!

Wow! SDL looks really neat. However, I have not been able to get it to
compile with RH 5.0. It’s OK…for some odd reason I was able to get it
to compile the first time…but not the second! Very weird…so…I’ll
just wait until I re-install linux in a few days.

Or try typing “make spotless” to reset the configuration.

I have a good feature that SDL can benefit from. The feature would be if
you could play two wavs simultaneously.

Actually, this can already be done with Macintosh sound resources using the
example Sound class in example/maclib. The standard library doesn’t have an
API for playing multiple sounds simultaneously, but it could easily be added.

I want to write a role playing game…but music is something I
really need. I would like to know if you could tell me the plans on
what’s to come of the sound area of SDL.

I could write a simple example mixer that would do what you want, if you like.

Also, tell me if I’m
wrong…but doesn’t SDL just let you write to a frame buffer? Ok…if I
wanted to use functions like draw lines, circles, etc. Wouldn’t I have
to write them myself?

Yep. You could easily port any of many graphics packages to SDL, but I don’t
know of any offhand that have been ported. You could use the example FrameBuf
library, which includes lines, and rectangles. It doesn’t include code to
draw circles or arcs, but if you wanted to add it (or know somebody who did)
I’d be happy to include it.

The example FrameBuf class is in example/screenlib and currently doesn’t
have documentation other than the header file.

Oh well…SDL look EXTREMELY nice to me…and I think it’s a great idea.

Thanks! :slight_smile:

The ONE thing that I just LOVE is it’s portability.

Me too.

One more thing
that would be cool as hell is if you implemented some means of using
MesaGL or some other openGL library to use OpenGL with SDL.

I thought about this for a long time, but realized that it’s much better
to use the native accelerated OpenGL API with SDL rather than implement
an OpenGL interface within SDL. This keeps SDL simple, and OpenGL fast. :slight_smile:

Keep up the most awesome and excellent work!

Thanks! I will!

See ya,
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Haven’t seen you on goofey since your debut - goofey --help gives you a
list(actually, any unknown command gives you a list :slight_smile: of commands.
goofey -ru to read any messages which weren’t delivered.

goofey -a watch njh,huberj,mik
sets up a variable that tell you automagically when one of me, michael
samuel, josh huber are on line.

biggest problem is that I go to bed as you wake up… try talking to
huberj, as he lives in the US.

have fun!
njh