3 ms·
Not sure we're talking about the same thing then. SDL, glfw, SFML, Monogame.. I don't think any of them contain physics code.
by s9w 7y ago
Not sure we're talking about the same thing then. SDL, glfw, SFML, Monogame.. I don't think any of them contain physics code.
- deleted 7y ago[deleted]
- meheleventyone 7y agoMost of those are libraries/frameworks rather than engines though. A fuzzy distinction I know but most of these are something you might build an engine of top of to avoid some of the cross-platform drudge.
- versteegen 7y agoGLFW, SFML, and SDL absolutely aren't game engines, I don't think it's fuzzy at all. They're libraries for graphics, audio, and other useful APIs. Monogame I'm not familiar with, but since I can't tell by skimming the wikipedia article, I'd call it fuzzy.
- pjmlp 7y agoMonoGame as remake from XNA is much more higher level, as Microsoft made it for Indie games on the original XBox and WP7, and with some lessons taken from the earlier Managed Direct X attempt. So while not at engine level, it already provides higher abstractions than those libraries, and a content pipeline.
- dkersten 7y agoThose 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).