I am starting afresh

hello, i am a 19 year-old programmer and i am trying to
learn SDL APIs as an alternative to DirectX on linux
stations… SDL is fairly simple and it seems to be as
powerful as his proprietary equivalent… So i would be
glad if someone could tell me some tricks… i do not know
if i am to write a fast graphics primitive library in order
to complete that API… (I think I must), and I have not
been able to find an exhaustive explaination of the
programming interface, even if i should have red the
sources. I thank anyone that could help me in advance…
have fun !______________________________________________________
Bo?te aux lettres - Caramail - http://www.caramail.com

Graphics primitives are only necessary if you truly want to draw lines,
circles, elipses… etc. I would suggest that if you wish to make a game
of some sort that all of your graphics are in files ahead of time.
SDL_image is a library you can use with SDL that will allow many image
file types. PNG, GIF, and JPEG are just a few. Since they are compressed
they will not take up much space.

If you really want graphics primitives I would suggest the SGE library.
You can find it on the SDL library page. SGE only has two problems. It
can be difficult to install and it utilizes freetype which is a truetype
font package that may be in violation of some patents by Apple Computers.

Good luck and have fun…

DaveOn Mon, 10 Apr 2000, pastres beau wrote:

hello, i am a 19 year-old programmer and i am trying to
learn SDL APIs as an alternative to DirectX on linux
stations… SDL is fairly simple and it seems to be as
powerful as his proprietary equivalent… So i would be
glad if someone could tell me some tricks… i do not know
if i am to write a fast graphics primitive library in order
to complete that API… (I think I must), and I have not
been able to find an exhaustive explaination of the
programming interface, even if i should have red the
sources. I thank anyone that could help me in advance…
have fun !


Bo?te aux lettres - Caramail - http://www.caramail.com

hello, i am a 19 year-old programmer and i am trying to
learn SDL APIs as an alternative to DirectX on linux
stations… SDL is fairly simple and it seems to be as
powerful as his proprietary equivalent… So i would be
glad if someone could tell me some tricks… i do not know
if i am to write a fast graphics primitive library in order
to complete that API… (I think I must), and I have not
been able to find an exhaustive explaination of the
programming interface, even if i should have red the
sources. I thank anyone that could help me in advance…
have fun !

Look at the example code, that will help.

Also, I have an ok set of tutorials that I’ve presented to the Linux Users’
Group I’m part of, and (just a few days ago) to the Game Design Club I
started.

Go to: http://www.lugod.org/presentations/

And look for the two on SDL.

-bill!

Speaking of example code… maybe I should look at it and maybe document it,
a la type-in programs form old magazines. That and add more /* comments */…
(oh crap, I was gonna do joystick docs… shoot!)

In article <955345287028327 at caramail.com>,
pastres beau writes:

hello, i am a 19 year-old programmer and i am trying to
learn SDL APIs as an alternative to DirectX on linux
stations… SDL is fairly simple and it seems to be as
powerful as his proprietary equivalent… So i would be
glad if someone could tell me some tricks… i do not know
if i am to write a fast graphics primitive library in order
to complete that API… (I think I must), and I have not
been able to find an exhaustive explaination of the
programming interface, even if i should have red the
sources. I thank anyone that could help me in advance…
have fun !


Bo=eete aux lettres - Caramail - http://www.caramail.com

Since you seem to be speaking French, I wrote a tutorial on SDL
programming in French available here :

http://lokigames.com/~megastep/SDL/--
Stephane Peter
Programmer
Loki Entertainment Software

“Microsoft has done to computers what McDonald’s has done to gastronomy”