Hey there people
Would just like to say im new here but I can see its a activate and friendly site so on to the question,
im planning to make a basic 2D engine for myself to mess around with, now I know some C++ so thats not really the problem, the problem is I dont know if I should use SDL, Cluttern or Allegro,
My knowledge on SDL is alrite, ive dont quite a few tutorials on it, so I could probably start making a 2D engine right now, but ive heard from friends and people about Allegro and one of my lecturers told me about Cluttern.
I found out that SDL doesnt use any such graphics card acceleration what so ever, so I dont feel like using SDL now, Ive heard stuff about Allegro but it doesn't seem that popular? and Cluttern seems kinda new and is made by Intel, now I know Cluttern is made for multi platform but it isnt fully compatible yet,
Also i know about openGL can be used with SDL and also Cluttern, but my goal is to make a quite simple yet nice 2D engine for myself that will run on computers "windows" linus and apple would be nice, but im not trying to make a engine for mobile devices or what not.
So guys what should I learn? should I make a 2D engine with SDL then move on to Cluttern? dont waste time and go straight to Cluttern? Maybe Allegro is the way to go? I dont know for sure but if you could just give me your opinion on what to use or what I should do it would be awesome :
Cheers Canvas
2D game engine but what API?
what is SFML? what language does it use and is it multi platform? also could you say why u would suggest SFML?
, k ive had a look, well I think im going to just make a simple 2D engine with SDL, then go and learn one of the others, that SFML looks quite fun so i will probably go for that one after SDL cheers
Alpha_ProgDes
Alpha_ProgDes
As someone who was in your situation a couple weeks ago, I would second the suggestion of SFML (just get right to it, don't bother with SDL). SDL and SFML are essentially very similar, while SFML is object oriented and is C++ based while SDL is C based (from what I understand). Both have the option of using OpenGL when you'd like to take that jump, however SFML uses hardware rendering, whereas SDL uses software rendering, for the built in graphics functions of the libraries. This vastly increases the rendering speed, making games written without OpenGL much faster in SFML than in SDL. There really isn't much sense in learning SDL and then SFML when they are pretty much the same thing. At least imo.
Some useful resources:
http://www.sfml-dev.org/tutorials/1.6/
http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-The-Introduction.aspx
Those 2 resources should be enough to get yous tarted on a 2D engine. You can also make use of the LazyFoo Tutorials for SDL once you know how to work SFML, for other things that have to do with game logic.
Some useful resources:
http://www.sfml-dev.org/tutorials/1.6/
http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-The-Introduction.aspx
Those 2 resources should be enough to get yous tarted on a 2D engine. You can also make use of the LazyFoo Tutorials for SDL once you know how to work SFML, for other things that have to do with game logic.
DirectX 9.0c is pretty easy to use if you just want to use sprites.
Better still, if you compile against the Summer 2004 SDK you wont need to worry about any pesky dll's, as they are part of the operating system. This was the last DX that was released that would static link against your application.
Even better still, compile this with VS.net 2003 express and you wont need to supply any dll's what so ever, just your exe and any assets you are using.
Better still ++, you could also pack your assets in to your exe file and supply your entire project as a single executable.
Better still, if you compile against the Summer 2004 SDK you wont need to worry about any pesky dll's, as they are part of the operating system. This was the last DX that was released that would static link against your application.
Even better still, compile this with VS.net 2003 express and you wont need to supply any dll's what so ever, just your exe and any assets you are using.
Better still ++, you could also pack your assets in to your exe file and supply your entire project as a single executable.
FYI, check out my old blog (linked in my sig) for an example of me creating a game using SFML and chipmunk-physics for the 2D physics library.
Starts for the earliest post and work backwards. SFML, IMO, is much better than SDL, and easier than DirectX or openGL.
Have fun
Starts for the earliest post and work backwards. SFML, IMO, is much better than SDL, and easier than DirectX or openGL.
Have fun
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement