Sign in to follow this  

2d SDL DevC++ Engine and Sample Code

This topic is 4766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've worked on a little 2d engine awhile back using some big games framework and structure and probably will never finish this little engine. I decided to setup the project using everything free (compiler, SDL, and whatever libs along the way). The sample is very generic but it shows how to load textures based on a file, keyboard input, an actor/scene system, a quick z sorting hash table setup, basic collisions, great timer, config file, logfile, basic time based animations loaded from a file, and a font lib from Diego Billi. Either way I may continue to work on it now and then, but for now I will just release the source. It include all the binaries and source, however you need the SDL SDK and DevC++ of course to rebuild it. SDL I used was version 1.2.7 DevC++ was 4.9.8.0 . Also I had problems with the newest DevC++ beta that was improperly compiling the source. http://dmoney.no-ip.org/SimpleEngineFull.zip EDIT: I forgot to mention if you run the little test the arrow keys move the joust bird and the space bar fires his little spear gun...

Share this post


Link to post
Share on other sites
I am pretty sure the link does work I just VNC'ed outside my network and downloaded it. Anyone else have this problem? Also the other post was on the Alternative Game Libraries which likely far more people deal with SDL on that. I wasn't aware there was double post police.

Also the link may not work since it is passing through port 9066 so for whatever reason your ISP or school may block that port.

another way would be using this link which specifies the port
http://daveyboy.no-ip.org:9066/SimpleEngineFull.zip


Share this post


Link to post
Share on other sites
Cool no problem, I would use a standard port buy my ISP blocks normal http ports to prevent webservers. Also if anyone downloads it and finds it useful please post and I will leave it up for a bit, else I will take it down in the next couple days.

Share this post


Link to post
Share on other sites

This topic is 4766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this