Good documentation or Tutorial

I am looking to write a game in Visual C++. I would like to have it cross
platform with linux. I have written games before, but in Qbasis with pset.
The documentation on libsdl.org doesn’t help much. I tried the examples and
they didn’t work. If anyone has a good tutorial with a simple test program,
I would be most appreciative. Thank you.

Sincerely,
sglane_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

i may just be blowing my own horn here, but what the hell, right?

http://www.gamedev.net/reference/programming/features/sdl1/>From: “Gabriel Lane”

Reply-To: sdl at libsdl.org
To:
Subject: [SDL] Good documentation or Tutorial
Date: Sat, 8 Dec 2001 23:11:57 -0600

I am looking to write a game in Visual C++. I would like to have it cross
platform with linux. I have written games before, but in Qbasis with pset.
The documentation on libsdl.org doesn’t help much. I tried the examples
and
they didn’t work. If anyone has a good tutorial with a simple test
program,
I would be most appreciative. Thank you.

Sincerely,
sglane


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

This is excellent. Something I had to do that wasn’t in your
documentation…
Copy SDLmain.lib and SDL.lib to the projects directory (in addition to
SDL.dll)

Other than that, I’m on my way. Thanks.> ----- Original Message -----

From: ernestpazera@hotmail.com (Ernest Pazera)
To:
Sent: Saturday, December 08, 2001 11:49 PM
Subject: Re: [SDL] Good documentation or Tutorial

i may just be blowing my own horn here, but what the hell, right?

http://www.gamedev.net/reference/programming/features/sdl1/

From: “Gabriel Lane” <@Gabriel_Lane>
Reply-To: sdl at libsdl.org
To:
Subject: [SDL] Good documentation or Tutorial
Date: Sat, 8 Dec 2001 23:11:57 -0600

I am looking to write a game in Visual C++. I would like to have it
cross

platform with linux. I have written games before, but in Qbasis with
pset.

The documentation on libsdl.org doesn’t help much. I tried the examples
and
they didn’t work. If anyone has a good tutorial with a simple test
program,
I would be most appreciative. Thank you.

Sincerely,
sglane


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Some things that will ease the path from win32 to Linux (or Mac OSX or any
other unix-like system):

Make sure you get you filenames case-correct. Unix-based filesystems are case
sensitive, ie “Picture.png” and “picture.png” are considered as different
files. Remember #include files will be case-sensitive too.

Use forward slashes (’/’) instead of backslashes (’’) in path names and
#includes. Forward slashes work on pretty much any system, whereas
backslashes are windows-specific.

Don’t assume you can write files to the current directory. Under unix based
systems, normal users usually only have write access within their own home
directories, so rogue apps (or rogue users :slight_smile: can’t trash the system.

Avoid win32-specific calls where possible. For example, use stat() instead of
GetFileAttributes().

Ben.On Sunday 09 December 2001 5:11 am, you wrote:

I am looking to write a game in Visual C++. I would like to have it cross
platform with linux. I have written games before, but in Qbasis with pset.
The documentation on libsdl.org doesn’t help much. I tried the examples
and they didn’t work. If anyone has a good tutorial with a simple test
program, I would be most appreciative. Thank you.