# Mecha

Members

4

• Rank
Newbie

## Profile Information

• Gender
Not Telling
• Location
United Kingdom
• Interests
UK based Web Developer, GAM3R, DOTA2/TitanFall Junkie, DJ, Giant (Mac/XboxOne)

## Contact Methods

• Twitter
iammattbrooks
1. ## How would you do this - 2d tile based game

Agree with you Lewster. My first/current experiment doesn't seem like the best way to make this kind of game, but it's definitely helping me understand various parts of Phaser and basic game concepts... I think once i've added Powerups etc, ill go back and start a fresh with the input and things i've been soaking in. Thanks for the input ... i'll be sure to post my progress once in a while.
2. ## How would you do this - 2d tile based game

Thanks for the pointer powerfear. Yeah, i've rejigged the layers in Tiler again and the index method works just fine. Solution is fine for this exercise. Cheers.
3. ## How would you do this - 2d tile based game

Hi guys, I'm new to phaser coding and all game coding in general and just getting my feet wet over the last couple of days. I decided over the weekend to start doing a few tutorials and my first little project was a 2d bomberman style game. I've been dabbling with Tiler and experimenting with layers for the hard objects(blocks - indestructible), Soft objects (Walls - Bombs destroy them) and then the rest (grass etc). At the moment i have my character walking around and can happily destroy blocks, collision is working as expected. My main problem is, due to experience, i'm not 100% what the best way to select the specific tiles. I currently have a raycast function (returns array of tiles) that i've written to create explosions on the affected area, but this is obviously on top of the layers. I've also been experimenting with the layer/tile properties, but have been hitting my head against the wall with trying to retrieve properties via the tile. So, my questions: How would you set up the Outer container (Blocks surrounding user), Walls (hit by bomb and removed) and differentiate between the blocks/select only specific tiles? Should i ditch the tiles view and concentrate on a 2d Array? Writing this may help me try to tackle this, but thought this was worth putting out to you either way. Thanks for reading
4. ## Tiled tile properties

Just started working with Phaser at the weekend and bumped into the same problem... Would love to see your implementation beeglebug.