satelllte / r3f-gravity-ball

Simple game with @react-three/fiber

Home Page:https://r3f-gravity-ball.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gravity Ball

Simple game with @react-three/fiber

NOTE: this is a simple draft, not a final product

Local development

Set Node.js version specified in .nvmrc file:

nvm use

(Optional) Create a file with environment variables for debugging:

cp .env.example .env.local

Run the development server:

npm run dev

Build for production

Build the project (it also runs ESLint & TypeScript checks):

npm run build
npm run export

Once built, it can be previewed via:

npm run prod

About

Simple game with @react-three/fiber

https://r3f-gravity-ball.pages.dev


Languages

Language:TypeScript 98.0%Language:JavaScript 1.7%Language:CSS 0.3%