Lit is used for UI and Hilla Router for router.
Simple canvas game write in TypeScript.Inspiration
Commands
- npm run dev
- npm run build
Project structure
├─ assets/
├─ public/
├─ src/
│ ├─ common/
│ ├─ game/
│ │ ├─ enums/
│ │ ├─ interfaces/
│ │ ├─ types/
│ │ ├─ Camera.ts
│ │ ├─ Character.ts
│ │ ├─ Component.ts
│ │ ├─ Game.ts
│ │ ├─ Loader.ts
│ │ ├─ Map.ts
│ │ ├─ Render.ts
│ │ ├─ utils.ts
│ │ ├─ Ui.ts
│ │ ├─ Keyboard.ts
│ │ └─ FloatingText.ts
│ ├─ ui/
│ │ ├─ components/
│ │ ├─ controllers/
│ │ └─ interfaces/
│ ├─ router/
│ ├─ router/
│ │ └─ routes.ts
│ ├─ style.css
│ └─ main.ts
├─ index.html
├─ package.json
├─ vite.config.js
└─ tsconfig.json