Commit Graph

2657 Commits

Author SHA1 Message Date
gparant
c28108f6c9 Use WebRtc with SimplePeer 2020-04-25 16:05:33 +02:00
David Négrier
33bcbd4650
Merge pull request 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 from thecodingmachine/constant_speed
Computing movement amount from framerate
2020-04-24 18:55:47 +02:00
David Négrier
6c6625fd41
Merge pull request 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
gparant
a5b5072de1 Fix webrtc 2020-04-20 01:10:47 +02:00
gparant
89816a13e4 Fix video call 2020-04-19 22:30:42 +02:00
gparant
5b62ac39fb Create webrtc connexion between two player 2020-04-19 19:32:38 +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 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 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 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 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 from thecodingmachine/one_env_per_branch
Deploying one environment per branch
2020-04-13 18:52:56 +02:00
David Négrier
6bf7a3eb43 Using tagged version for rlespinasse/github-slug-action 2020-04-13 18:44:12 +02:00
David Négrier
3a788b7c15 Fixing version 2020-04-13 18:44:12 +02:00
David Négrier
226fbb1e9e Adding a message with deployment location at the end of deployment 2020-04-13 18:44:12 +02:00
David Négrier
62e28bed10 Fixing slugify issue 2020-04-13 18:44:12 +02:00
David Négrier
efccdcbb06 Fixing action 2020-04-13 18:44:12 +02:00
David Négrier
0ba6941cd2 Fixing ref slug 2020-04-13 18:44:12 +02:00
David Négrier
d519538531 Fixing libsonnet and changing deployment namespace 2020-04-13 18:44:12 +02:00