Hometown is a web-based multiplayer online game built with Phaser 3, Svelte 5, Tauri, and Colyseus.js. It features an isometric game world where players can interact, chat, and explore together.
More features are planned; at the moment it's more of a social experience & proof of concept.
Clone the repository:
git clone https://github.com/andrewrexo/hometown.git
cd hometown
Install dependencies:
bun install
Start the development server:
bun run dev
Open your browser and navigate to http://localhost:5173
To run the Colyseus server:
bun run dev:server
Contributions are welcome! Please follow these steps if you'd like to contribute to this repo:
git checkout -b feature/your-feature-name
git commit -m 'Add some feature'
git push origin feature/your-feature-name
For more detailed information about the project structure and components, please refer to the following key files:
src/game/main.ts
: Main game configurationsrc/server/room/home-room.ts
: Server-side room logicsrc/game/PhaserGame.svelte
: Main Svelte component for rendering the gameThese files contain the core game configuration, server-side room logic, and the main Svelte component for rendering the game, respectively.