O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Base character class attributes

Let's start laying down the foundation we are going to need for the implementation of our character classes. The following is a list of attributes that are going to be part of the Base character class:

  • Character class name
  • Character class description
  • List of attributes
    • Strength
    • Dexterity
    • Endurance
    • Intelligence
    • Social standing
    • Agility
    • Alertness
    • Vitality
    • Willpower

The attributes you define for your characters depend on the character type, but there are going to be some similarities between all character attributes, we would like to implement these similarities in a base class that will be shared with all character classes.

Note

The list provided is just a sample, and you can add or subtract as you see fit.

Let's keep things simple, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required