Wednesday, December 19, 2018

Recommended 2D Game Engine for prototyping



What high-level game engine would you recommend to develop a 2D game prototype on windows? (or mac/linux if you wish)


The kind of things I mean by "high-level" includes (but is definitely not limited to):




  • not having to manage low-level stuff like screen buffers, graphics contexts

  • having an API to draw geometric shapes

  • well, I was going to omit it but I guess being based on an actual "high-level" language is a plus (automatic resource management and the existence a reasonable set of data structures in the standard library come to mind).


It seems to me that Flash is the proverbial elephant in the room for this query but I'd very much like to see different answers based on all kinds of languages or SDKs.



Answer



I've used pygame extensively, and it has lots of positives:



  • it's a library for Python, which is a high-level language


  • it's got good clear documentation

  • it's got an active community


Pygame is a wrapper around SDL, a cross-platform 2D graphics library. Pygame also has wrappers for sound, music etc. Note that despite Python being a high-level programming language, pygame is (for the most part) a fairly low-level graphics library.


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...