Api changes and other compatibility notes from previous version
This is the first release supporting pyglet 1.3+
Imports in cocos library are more specific, so user code that were doing
from cocos.somemodule import * may fail to find some symbols.
To fix that user code, add explicit exports as needed.
- MapColliders classes changed API to be more useful and clear.
RectMapCollidermoved to his own module,
RectMapColliderwas renamed to
- The new
RectMapColliderhandles a simpler collision case, when all tiles are solid: now no need to set cells properties to signal a cell border should not be walked over.
TmxObjectMapCollidernow handles AABB collision with any
TmxObjectthat can be loaded.
Rect.intersects() now it only intersects if some interior points
ScrollingManager two methods have been renamed, the old name is
still valid but will be removed in the future: