forgot to reset the store before pushing
This commit is contained in:
1 parent
06b8beff00
commit
b6e723dadc
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ function App() {
|
|||||||
<Canvas
|
<Canvas
|
||||||
// shadows
|
// shadows
|
||||||
dpr={1}
|
dpr={1}
|
||||||
gl={{ antialias: false, stencil: false, powerPreference: 'high-performance' }}
|
gl={{ antialias: false, stencil: false, depth:false, powerPreference: 'high-performance' }}
|
||||||
mode="concurrent"
|
mode="concurrent"
|
||||||
onCreated={({ gl, camera }) => {
|
onCreated={({ gl, camera }) => {
|
||||||
gl.toneMapping = THREE.AgXToneMapping
|
gl.toneMapping = THREE.AgXToneMapping
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ export const Experience = () => {
|
|||||||
<ItemBox position={[-20, 2.5, -119]} />
|
<ItemBox position={[-20, 2.5, -119]} />
|
||||||
<Coin position={[-30, 2, -119]} />
|
<Coin position={[-30, 2, -119]} />
|
||||||
|
|
||||||
{/* <Ground position={[0, 0, 0]} /> */}
|
<Ground position={[0, 0, 0]} />
|
||||||
<Environment resolution={256} preset="lobby" />
|
<Environment resolution={256} preset="lobby" />
|
||||||
|
|
||||||
{networkBananas.map((banana) => (
|
{networkBananas.map((banana) => (
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export const items = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const useStore = create((set, get) => ({
|
export const useStore = create((set, get) => ({
|
||||||
gameStarted: true,
|
gameStarted: false,
|
||||||
controls: "",
|
controls: "",
|
||||||
particles1: [],
|
particles1: [],
|
||||||
particles2: [],
|
particles2: [],
|
||||||
|
|||||||
Reference in new issue
Block a user