PizZaKatZe
c3230bc2b3
Integrate virtual joystick
2021-04-13 02:00:03 +02:00
David Négrier
728fd4779c
Dynamically fetching correct version and generating declarations only for npm lib
2021-04-11 11:32:56 +02:00
David Négrier
6acf0ff047
Creating a dedicated package for iframe API typings
...
If users are willing to use Typescript to develop scripts for maps, they will need typings for the `WA` object.
This commit creates a new package (@workadventure/iframe-api-typings) that contains only the `iframe_api.d.ts` file.
The file is generated from the build of the front and isolated in this package.
This is necessary because the iframe_api.js file is supposed to always be loaded from WorkAdventure directly (and there is no @workadventure/iframe-api package and there will never be one)
2021-04-10 18:50:46 +02:00
David Négrier
6b970adc6c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into outline
...
# Conflicts:
# front/src/Phaser/Game/GameScene.ts
# front/src/Phaser/Player/Player.ts
# front/src/index.ts
# front/yarn.lock
2020-08-17 22:51:37 +02:00
David Négrier
24fb605f50
Switching to definitely assigned parameters
...
This allows us to go in "full strict mode" (yeah!)
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#strict-class-initialization
2020-08-07 23:39:06 +02:00
David Négrier
2d818ec79d
Fixing broken Jasmine test due to module config
2020-07-27 22:48:04 +02:00
David Négrier
ed146226cf
Adding Outline capabilities and a ActionableItem notion.
2020-07-23 18:09:24 +02:00
David Négrier
f88f28db3f
Refactoring reconnection: putting it into the GameScene directly.
2020-06-22 15:00:23 +02:00
David Négrier
082a11b0cd
Allowing ill defined initializers (because of the way Phaser 3 is designed)
2020-06-04 18:56:59 +02:00
David Négrier
a3ac782f17
Enabling Typescript strict mode on the front
...
This is very important otherwise, a number of useful checks (like nullable objects not propertly checked) are not performed.
See https://dev.to/briwa/how-strict-is-typescript-s-strict-mode-311a
2020-06-04 18:56:22 +02:00
David Négrier
d69ce8a6a6
Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine)
2020-06-02 10:48:04 +02:00
David Négrier
26b8412f3c
Initial commit
2020-04-03 14:56:21 +02:00