You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, sorry if this is super dead but I'm getting great use out of it!
I'm making a game for Apple Watch and I added some Types to some tiles to add collision to them in script.
I can get it to work with gid but I'd rather have something like:
let tileNode = layerInfo.layer.tile(atCoord: point)
if(tileNode.type == "Floor") -> Add the collision
Is this possible? The data seems to be there in the .tmx file.
Screenshot that explains it all: https://i.imgur.com/OkTTk6U.png
The text was updated successfully, but these errors were encountered:
Hello, sorry if this is super dead but I'm getting great use out of it!
I'm making a game for Apple Watch and I added some Types to some tiles to add collision to them in script.
I can get it to work with gid but I'd rather have something like:
let tileNode = layerInfo.layer.tile(atCoord: point)
if(tileNode.type == "Floor") -> Add the collision
Is this possible? The data seems to be there in the .tmx file.
Screenshot that explains it all:
https://i.imgur.com/OkTTk6U.png
The text was updated successfully, but these errors were encountered: