Search the Community
Showing results for tags 'createfromtiles'.
-
Hello everyone! Sorry for my bad english. To learn Phaser, I started to make several games clone, to understand how it works. Now I am working on Arkanoid/Breakout clone, and want to create sprite from tiles, because this will allow to make some interesting game level design, but can't understand how createFromTiles work, or maybe I am wrong in other place. The problem itself consist in collide between ball and bricks/blocks, I can't kill/destroy when ball collide with these. Here is the part of code, other states is in separated files, but only this code is important now https://jsfiddle.net/ionprodan/q3otatoj/ You can try to play game here: http://games.ionprodan.com/arkanoid-phaser/