Jump to content

Create sprite from tilemap


ionprodan
 Share

Recommended Posts

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

20 minutes ago, KnTproject 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. 

Link to comment
Share on other sites

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...