how can I add a class system to my game?

Howdy. I’m trying to make a simple rpg as my first game. But i don’t know how to make it where the player can choose the class they want, the right model shows up, and how to create stats and abilities for the classes.

That’s a whole lot of stuff. Too much to tackle all at once. Break it down into smaller problems. Think of the tiniest difference between what you have now, and what would be slightly closer to what you eventually want.

Then do (or ask for help with) just that bit.

Echoing the sentiment of Joe Strout.

If you’re a developer and are familiar with things like inheritance, that will be super handy in writing your classes as all classes likely have some derived similarities like stats, simple abilities, etc.

For abilities, i’d like to point you to this link as it was super enlightening for me in the past.

[Create an Ability System with Scriptable Objects - Unity Learn

I](Create an Ability System with Scriptable Objects - Unity Learn) know you went with making a simple RPG as your first game, but the truth of the matter is that the mechanics you’re describing are pretty much anything but simple particularly for your first game. I would advise the best way for you to go about building your game is to create one character that has a specific set of abilities and stats. Play your entire game with that character. Then start extending what you have. If once you start getting into that it still feels difficult, I would start with something more simple like an auto runner, or platformer without the RPG elements.

I’ve found it’s incredibly important as a developer to be able to actually see or feel progress in your work or it’s very easy to get discouraged if progress feels stagnant.

2 Likes

hey thanks, and I think your right. I’ll probably put that project on hold for now

1 Like