diff --git a/resources/images/tutov1/discover/GlobalMessage.png b/resources/images/tutov1/discover/GlobalMessage.png new file mode 100644 index 0000000..291445e Binary files /dev/null and b/resources/images/tutov1/discover/GlobalMessage.png differ diff --git a/resources/images/tutov1/discover/Object.png b/resources/images/tutov1/discover/Object.png new file mode 100644 index 0000000..e678174 Binary files /dev/null and b/resources/images/tutov1/discover/Object.png differ diff --git a/resources/images/tutov1/discover/Silent.png b/resources/images/tutov1/discover/Silent.png new file mode 100644 index 0000000..942c6d6 Binary files /dev/null and b/resources/images/tutov1/discover/Silent.png differ diff --git a/resources/images/tutov1/interact/Bubble.png b/resources/images/tutov1/interact/Bubble.png new file mode 100644 index 0000000..808b3d7 Binary files /dev/null and b/resources/images/tutov1/interact/Bubble.png differ diff --git a/resources/images/tutov1/interact/Lock.png b/resources/images/tutov1/interact/Lock.png new file mode 100644 index 0000000..d85b49c Binary files /dev/null and b/resources/images/tutov1/interact/Lock.png differ diff --git a/resources/images/tutov1/interact/ShareScreen.png b/resources/images/tutov1/interact/ShareScreen.png new file mode 100644 index 0000000..8dff7f5 Binary files /dev/null and b/resources/images/tutov1/interact/ShareScreen.png differ diff --git a/resources/images/tutov1/move/CamOFF.png b/resources/images/tutov1/move/CamOFF.png new file mode 100644 index 0000000..3f967d9 Binary files /dev/null and b/resources/images/tutov1/move/CamOFF.png differ diff --git a/resources/images/tutov1/move/ZQSD.png b/resources/images/tutov1/move/ZQSD.png new file mode 100644 index 0000000..e87703b Binary files /dev/null and b/resources/images/tutov1/move/ZQSD.png differ diff --git a/resources/images/tutov1/move/wokamove.png b/resources/images/tutov1/move/wokamove.png new file mode 100644 index 0000000..79d4323 Binary files /dev/null and b/resources/images/tutov1/move/wokamove.png differ diff --git a/resources/images/tutov1/welcome/Move.png b/resources/images/tutov1/welcome/Move.png new file mode 100644 index 0000000..9b80309 Binary files /dev/null and b/resources/images/tutov1/welcome/Move.png differ diff --git a/resources/images/tutov1/welcome/Talk.png b/resources/images/tutov1/welcome/Talk.png new file mode 100644 index 0000000..0884ba7 Binary files /dev/null and b/resources/images/tutov1/welcome/Talk.png differ diff --git a/resources/images/tutov1/welcome/laptop.png b/resources/images/tutov1/welcome/laptop.png new file mode 100644 index 0000000..6fc69a3 Binary files /dev/null and b/resources/images/tutov1/welcome/laptop.png differ diff --git a/src/Iframes/TutorialV1/Tuto/Components/App.svelte b/src/Iframes/TutorialV1/Tuto/Components/App.svelte index 6acc351..0c08aee 100644 --- a/src/Iframes/TutorialV1/Tuto/Components/App.svelte +++ b/src/Iframes/TutorialV1/Tuto/Components/App.svelte @@ -1,6 +1,7 @@ -
+
+ {#if $currentStepStore === 0} + + {/if} {#if $currentStepStore === 1} {/if} {#if $currentStepStore === 2} {/if} - {#if $currentStepStore === 3} + {#if $currentStepStore === 3 } {/if} diff --git a/src/Iframes/TutorialV1/Tuto/Components/Steps.svelte b/src/Iframes/TutorialV1/Tuto/Components/Steps.svelte index e032bde..78c134e 100644 --- a/src/Iframes/TutorialV1/Tuto/Components/Steps.svelte +++ b/src/Iframes/TutorialV1/Tuto/Components/Steps.svelte @@ -5,8 +5,14 @@ const dispatch = createEventDispatcher(); + const steps = ['Welcome', 'Move', 'Interact', 'Discover']; + + const setStep = (index: number) => { + currentStepStore.set(index); + }; + function next(){ - if($currentStepStore === 3)return; + if($currentStepStore === steps.length)return; currentStepStore.set($currentStepStore + 1); } function previous(){ @@ -16,54 +22,77 @@ function close(){ dispatch('close'); } - function skip(){ - dispatch('skip'); - } + $: console.log('Current Step:', $currentStepStore); -
- +
+ + -
+
+
-
-