What free, 2D game engine should I use?

Started by
25 comments, last by starstriker1 21 years, 3 months ago
I''m looking for a free game engine, that works with DirectX in 2D. My next project is going to be using DirectX, but the interfaces to DirectDraw are driving me insane, along with window''s constant threat of error ridden annoyance. So I decided to use on of those windows shells, and a basic game engine to get me started. Granted, I''m likely to be tweaking the engine alot. I tried to use the GPDUMB engine supplied in Windows Game Programming for Dummies, but, like all the other source code in the book, it doesn''t work for me (unlike the code in my latest book, which works like a charm). Any suggestions? Or hints at what I may be doing wrong with the GPDUMB? My next project is going to be a remake of my last project, in Windows and DirectX instead of DOS. If you want to take a look at my game, you can download it from www.geocities.com/momogames/DELTACTF.zip . Use the mouse to aim you spaceship, left mousebutton to move forwards, right mousebutton to thrust backwards, and space to fire. Enjoy!
Advertisement
If you''re interested I can mail you the engine I just started doing, it''s not much but can load and render images with color keys, a scrolling environment, as well as playing sounds using DMusic8. I''m designing it so I can easily add OGL or D3D support, or other sound libraries. At the moment it''s only using DDraw because of my laptops poor performance when it comes to "home-made 3d accelerated programs..." There is no documentation though, but I comment a lot. Maybe a little too much, but it works for me.

-Trond
-Trond
Don''t use DirectX, try SDL. It''s a whole lot easier, like easy enough to not drive you insane. And for sound that also really easy, use SDL_mixer. And though I''ve never actually used it since I don''t know network programming, SDL_net looks really easy too.

SDL: http://www.libsdl.org/index.php
SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/
SDL_net: http://www.libsdl.org/projects/SDL_net/

It''s considerably easier than DirectX, and just as good, in my opinion (except you don''t get as much flexability when it comes to dealing with windows stuff, but that''s what you get for it being cross-platform). SDL also works great with OpenGL. Tribes 2 and Quake 3 have been ported to it. Good luck.


- f l u c k y p o o
- f l u c k y p o o
Its not an engine but its good

Allegro: alleg.sf.net

[edited by - phate on January 2, 2003 10:53:23 PM]
~phate----For My next trick I need a lesbian and a burlap sack!
ZEngine should be easy for you to use, it''s OpenGL for _FAST_ 2D and SDL for music and input and everything else.

http://zengine.sourceforge.net/
SDL is an idiot proof API! Is there something like a 3D version of it?
You could also try CDX. It''s more of a 2D class wrapper for DX than an engine, but it does quite well.



Always remember, you''''re unique. Just like everyone else.

Greven
Always remember, you''re unique. Just like everyone else.Greven
Wow... SDL look easy to use. I''ll look a bit further into it...

If its idiot proof, I can work with it until I figure out directX!
Use your own

SDL is not comparable with DirectX.

.lick

[edited by - Pipo DeClown on January 3, 2003 7:52:02 AM]
quote:Original post by Pipo DeClown
SDL is not comparable with DirectX.


But SDL uses DirectX... I''m confused



Always remember, you''''re unique. Just like everyone else.

Greven
Always remember, you''re unique. Just like everyone else.Greven

This topic is closed to new replies.

Advertisement