3 ms·
Those libraries don’t provide any game structure though (well, SDL and glfw at least, I think the other two do give you a small amount of structure), they only
by dkersten 7y ago
Those libraries don’t provide any game structure though (well, SDL and glfw at least, I think the other two do give you a small amount of structure), they only provide functions to get input style, open a window and basic rendering primitives. You can build an engine out of them, but I wouldn’t call them engines by themselves any more than you would call DirectX it the windows API a game engine.
You can make simple games out if just hose libraries, but anything complex will tend to require a ton of support code (characters, animation, maps/levels, camera control, collision detection, event triggers and such for example) and other libraries, at which point you’re basically writing a small custom engine on top of those libraries.
- s9w 7y agoYes! That was more or less my point. But since we're all confused anyways: Do you have an example for a real 2D game engine? with "game structure" as you call it.
- jfkebwjsbx 7y agoUnity and Godot are popular ones.
- dragonshed 7y agoCommenting because noone else has mentioned it; I've been enjoying love2d[1] because it paves over all the annoying technical issues I might run into, and exposes it all in a nice lua api[2]. [1] https://love2d.org/ https://love2d.org/ [2] https://love2d.org/wiki/love https://love2d.org/wiki/love
- dkersten 7y agoYes, many: Godot has a 2D renderer and physics option, Defold is 2D by default, Game Maker Studio, Cocos2d, Corona, Construct, Phaser.io, Buildbox, Gamesalad, Stencyl, Clickteam Fusion Unity is very capable of 2d games too and provides a lot of game structure and so do many other engines (I want to mention Heaps.io because it’s awesome).