Michal Stawinski
Michal Stawinski
This change affects only how Entities are drawn. It does not modify values returned by get|setRotation. This is wanted since some external tools assume that Sprites' textures can be rotated...
splitLines() did not respect line breaks in existing text when wrapping was requested. This commits fixes it.
There were two issues in current implementation: - original clip rects where kept on stack, instead of clipping intersections - when popping topmost frame nothing happened (we should return to...
When game was resumed, Engine::onUpdate(pNanosecondsElapsed) was called with unusually big value of pNanosecondsElapsed. This caused Box2D simulation instability or undesired behavior of particle systems. This patch fixes this issue by...
Giving all 4 insets might is a little bit of an overkill. Sometimes it is enough to give only horizontal-vertical pair, or even a single value (when all the insets...
There is no reason for postDraw() to disable blending on every call. It will be enough if Shape makes sure that it has the correct blending setting in preDraw() method....
Along with restoring LevelLoaderExample and fixing the example.lvl this patch also makes use of LevelLoaderUtils- new utility class to simplify working with XML-based leveles. It shows how position and size...
This method allows to load mutliple assets from a given directory to a single ITiledTextureRegion. Instead of loading multiple assets one by one it is sometimes convinient to do sth...