kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.
https://sky-office.co/
MIT License
969 stars 300 forks source link

Feat/point and click movement #62

Open jga-dev opened 1 year ago

jga-dev commented 1 year ago

This PR brings the following changes:

- Fix: Fixes a problem about pointer events blocking in the phaser layer. - Improve: Allows a better visualization in debug mode. - Feat: Adds a new way to move by clicking on the place you want to move to. To add this new feature it has been necessary to split the ground and wall layers in 2 different layers. By means of an BFS algorithm it looks for the shortest way taking as premise that it can move through all the ground and that it cannot cross the wall layer.

Hope you find this changes interesting.. I love your project and have many ideas to improve it with new features.

netlify[bot] commented 1 year ago

Deploy Preview for skyoffice ready!

Name Link
Latest commit 03a623e95b050f720389a77fd266974fe74df1df
Latest deploy log https://app.netlify.com/sites/skyoffice/deploys/63f165b9d683d00008954f06
Deploy Preview https://deploy-preview-62--skyoffice.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

DaxChen commented 1 year ago

Hey @jga-dev, are you still up for resolving the conflicts for this change?

jga-dev commented 1 year ago

Hi @DaxChen, yes just give me a bit more time. I want to first upload another PR correcting visual problems on mobile and adding the action buttons to events such as sit or view whiteboard. In this PR I want to change the event that starts the movement to double click and improve a few things. I promise it won't be long 👍