forgot to reset the store before pushing

pull/14/head
Alex 2024-02-15 10:48:38 +01:00
parent 06b8beff00
commit b6e723dadc
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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) => (

View File

@ -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: [],