Swev-client is the official game client for SwevGame – a modern 2D multiplayer online RPG inspired by classic MMORPGs, built with React, Phaser, and Tauri for desktop-native performance.
It is designed to work seamlessly with Swev-server, providing a fast, responsive, and moddable game experience.
- React + Phaser hybrid architecture for flexible UI and high-performance 2D game rendering
- Tauri integration for lightweight, secure, native desktop builds
- Real-time multiplayer via WebSocket connection to Swev-server
- Modular and scalable code structure, inspired by classic game clients but rewritten for modern JS/TS
- Built-in state management (Redux or Context API)
- Cross-platform: Windows, Linux, macOS
src/
components/ # React UI components (menus, HUD, dialogs)
game/ # Phaser game logic, scenes, and assets
hooks/ # Custom React hooks
services/ # API and WebSocket client logic
assets/ # Sprites, maps, sounds, and media
main.tsx # App entry point
- Node.js (v20+ recommended)
- npm or yarn
- (For building desktop app: Tauri dependencies – see Tauri setup)
git clone https://github.com/Wickedviruz/Swev-client.git
cd Swev-client
npm installnpm startOpen http://localhost:5173 in your browser.
npm run tauri devSee Tauri documentation for OS-specific requirements.
Swev-client connects to Swev-server via WebSocket.
Default configuration points to localhost:8080, but you can change this in the config file or environment variables.
- Phaser + React integration
- WebSocket multiplayer connection
- Map rendering and player movement
- Basic combat and UI
- Desktop builds (Tauri)
- Inventory, chat, and more
Pull requests and suggestions are welcome! Please open an issue first for major changes.
Inspired by classic MMORPG clients and modern open source projects.
MIT (see LICENSE file)