Commit Graph

77 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak f446918e42 start normally 2022-03-22 16:49:20 +01:00
Piotr 'pwh' Hanusiak 87034a453e set starting parts on 0 indices 2022-03-22 14:39:47 +01:00
Piotr 'pwh' Hanusiak 11a262b178 make sure horizontal iPhoneX displays view properly 2022-03-22 13:37:41 +01:00
Piotr 'pwh' Hanusiak d971c7e064 randomize and finish buttons 2022-03-22 11:56:22 +01:00
Piotr 'pwh' Hanusiak 2cf55cac7e crispy pixels 2022-03-22 09:44:26 +01:00
Piotr 'pwh' Hanusiak ccf897f320 fixing grid. wip 2022-03-21 16:44:51 +01:00
Piotr 'pwh' Hanusiak a340c9bd96 simplification of resizing 2022-03-21 14:53:37 +01:00
Piotr 'pwh' Hanusiak 159bf0351f fighting with not cripsy pixels when resizing 2022-03-21 12:38:12 +01:00
Piotr 'pwh' Hanusiak 9a7e5cae4c populate grid on resize 2022-03-17 16:48:40 +01:00
Piotr 'pwh' Hanusiak 744c15920b fixed bug with animation not showing up to date state of the outfit 2022-03-17 15:49:05 +01:00
Piotr 'pwh' Hanusiak a3fcf2dc3f populating grid 2022-03-17 13:58:54 +01:00
Piotr 'pwh' Hanusiak 701c5f65cd independent parts preview 2022-03-17 11:58:12 +01:00
Piotr 'pwh' Hanusiak 7703a76689 show body parts previews 2022-03-17 11:03:04 +01:00
Piotr 'pwh' Hanusiak a22504b354 fix bug with grid not showing starting positions on resize 2022-03-16 15:05:47 +01:00
Piotr 'pwh' Hanusiak ac48a42903 further work on vertical layout 2022-03-16 14:05:35 +01:00
Piotr 'pwh' Hanusiak fb020e22c7 entirely different approach to layout 2022-03-16 13:25:39 +01:00
Piotr 'pwh' Hanusiak 43bac6c5cf get rid of zoom factor 2022-03-15 11:31:01 +01:00
Piotr 'pwh' Hanusiak 9644512d68 different animations for previewer 2022-03-11 16:05:39 +01:00
Piotr 'pwh' Hanusiak 6d50d15630 different approach for displaying preview 2022-03-11 15:21:51 +01:00
Piotr 'pwh' Hanusiak 138e8aece4 better woka preview, wip 2022-03-11 13:36:55 +01:00
Hanusiak Piotr 9f823506b9 little PlayerTextures class refactor 2022-03-10 16:18:47 +01:00
David Négrier 674c5bdeb8 Fxiing loading the Woka list 2022-03-09 11:22:33 +01:00
Alexis Faizeau 9300b05335 Fix woka list url 2022-03-04 10:52:32 +01:00
David Négrier 08fffab410 Switching from "name" to "id" in texture object + using zod for woka/list validation 2022-02-25 17:05:34 +01:00
David Négrier 378a95962a Heavy changes: refactoring the pusher to always send the textures (and the front to accept them) 2022-02-23 21:13:11 +01:00
Hanusiak Piotr d65fe0ee26 fetch textures every time character or customize scene is open 2022-02-23 19:53:55 +01:00
Hanusiak Piotr 27b7bb0dca removed unnecessary wake event unregistering 2022-02-01 12:55:29 +01:00
Alexis Faizeau 0bf1acfefb Improve game overlay UI 2022-01-27 16:34:58 +01:00
David Négrier ab0f5e9837 Stopping sending literal errors
Errors now must be of "Error" type.
Rule added in eslint.
2022-01-06 10:52:06 +01:00
David Négrier 24baf5664c All promises are now handled 2022-01-04 17:06:29 +01:00
David Négrier 7c6105d93a Making the loader resizable
This way, if the window is resized while loading, the loading bar will stay in the middle
2021-11-24 15:21:07 +01:00
Gregoire Parant ecc6321e17 Add new action post hog
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-11-18 11:39:56 +01:00
GRL d2413896c7 GameManager has an attribute scenePlugin 2021-08-16 11:50:09 +02:00
grégoire parant fc9865e273 HotFix position WOKA (#1317)
- Fix the moving position when a user enters in "custom your own" with custom WOKA loaded from admin
2021-07-27 14:28:00 +02:00
David Négrier 8f3d9277ac Merging master into develop 2021-06-29 18:39:43 +02:00
David Négrier 0afdbf7040 Fixing Svelte-check errors 2021-06-15 18:34:11 +02:00
kharhamel c559b2104b scene cleanup 2021-06-15 15:32:40 +02:00
GRL 09da69c24a CustomizeScene buttons use moveHorizontally and moveVertically 2021-06-15 11:16:44 +02:00
David Négrier e3ee66527a Fixing bug slowing down the CustomizeScene a lot
By forcing the containers to be updated only in the "update" method, we seem to be solving some bugs regarding the way sprites are handled.
There is still an issue though. Some times, for some reasons, the update list seems to be growing a lot.
The more we click the left/right arrow to choose a character, the slower it gets (but with this commit, it does not lock anymore)
2021-06-14 16:32:09 +02:00
GRL 247d508d09 create PR to test iphone compatibility 2021-06-04 10:01:08 +02:00
grégoire parant 2b13b764b4 Public texture (#1093)
* Public texture

 - Front => Get texture when user connected on public method
 - Front => Anonymous login will be make every connexion to get map details
 - Pusher => `/anonymLogin` permit to get map details and public texture load in customize scene

* Improve texture local user

- Permit to keep previous texture get with 'register' link

* Texture public loading

 - Texture will be load with Room class
 - Fix issue on lazzy loading atttempt

* Remove async await useless
2021-06-03 13:07:52 +02:00
GRL 59d60f54fe Save zoom level in the gameScene and restore it after the SelectCharacterScene and CustomizeScene 2021-06-02 18:01:36 +02:00
GRL 3d9e2ad49a Save zoom level of the game and restore it when quitting the login scenes
SelectCompanionScene with zoom on mobile
2021-06-02 16:08:31 +02:00
GRL 5bd5245044 SelectCharacterScene and CustomCharacterScene mobile version 2021-06-02 12:00:35 +02:00
GRL 4923ce8b83 selectCharacterScene and customCharacterScene in svelte 2021-05-31 17:50:14 +02:00
GRL 1ac108a9b8 correction of resize select character and companion by David 2021-05-31 10:20:48 +02:00
David Négrier 4d4f845b9e Setting "importsNotUsedAsValues": "error"
Turning the "importsNotUsedAsValues" TS config value to "error".
This will require us to use `import type` instead of `import` when we are importing a value that is only used as a type (and therefore that is dropped by the Typescript compiler).

Why this change?
This is a requirement to be able to use Svelte in the future. See https://github.com/sveltejs/svelte-preprocess/issues/206#issuecomment-663193798
2021-05-12 09:13:25 +02:00
Gregoire Parant 62a6eabc88 Merge branch 'master' into develop 2021-05-07 00:07:43 +02:00
grégoire parant 0e32238505 HotFix custom WOKA (#999) 2021-05-06 19:58:08 +02:00
David Négrier 7ae66a63a4 Refactoring centering of DOM elements 2021-05-05 17:10:39 +02:00