Jump to content

Tiles and Physics


olgzich
 Share

Recommended Posts

Hello. I have the following question.

How do I make tiles from the dynamic layer behave like the stars in your example ("Making your first Phaser 3 game" article)? That is, for each tile to move and bounce off the tiles of another layer and from the borders of the world. I tried this: this.physics.add.existing (layer, false); But it seems that the entire layer begins to move. However, this is logical.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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