Refactoring "exit" to allow multiple maps
authorDavid Négrier <d.negrier@thecodingmachine.com>
Mon, 11 May 2020 16:49:20 +0000 (18:49 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Mon, 11 May 2020 16:49:20 +0000 (18:49 +0200)
commit98628957a441d507fff2b5dfa923099a8de3781f
treeb28913dbf413c1e2f24662702fccc0c93dc49807
parente9d3a7d1691f81abeec5c512456bc9783407c68d
Refactoring "exit" to allow multiple maps

Adding several layers named "exit" causes issues with Phaser 3.
This PR makes any possible layer being an exit layer (it only depends on the exitUrl property)

Also, fixing start position (it takes into account the layer width now)
README.md
back/src/Assets/Maps/Floor0/floor0.json
front/src/Phaser/Game/GameScene.ts