2D Engine...
What language would be the best to make a decent 2D game engine? SDL? I''m not sure, after I''m done learning C++ I wana learn a another language and start on a 2D game engine, so, any advice would be nice...Thanks, bye...
I''d go with SDL or Allegro.
Either one can do 2D very easily.
(I find allegro to be easier though)
Look over the docs for both, see which style you like better.
SDL is more structured imo (It''s newer. Allegro ''evolved'' to what it is now, and so is messier), but allegro is simpler (It does some things automaticly that you have to do yourself in SDL, mainly converting your surfaces)
DirectX is also an option, as is OpenGL. I''m very familar with DirectX, and OpenGL seems kinda overkill. But it is possible.
Either one can do 2D very easily.
(I find allegro to be easier though)
Look over the docs for both, see which style you like better.
SDL is more structured imo (It''s newer. Allegro ''evolved'' to what it is now, and so is messier), but allegro is simpler (It does some things automaticly that you have to do yourself in SDL, mainly converting your surfaces)
DirectX is also an option, as is OpenGL. I''m very familar with DirectX, and OpenGL seems kinda overkill. But it is possible.
December 24, 2002 08:55 PM
I just wanted to make sure you are clear about the difference between a language and an API. C++ is a language, SDL is an API (application programming interface). You still use C++ to program, but you make calls to functions that have already been written for you and do things like draw a bitmap on the screen. OpenGL, SDL, Allegro, DirectX are all APIs. Actually, DirectX is a collection of a whole bunch of APIs. Now to answer your question, I would say SDL is a good choice. Good luck on your engine!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement