Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunga-Ntando-Ndlovu committed Sep 30, 2024
1 parent 7ddb180 commit 3c54d5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 2 additions & 4 deletions src/src/lib/components/sandbox/c_environment/Scene_2.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@
scene.backgroundIntensity = 0.02;
</script>

<Pane position="fixed" title="3D Environment Controls" x={1160} y={30+20} scale ={1}
width={256}>
<Pane position="fixed" title="3D Environment Controls" x={1160} y={30 + 20} scale={1} width={256}>
<Text value="Use the 'WASD' keys to move around" disabled />
<Text value="Press escape 'Esc' to exit the scene" disabled />
<Text value="Use the mouse to look around" disabled />
<Text value="Press 'E' to interact with objects" disabled />
<Text value="Press 'L' to toggle the Torch" disabled />
</Pane>

<Pane position="fixed" title="3D Environment Controls" x={1160} y={210+20} scale ={1}
width={256}>
<Pane position="fixed" title="3D Environment Controls" x={1160} y={210 + 20} scale={1} width={256}>
<Text value="Press 'O' to exit stage" disabled />
</Pane>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,19 @@
</div>
{/if}


{#if stagePicked}
{#if stagePicked}
<div class="webgl h-screen w-screen bg-black">
<Canvas >
<Canvas>
<!-- <Menu/> -->
<World>
<MiningStage />
</World>
</Canvas>
</div>
{:else}
{:else}
<div class="webgl h-screen bg-black">
<Canvas>
<StarterScene />
</Canvas>
</div>
{/if}

{/if}

0 comments on commit 3c54d5a

Please sign in to comment.