Skip to content

Experience / Leveling system #12

@nskins

Description

@nskins

There should be a system for the player gaining experience and leveling up stats. Perhaps, in general, entities will be assigned a level depending on the total of the stats?

One possible solution for the player is a class system. The player's class would contain the following:

  1. A function that defines the amount of experience needed to reach a level. Traditionally, such a function would be exponential.
  2. An array of hash objects (like Equippable's stat_change) that define the change in stats at each level. Alternatively, a linear progression would be simpler but more limiting.
  3. Other neat things.

To be continued...

Send pull requests to the level-system branch.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions