playif / play_phaser

A Dart port for Phaser 2D game engine.
MIT License
71 stars 13 forks source link

Ninja AABB vs full tile #29

Closed Simey closed 9 years ago

Simey commented 9 years ago

When using the ninja tileset along with AABB, the full tile(the tile with the ID of 1) returns an error stating that there are too many parameters for the function, projAABB_Full. Looking in the lib/physics/ninja/aabb.dart file, I noticed that the function projAABB_Full was missing the 'Tile t' parameter that even the comment documentation shows. While technically the function does not need that parameter, whatever calls it passes it, which means there will be an error whenever it is run. I was able to resolve the problem easily by simply adding that parameter.