RPG JS is a versatile TypeScript framework meticulously designed to empower developers in the creation of both traditional Role-Playing Games (RPGs) and immersive Massively Multiplayer Online Role-Playing Games (MMORPGs). Our primary objective is to offer a seamless development experience where your codebase remains consistent, regardless of the game's nature.
With RPG JS, we aspire to provide developers with a robust foundation that adapts effortlessly to your creative vision. Whether you're crafting epic solo adventures or building vast multiplayer worlds, RPG JS ensures that your development journey remains cohesive and efficient. Our goal is to simplify the complexities of game development, allowing you to focus on bringing captivating stories and engaging gameplay to life.
- Website: https://rpgjs.dev
- Documentation: https://docs.rpgjs.dev
- Examples: https://playground.rpgjs.dev
- Community: https://community.rpgjs.dev
- Use LPC (Liberated Pixel Cup) Spritesheets: https://github.com/dominx99/rpgjs-tutorial#lpc-liberated-pixel-cup
npx degit rpgjs/starter my-rpg-game
cd my-rpg-game
npm install
npm run dev
Then go to port localhost:3000
Feature | Description |
---|---|
๐ Create Events | Build NPCs, monsters, and more to shape your game's storyline. |
๐ Tiled Map Editor | Craft intricate game worlds with multiple layers, shapes, and collisions. |
๐จ Customize Your Hero | Personalize your hero's appearance, animations, and attributes. |
๐ฅ๏ธ WebGL Rendering | Enjoy high-performance game rendering with WebGL and PixiJS. |
โ๏ธ MMORPG Performance | Optimize for multiple players with zone-based processing and client-side prediction. |
๐ Designed for Scaling | Utilize Agones and Kubernetes to scale your game for thousands of players. |
๐ฑ Cross-Platform Gaming | Play on mobile, gamepad, or keyboard for versatile gaming experiences. |
๐ Using Vue.js for UI | Leverage Vue.js for user interfaces, including dialog boxes and menus. |
๐ป Code with TypeScript | Develop with TypeScript for enhanced code structure and clarity. |
๐ RPG-Focused API | Simplify RPG development with an intuitive API for in-game actions. |
๐ Same Code: MMORPG or RPG | Create both MMORPGs and traditional RPGs using the same codebase. |
๐งฉ Modular | Expand functionality with ease through a modular design. |
๐งช Unit Tests | Ensure game stability and reliability with built-in unit testing. |
๐ฆ And Other Plugins | Enhance your game with additional features like chat, title screens, and more. |
To contribute to the developments, install the sources locally:
git clone https://github.com/RSamaium/RPG-JS.git
npm install
npm run dev
The game can be found in @rpgjs/sample2
package.
cd docs
npm install
npm run dev
MIT. Free for commercial use.