Commit Graph

90 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak deaf6cd3f9 zooming was breaking CustomizationScene on second entry 2022-04-04 17:53:28 +02:00
Piotr 'pwh' Hanusiak d6d2448058 little cleanup 2022-04-04 14:52:34 +02:00
Piotr 'pwh' Hanusiak 7acebfa70c turn icon with animation 2022-04-04 14:10:50 +02:00
Piotr Hanusiak 32b777b5cf New custom woka scene full clothes (#2023)
* center grid if possible

* whole outfit for every slot

* switched bodyPart slots into buttons

* change categories and body parts with WSAD / arrow keys

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-04-04 13:01:21 +02:00
Piotr 'pwh' Hanusiak d0ad5f8299 custom background for slots 2022-03-30 13:02:02 +02:00
Piotr 'pwh' Hanusiak 4c93060f85 select and center on currently selected item 2022-03-30 11:16:58 +02:00
Piotr 'pwh' Hanusiak 81c5876a66 grid shadow and animations 2022-03-28 12:29:31 +02:00
Piotr 'pwh' Hanusiak f656702bb9 merged develop 2022-03-24 14:56:42 +01:00
Piotr 'pwh' Hanusiak b1ddc2210e add category icons 2022-03-24 10:30:33 +01:00
Piotr 'pwh' Hanusiak fcf8659829 cleanup 2022-03-22 16:53:23 +01:00
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
David Négrier 705c75e3c7 Adding wokalist type checking on front
Additionally, we are making superLoad.json accept a new "immediateCallback" parameter that resolves during the event handler (and not after)
2022-03-21 11:29:18 +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
Lurkars 55db6a9b12 apply textures on openid login, fix pusher errors on woka list (#1961)
* apply textures on openid login, fix pusher errors on woka list

* remove logging

* Returning a HTTP 400 id roomUrl parameter not set

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-03-14 10:14:35 +01:00
David Négrier 6540f15c5b Refactoring Woka management (#1810)
* Wrap websockets with HyperExpress

* Add endpoints on pusher to resolve wokas

* getting textures urls from pusher

* Adding OpenAPI documentation for the pusher.

The pusher now exposes a "/openapi" endpoint and a "/swagger-ui/" endpoint.

* revert FRONT_URL

* playerTextures metadata is being loaded via Phaser.Loader

* fetch textures every time character or customize scene is open

* Heavy changes: refactoring the pusher to always send the textures (and the front to accept them)

* Sending character layer details to admin

* Cleaning commented code

* Fixing regex

* Fix woka endpoints on pusher

* Change error wording on pusher

* Working on integration of the woka-list with the new admin endpoint.

* Switching from "name" to "id" in texture object + using zod for woka/list validation

* Add position on default woka data

* Remove async on pusher option method

* Fix woka list url

* add options for /register

* Fxiing loading the Woka list

* Actually returning something in logout-callback

* Copying messages to back too

* remove customize button if no body parts are available (#1952)

* remove customize button if no body parts are available

* remove unused position field from PlayerTexturesCollection interface

* removed unused label field

* fix LocalUser test

* little PlayerTextures class refactor

* Fixing linting

* Fixing missing Openapi packages in prod

* Fixing back build

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>

* Add returns on pusher endpoints

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: Piotr Hanusiak <wacneg@gmail.com>
2022-03-11 17:02:58 +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