Writing games.

I want to write a simple 2D game type thing. All it is is a black pixel sprite moving across a white back ground. This will have collision detection, input with keyboard, mouse, and maybe joystick. But what library could I use?

I want SDL, so I can port it easier and maybe put it on Dreamcast. Are there are any other libs you recommend? I’ll start coding something right now.

what language? and what is the point?

I don’t know anything about porting to Dreamcast (nor do I care), but for portability, SDL is the way to go.

I’m also in the process of learning the SDL API, following this tutorial.

I’m doing it all through the xterm on Linux (vi + gcc), because I don’t want to be dependant on an IDE in order to write and compile a functional program.


SDL itself is written in C, but the API can run C++ code natively.

and what is the point?

Have fun writing and playing games.

If you’re talking about what’s the point of asking what library to use it’s because I want to be able to play games on many system s and not worry about licenceing or incompatibility.