Game programming - How to avoid reinventing the wheel

后端 未结 14 1605
野趣味
野趣味 2021-01-31 22:25

Summary:

Can I program a \"thick client\" game in C without reinventing wheels, or should I just bite the bullet and use some libr

14条回答
  •  南旧
    南旧 (楼主)
    2021-01-31 23:15

    I would recomend you try pyglet.

    • It has good performance, as it utilizes opengl
    • Its a compact all-in-one library
    • It has no extra dependencies besides python

    Do some tests, see if you can make it fast enough for you. Only if you prove to yourself that it's not move to a lower level. Although, I'm fairly confident that python + pyglet can handle it... at worst you'll have to write a few C extensions.

提交回复
热议问题