Hi, I'm starting work on a little project to make a roguelike in Phaser and after a ton of Googling, I still can't figure out for the life of me how to assign tiles from a spritesheet to a dungeon generating algorithm (something simple like cellular automata). I could always try and implement something like rot.js to do the generating, but even still I'm not sure how to take some simple sprites and display them as a tile in the map. If anyone could help me out I'd be truly grateful. I've probably missed something really obvious but I'll be damned if I can figure it out! Many thanks.