tomoya06

How to limit player to move within a specific layer?

Recommended Posts

Hi. I'm new to Phaser 3. I wonder if there is any api to limit the movement of player(a sprite object) within a certain layer of the tilemap? I'm making a rpg, using Tiled editing the tilemap and Phaser 3 for game logic. 

Thanks a lot. 

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.