36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
# My Dollhouse
|
|
|
|
A small Phaser.js PWA built around the dollhouse concept art created in ChatGPT.
|
|
|
|
## Current prototype
|
|
|
|
- Single open two-storey dollhouse environment
|
|
- Bedroom, bathroom, hall/stairs, kitchen, living and play spaces visible together
|
|
- Keyboard and touch movement
|
|
- Stair interaction to move between floors
|
|
- Pastel furniture sprite set layered into the current room-bank layout
|
|
- Furniture dragging between rooms in Decorate mode
|
|
- Add/reset furniture controls with bed, sofa, chair, table, shelf and wardrobe
|
|
- House layout, furniture placement and player position persisted in IndexedDB
|
|
- Offline-capable installable PWA
|
|
- Service worker configured to take new versions automatically
|
|
|
|
## 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.
|