Camera now show up when someone is moving and hides 5 seconds after we stop moving.
Also, added an animation to show/hide the webcam.
This commit is contained in:
parent
8af8ccd54b
commit
d32df13f1b
6 changed files with 146 additions and 10 deletions
3
front/src/Stores/GameStore.ts
Normal file
3
front/src/Stores/GameStore.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { derived, writable, Writable } from "svelte/store";
|
||||
|
||||
export const userMovingStore = writable(false);
|
Loading…
Add table
Add a link
Reference in a new issue