PDA

View Full Version : Dr. Mario Clone




robvas
Oct 6, 2010, 02:29 PM
I made a Dr. Mario clone using SDL (http://isovega.net/macgameprog/). Of course, I'm using a Mac with Xcode, but if anyone wants to see if it will work under Linux/Windows, I'd be interesting in seeing how it runs.

Screenshot:
http://isovega.net/macgameprog/bugzapper/bugzapper-screenshot.png

Link to the source+program: http://isovega.net/macgameprog/bugzapper/BugZapper-0.1-full.zip

Just the source: http://isovega.net/macgameprog/bugzapper/BugZapper-0.1-source.zip

It's far from 'complete' but I felt it was enough to share with other people who are getting started in game programming.

The art is from Surt - http://opengameart.org/content/dr-mario-clone-sprites



Mac_Max
Oct 8, 2010, 03:48 AM
I couldn't get your game to run. Did you include all of the SDL libraries or do I need to install something?

robvas
Oct 8, 2010, 07:34 AM
I couldn't get your game to run. Did you include all of the SDL libraries or do I need to install something?

You will need the SDL runtime installed

http://www.libsdl.org/download-1.2.php

I assumed if someone was using SDL they would have that already. Plus, if you statically link your program with the SDL libraries, there are some licensing issues that I did not wish to deal with.

MorphingDragon
Oct 8, 2010, 07:47 AM
You will need the SDL runtime installed

http://www.libsdl.org/download-1.2.php

I assumed if someone was using SDL they would have that already. Plus, if you statically link your program with the SDL libraries, there are some licensing issues that I did not wish to deal with.

SFML has a less restrictive license. Consider looking into that.

Mac_Max
Oct 8, 2010, 01:54 PM
I already have SDL installed but it still wouldn't run. Bad install perhaps?

Mac_Max
Oct 8, 2010, 02:04 PM
Found the problem by opening up the project file (I meant to poke around in your code at some point to learn about SDL), you also have to install SDL_image & SDL_mixer. I guess they're not in the main SDL framework...

http://www.libsdl.org/projects/SDL_mixer/

http://www.libsdl.org/projects/SDL_image/