/RPG-JS

Framework to create an RPG or MMORPG (with the same code) in the browser with Typescript

Primary LanguageTypeScriptMIT LicenseMIT

Header icon

Version Downloads License Activity

RPG JS v4 : Create RPG and MMORPG in your browser

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 and Documentation

Demo

Demo

Demo

Resources

Getting Started

npx degit rpgjs/starter my-rpg-game
cd my-rpg-game
npm install
npm run dev

Then go to port localhost:3000

Features

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.

Contribute to developments

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.

For documentation

cd docs 
npm install
npm run dev

License

MIT. Free for commercial use.