When comparing pyglet vs ImpactJS, the Slant community recommends pyglet for most people. In the question“What are the best 2D game engines?” pyglet is ranked 43rd while ImpactJS is ranked 57th. The most important reason people chose pyglet is:
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro 3D support
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Pro Cross-platform
Works with Windows, Linux, and OS X.
Pro Written in pure Python
A small advantage, but being a core Python developer, it may be the best to stick to the roots and develop with pyglet as it is able to compile using other Python interpreters.
Pro Extensive documentation available to support development
ImpactJS has an active user community that busily produces tremendous resources including videos, books, tutorials, walkthroughs and more. There are also comprehensive class documentation available.
Pro Excellent collision detection system
Impact provides 2 types of collision detection; static and dynamic collisions. Both of which are easily integrated into game development.
Pro Extendable
Many plugins are available, including one called Impact++ which adds features like pathfinding and dynamic lighting.
Pro Level editor
Built-in map editor with support for tiling, collision layers, and actors.
Pro Optimized
Works with Box2d physics library, comes with all worthwhile elements for actors built in.
Pro Truly cross-platform allowing developers to build for anything
Extending the reach of a game developed with ImpactJS is easy due to the cross-platform nature the framework. There are Considerations around performance, resolution and audio, however all can be appropriately addressed when in development. Works in the browser via Canvas, even on mobile. Easily translatable into a packaged app.
Cons
Con Small community/popularity
There is a decent amount of documentation and API to go along with pyglet, but in terms of community support there seems to be very little.
Con Inactive
The last update was in 2014.
Con Cost of $99
While most HTML5 frameworks are offered as free open source projects, ImpactJS has a one time cost and no free option.