Skip to content

timiil/OpenRpg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenRpg

An attempt to provide some out of the box models/logic for RPG games.

Build Status Nuget Version Join Discord Chat

The hope is that they can be mixed and matched to allow you to get on with just making the game without worrying about the infrastructure. This way rather than providing one solution for everything, it just provides the building blocks for you to compose as you wish, so you can make your own character class which has a race, class and an inventory that is weight based, or you could make a character class which has no race, a list of classes so they can multi class and an inventory that is slot based.

It tries to not have any bias in terms of genre, i.e this system can be used in a fantasy setting, sci fi, space sim etc as the underlying data is almost always the same, you may end up being a space ship rather than a fantasy humanoid, or you may be having effects that enhance shields in space rather than armour in fantasy, but as its just all driven by configurable types that you provide yourself you are free to customize things how you see fit.


Whats inside?

There are docs for each part of the system if you want to find out more

This contains the core bits that most other parts of the systems use, such as Requirements, Class, Effects some data and locale related functionality.

This contains models related to items, modifications, inventories, loot lists etc

This wraps up basic models and logic for common combat scenarios, i.e attack data, combat outcome data etc

Contains models around common quest data such as rewards, gifts, triggers etc


This is still very much a work in progress, so feel free to make requests or PRs if you think more scenarios could be supported, going forward more stuff will be added and improved around combat, buffs, skills and other genres etc.

HALP! HOW DO I USE IT?

You can join the discord link at the top or you can go over to the web demos

Related Libs

There are a few other related libraries/applications which may be of use, such as pre-made genre libraries.

Genre extensions

Applications

  • OpenRpg.Editor A simple electron.net based editor for items, classes, races etc

A bit about the lib

This project began after I had multiple prototypes which were all some form of RPG (a JRPG, Space Sim, a web/text based game) where they all had their own flavour of item, classes, quests etc but at the heart it was all really similar, so an attempt was made to begin streamlining the underlying parts of the system so it can be highly composable. This way I can take the bits I want for my scenario and build my own high level models based upon these ones.

So hopefully the same models/data and approaches can be of use to anyone else wanting to just take out the box data models/logic for common RPG data and just build on it.

About

For core RPG related data models and logic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.1%
  • Batchfile 0.9%