-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
Hi,
I found out that game.physics.arcade.collide crash when you use it on a layer created from a CSV tileMap.
It seems that the function separateTile: function (i, body, tile) don't handle tile's layer correctly.
The object tile contains an attribute "layer", which is an object when the tile comes from a Json map, but an integer index when it comes from a CSV map.
I am still a newbie in JS, even more with phaser, so when i tried to find where "layer" was set i found nothing.
An example is visible here : http://jsfiddle.net/kW9Yr/ (uncomment "update" code to crash)
I asked on html5gamedev forum, but nobody have answered since, so maybe it's just my bad and the error is in my example.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels