35 lines
916 B
Markdown
35 lines
916 B
Markdown
# My Dollhouse
|
|
|
|
A small Phaser.js PWA built around the dollhouse concept art created in ChatGPT.
|
|
|
|
## Current prototype
|
|
|
|
- Four playable rooms: bedroom, bathroom, kitchen and living room
|
|
- Keyboard and touch movement
|
|
- Furniture/prop dragging in Decorate mode
|
|
- Add/reset room controls
|
|
- Room layout and player position persisted in IndexedDB
|
|
- Offline-capable PWA
|
|
- Service worker configured to take new versions automatically
|
|
- Runtime crops extracted from the production concept sheet so gameplay code is independent from future final sprite atlases
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
The Dockerfile builds the Vite app and serves it with nginx on port 80. `/health` is provided for Coolify health checks.
|
|
|
|
|
|
## Deployment
|
|
|
|
Coolify tracks the `main` branch. The installed PWA is configured to take service-worker updates automatically after a new deployment.
|