Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physics with Rapier.js #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This game is about gathering coins and cleaning the dungeon from the monsters that live in it as fast as possible !

## Credits
- [KayKit](https://kaylousberg.itch.io/) for the game assets
- [Kay Lousberg](https://kaylousberg.itch.io/) for the game assets

## TODOS
This is a work in progress, the following list is not exhaustive and is subject to change
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ services:
- traefik.http.services.3d-game.loadbalancer.server.port=80

- traefik.http.routers.3d-game.service=3d-game@docker
- traefik.http.routers.3d-game.rule=Host(`game.pedraal.fr`)
- traefik.http.routers.3d-game.rule=Host(`${APP_DOMAIN}`)
- traefik.http.routers.3d-game.entrypoints=web
- traefik.http.routers.3d-game.middlewares=redirect-https

- traefik.http.routers.3d-game-secured.service=3d-game@docker
- traefik.http.routers.3d-game-secured.entrypoints=web-secured
- traefik.http.routers.3d-game-secured.tls=true
- traefik.http.routers.3d-game-secured.rule=Host(`game.pedraal.fr`)
- traefik.http.routers.3d-game-secured.rule=Host(`${APP_DOMAIN}`)

networks:
proxy:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
"build": "vite build"
},
"dependencies": {
"cannon-es": "^0.20.0",
"@dimforge/rapier3d": "^0.11.2",
"lil-gui": "^0.19.0",
"three": "^0.158.0"
},
"devDependencies": {
"@biomejs/biome": "^1.5.0",
"@types/three": "^0.160.0",
"vite": "^4.5.0"
"vite": "^4.5.0",
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0"
}
}
180 changes: 173 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading