Commit Graph

16 Commits

Author SHA1 Message Date
David Négrier
2448fef53a Adding a notion of instances per mapAdding a notion of instances to room
The URL signature becomes:

https://workadventu.re/_/[instance]/[path_to_map.json]

This allows us to create many instances of the same map (and therefore to create several different worlds for different people)

An exit on a map can target another "instance" by passing the "exitInstance" property.
2020-05-23 17:45:49 +02:00
David Négrier
98628957a4 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)
2020-05-11 18:49:20 +02:00
David Négrier
ac69861e37 Rewording exit paragraph 2020-05-11 08:51:46 +02:00
gparant
1868bd3f65 Add explain to have multi exit layers into the map 2020-05-11 00:07:54 +02:00
gparant
f4af824cf9 Fix error mapping refresh in back & the end of this feature development 2020-05-10 23:49:08 +02:00
gparant
58b65030bd Fix feedback @moufmouf strategy of maps managing by back. 2020-05-10 18:34:55 +02:00
gparant
029a7a9a64 Correct feedback @moufmouf 2020-05-10 14:49:49 +02:00
David Négrier
2037147d18 First working version of the office map! Yay! 2020-04-15 23:31:39 +02:00
David Négrier
8ddd4656e6 Adding automatic loading of layers 2020-04-15 23:10:12 +02:00
gparant
5bfedb04fd Merge branch 'master' into Share-players-position-using-Socket.IO
# Conflicts:
#	back/src/Controller/IoSocketController.ts
2020-04-04 22:46:42 +02:00
gparant
1100edecb7 Add readme of features and communication in back 2020-04-04 22:43:07 +02:00
David Négrier
375777a623 Adding build badge to README 2020-04-04 16:05:31 +02:00
David Négrier
212f6f9391
Fixing typos 2020-04-04 13:18:45 +02:00
gparant
63dc515c5b Add Vagarnt in project RADME and fix feeback @moufmouf 2020-04-04 11:36:18 +02:00
David Négrier
f1ab9705c9 Adding docker-compose
This first commit contains a docker-compose with:

- front container
- traefik for reverse proxy

back container will be added when ready.
2020-04-03 18:31:11 +02:00
David Négrier
20c525c3a6 Adding README 2020-04-03 14:59:24 +02:00