SDL headers are included in the FPC/Laz distribution, so it's as simple as including it and putting the libs in the directory where your binary is. (and then of course, having a basic code structure for it)
SDL headers are included in the FPC/Laz distribution, so it's as simple as including it and putting the libs in the directory where your binary is. (and then of course, having a basic code structure for it)
And if you only use FPC not lazarus? Kind of like I do... for everything... Although on windows you need the dlls and in ubuntu and other linux distros you will need to install the libsdl-dev and libsdl packages to get things to run and compile...
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
Pong??!? your'e kidding right?Oh and, chrono (cant spell the rest right, sorry ) if you want some competition, how many articles can you publish before Pong goes live?
I'd rather have a competition about quality than quantity, because I am too busy to spend time writing multiple articles.
Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.
Oh lol.. haha, no I'm not kidding. As part of a scheme to get new game tuts out there I figured we might start with good ol' retro games that are simple and pong came to mind. On the plus side it had its re-advertising campaign in the wall-e movie so its not really lost and forgotten.
Srsly tough, once the basic tut is done, I'm going to do a particle fx, animation and etc tutorial for prometheus because who can be bothered writing particle fx and all that from scratch again when you have engine at hand?
But yea, I get the point: quality is better then quantity. 1.44mb of some linux os can get you a desktop, or you could have 20gb of windoze.
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
Retro games (Pong, Super Mario Bros., Snake, Space Invaders, Pac-Man, Missile Command) are great for beginner game programming tutorials as they teach basic concepts without a whole lot of advanced concepts getting in the way. Small building blocks will feel more rewarding and have a greater effect over time.
Bookmarks