Commit Graph

164 Commits

Author SHA1 Message Date
David Négrier
7da8a6138f Adding a (failing test) for disconnecting users 2020-04-28 23:01:56 +02:00
David Négrier
9d2f96b348 Manually fixing a weird lint bug in eslint 2020-04-28 22:40:54 +02:00
David Négrier
7dc3d9d836 Merge 2020-04-28 22:31:54 +02:00
David Négrier
cdd18fd5ac
Merge pull request #59 from thecodingmachine/map-v0
Map v0: Resize chunksize from 16 to 32 pixels
2020-04-27 18:22:24 +02:00
David Négrier
0d6c4032d5 Playing with zoom levels 2020-04-27 18:12:36 +02:00
Kharhamel
8bd4e81f48
Merge pull request #53 from Kharhamel/login
Login screen
2020-04-27 13:02:16 +02:00
David Négrier
e7bbe29123 Merge branch 'master' of github.com:thecodingmachine/workadventure into map-v0 2020-04-26 21:48:57 +02:00
David Négrier
a3cabff445 Merge branch 'map-v0' of github.com:thecodingmachine/workadventure into map-v0 2020-04-26 21:48:42 +02:00
kharhamel
25ac579a90 prettier login page 2020-04-26 18:48:41 +02:00
kharhamel
d691b58d0b basic login page with a text input and a click button 2020-04-26 17:54:56 +02:00
NIP
5b6c7a9b5f Resize chunksize from 16 to 32 pixels 2020-04-26 11:46:00 +02:00
David Négrier
33bcbd4650
Merge pull request #44 from thecodingmachine/map-v0
My first map representing TCM office grand floor without KEN office
2020-04-24 19:08:08 +02:00
David Négrier
f62b5d14ee
Merge pull request #51 from thecodingmachine/constant_speed
Computing movement amount from framerate
2020-04-24 18:55:47 +02:00
David Négrier
6c6625fd41
Merge pull request #56 from thecodingmachine/enabling_https
Enabling HTTPS in test deployment
2020-04-22 23:40:46 +02:00
David Négrier
6a349e3ef7 Switching tests on https too 2020-04-22 23:34:56 +02:00
David Négrier
321254bc2c Fixing API link to HTTPS 2020-04-22 23:27:39 +02:00
David Négrier
312940761c Enabling HTTPS in test deployment 2020-04-22 19:16:04 +02:00
David Négrier
a567cd2e11 Adapting deeployer to new format 2020-04-22 12:31:17 +02:00
David Négrier
46fcb86b28 Computing movement amount from framerate
Depending on the amount of power a computer has, the framerate will not be the same.
Hence, the amount of movement of a user should be constant on each frame.
If a frame was slow to print, the movement should be higher to keep a constant speed.

This PR takes the framerate into account when moving the players.
2020-04-18 17:16:39 +02:00
NIP
91dd903904 Add new map with embed tileset 2020-04-17 18:39:54 +02:00
David Négrier
bccd2efc2e Merge branch 'map-v0' of github.com:thecodingmachine/workadventure into map-v0 2020-04-16 22:44:44 +02:00
David Négrier
db605d100e Merge 2020-04-16 22:44:31 +02:00
David Négrier
0f2e21e88e
Merge pull request #50 from thecodingmachine/e2e
WIP: implemented basic e2e testing for k8s environment
2020-04-16 22:42:02 +02:00
David Négrier
c4b9c02d75 Removing E2E test from running in CI (it is run in K8S now) 2020-04-16 22:36:54 +02:00
NIP
95e51c7aa4 MERGE and add floorLayer 2020-04-16 21:55:34 +02:00
NIP
7e8283ddf0 Add floorLayer to the map 2020-04-16 21:37:31 +02:00
David Négrier
c0f2b890ef Fixing bad file name 2020-04-16 00:13:40 +02:00
David Négrier
75941a5c68 Trying to change Cypress basu URL 2020-04-16 00:06:24 +02:00
David Négrier
9175682f32 Backporting master changes 2020-04-15 23:57:36 +02:00
David Négrier
84edc1a2c4 Running e2e tests on K8S environment 2020-04-15 23:54:55 +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
258c792531
Merge pull request #48 from moufmouf/autoload_tiles
Removing all reference to 'Tiles' constant in code
2020-04-15 23:13:14 +02:00
David Négrier
8ddd4656e6 Adding automatic loading of layers 2020-04-15 23:10:12 +02:00
David Négrier
5f118c2a4a Removing all reference to 'Tiles' constant in code 2020-04-15 19:39:26 +02:00
David Négrier
1dd66b4998 Merging 2020-04-15 19:30:49 +02:00
David Négrier
b7220a6724
Merge pull request #47 from moufmouf/autoload_tiles
Autoload tiles
2020-04-15 19:27:40 +02:00
David Négrier
482a344f45 Autoload tiles
This commit adds a listener in the preload function that will be triggered as soon as the map is loaded.
This function will load the resources from the map (tilesets) defined in the map.
That way, we don't have to define manually the list of tiles that have to be loaded (at the expense of a slight delay in loading since we must wait for the map to be loaded to start loading the tiles).
2020-04-15 19:23:06 +02:00
kharhamel
935745b3b5 fixed the version mismatch of cypress between local and ci 2020-04-14 20:54:27 +02:00
kharhamel
5fb3968234 added artifact download 2020-04-14 20:42:57 +02:00
kharhamel
56093201fb integrate it into the ci 2020-04-14 20:23:00 +02:00
kharhamel
a2ed7164e4 implemented basic e2e testing 2020-04-14 20:04:55 +02:00
NIP
c42dbc3f95 Fix JS issue regarding multiple tilesets 2020-04-13 21:24:48 +02:00
NIP
84f0420694 Change GameScene to import new png, change map name and add missing png files 2020-04-13 20:34:19 +02:00
grégoire parant
705617abe7
Merge pull request #45 from Kharhamel/camera
Better camera code
2020-04-13 20:08:33 +02:00
NIP
f00d10d56a Change calque names into game scene TS file 2020-04-13 20:05:13 +02:00
kharhamel
1774594e76 deleted cameraManager, use camera follow code instead 2020-04-13 19:57:14 +02:00
NIP
7b41a9ee2f Add tilesets 2020-04-13 19:52:25 +02:00
kharhamel
33c58874e0 create an env variable for debug mode 2020-04-13 19:40:10 +02:00
NIP
7f2f977a81 My first map representing TCM office grand floor without KEN office 2020-04-13 19:38:28 +02:00
David Négrier
751a9f40e5
Merge pull request #41 from thecodingmachine/one_env_per_branch
Deploying one environment per branch
2020-04-13 18:52:56 +02:00