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
I was wondering how everyone handles tiles with triggers. e.g. teleport tiles which move the character to the next scene, or trap triggers.
I was thinking whether it would make sense to define a custom layer in Tiled and adding custom properties which than could be parsed in phaser and wired with the event triggers.
Currently I maintain a simple Set where I check the x/y pos in updated but I feel thats the wrong way arround and the tiles should be more "reactive"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering how everyone handles tiles with triggers. e.g. teleport tiles which move the character to the next scene, or trap triggers.
I was thinking whether it would make sense to define a custom layer in Tiled and adding custom properties which than could be parsed in phaser and wired with the event triggers.
Currently I maintain a simple Set where I check the x/y pos in updated but I feel thats the wrong way arround and the tiles should be more "reactive"
Beta Was this translation helpful? Give feedback.
All reactions