ionprodan Posted October 4, 2016 Share Posted October 4, 2016 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/ Link to comment Share on other sites More sharing options...
KnTproject Posted October 4, 2016 Share Posted October 4, 2016 http://www.lessmilk.com/tutorial/breakout-phaser Link to comment Share on other sites More sharing options...
ionprodan Posted October 4, 2016 Author Share Posted October 4, 2016 20 minutes ago, KnTproject said: http://www.lessmilk.com/tutorial/breakout-phaser I know this tutorial, first version of my game was maded reading this, but I can't make interesting level design only with for loop, therefore I want to create level design in Tiled, and after that, to create sprites from tiles. Link to comment Share on other sites More sharing options...
KnTproject Posted October 4, 2016 Share Posted October 4, 2016 2 hours ago, ionprodan said: I know this tutorial, first version of my game was maded reading this, but I can't make interesting level design only with for loop, therefore I want to create level design in Tiled, and after that, to create sprites from tiles. Oh okay, I think that I can't help you then, because I only know the basics of phaser. Sorry Link to comment Share on other sites More sharing options...
ionprodan Posted October 10, 2016 Author Share Posted October 10, 2016 Nobody knows how to resolve this? Link to comment Share on other sites More sharing options...
Milton Posted October 10, 2016 Share Posted October 10, 2016 Maybe look at this tutorial? Link to comment Share on other sites More sharing options...
nazimboudeffa Posted October 10, 2016 Share Posted October 10, 2016 hi i can't try the game http://games.ionprodan.com/arkanoid-phaser/ can you send the key images so i can see what it does ? http://asciimulation.link/html5gamedevs/ionprodan/ Link to comment Share on other sites More sharing options...
ionprodan Posted October 10, 2016 Author Share Posted October 10, 2016 12 minutes ago, thefailtheory said: hi i can't try the game http://games.ionprodan.com/arkanoid-phaser/ Oh, sorry, I forgot I changed links. http://games.ionprodan.com/games/arkanoid/ http://games.ionprodan.com/ for other games nazimboudeffa 1 Link to comment Share on other sites More sharing options...
nazimboudeffa Posted October 10, 2016 Share Posted October 10, 2016 so what is the problem exactly ? i just see the ball falling and no paddle ^^ Link to comment Share on other sites More sharing options...
ionprodan Posted October 10, 2016 Author Share Posted October 10, 2016 10 minutes ago, thefailtheory said: so what is the problem exactly ? i just see the ball falling and no paddle ^^ maximize the browser window, there are a paddle down nazimboudeffa 1 Link to comment Share on other sites More sharing options...
nazimboudeffa Posted October 10, 2016 Share Posted October 10, 2016 i see the paddle and the ball works but there is no colllision can you put the paddle at heigth - paddle height plz ? and, also reduce the height of the game it should araise Phaser.Tileset - actual and expected number of tile rows and columns differ Link to comment Share on other sites More sharing options...
Recommended Posts