Commit Graph

422 Commits

Author SHA1 Message Date
gparant
25895e51f7 Fix and refactor with comments of @moumoug 2020-04-07 22:38:53 +02:00
gparant
77780bd27b Change comment with new message strategy 2020-04-07 21:03:33 +02:00
gparant
67c3eaa7f4 Fix Message send to add direction 2020-04-07 21:02:23 +02:00
gparant
aba3322188 Fix CI 2020-04-07 20:46:30 +02:00
gparant
bac1e804ad Refactor to include connexion 2020-04-07 20:41:35 +02:00
gparant
5d463d097a Refactor Class
- Add MapManager permit to create map, camera and player.
 - Add CameraManager permit to move and update camera.
 - Add player Call extended of Phaser.GameObjects.Sprite. Permit to manager player data and moving in the map.
 - Add Animation class permit to manage the player animations.
2020-04-07 19:23:21 +02:00
gparant
e52183830d Camera following player.
- Add condition to follow the player.
 - Add condition for the player never out map border.
2020-04-07 01:28:36 +02:00
gparant
ddc39d6e50 Fix to move the camera only in the map. The camera stops on the border map. 2020-04-06 22:55:09 +02:00
kharhamel
406b299f91 allow player movement with proper animation 2020-04-06 19:53:07 +02:00
David Négrier
cf7125301a Merge branch 'master' of github.com:thecodingmachine/workadventure 2020-04-06 17:59:06 +02:00
kharhamel
d0c09ecd4f added a way do speed up the camera movement 2020-04-06 16:59:14 +02:00
kharhamel
7146decb5b added code to freely move the camera using the arrow keys or z,q,s,d 2020-04-06 16:52:18 +02:00
gparant
7e08e7f133 Front : create class to connect, send and receive message
- Create environment class
 - Create Connexion class to connect and save data
 - Refactor back api
2020-04-05 20:57:14 +02:00
David Négrier
b10f8d9069 Loading first sprite 2020-04-05 16:20:53 +02:00
David Négrier
08989d6ec0
Merge pull request #20 from thecodingmachine/noemie_nguyen/ajout_logos_tcm
Ajout des logos TCM
2020-04-04 16:38:09 +02:00
David Négrier
ca3d113cad Adding ESLint for front part 2020-04-04 16:16:20 +02:00
David Négrier
531899ea6b Fixing missing closing parenthesis 2020-04-04 16:06:38 +02:00
kevin
25841b51c0 ajout des logos TCM 2020-04-04 15:42:45 +02:00
David Négrier
c0e75ae07e
Merge pull request #16 from moufmouf/docker-compose
Adding docker-compose
2020-04-03 18:48:36 +02:00
David Négrier
9290dfd6c5 Automatically resizing game when window is resized 2020-04-03 18:41:06 +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
26b8412f3c Initial commit 2020-04-03 14:56:21 +02:00