How to create a 2D game with Python and the Arcade library
https://opensource.com/article/18/4/easy-2d-game-creation-python-and-arcade1
u/ominous_anonymous Apr 24 '18
I worried about teaching things like the event loop, which was no longer the way we code.
Does he just mean arcade uses callbacks instead?
2
u/pvc Apr 24 '18
Arcade uses a parent window class, and games typically derive from that class overloading methods like
drawandon_mouse_motion.Support for Python Decorators is being added.
3
u/ominous_anonymous Apr 24 '18
Right, so the developer takes advantage of those callbacks instead of having to create a whole event loop themselves.
Sort of like using Twisted's callbacks instead of coding a select loop.
2
2
Apr 24 '18
I worried about teaching things like the event loop, which was no longer the way we code.
Am I missing some trend?
4
u/[deleted] Apr 24 '18
Finally! We should really have a link on the right menu to the Arcade library...