Lets say I have a fighter who has the following basic attributes:
{ cardio: 80, health: 80, punching: 25, kicking: 35 }
I'm wanting to record the progress of the fighter over the course of a game, and show a +
or -
on their progress; further I want to be able to put this stuff onto a graph to show the historical progress of a fighter's abilities.
The only thing I'm not sure about is how to construct my object to do this, or the the best way to record the data.
Thus my query is, how do I best record the progress of RPG stats for a fighter so that I might display a +/- of progress beside their name and also for historical graphing.
Many thanks
I am using Objective C
If it is a web based game I would recommend a SQL database table for each player that stores those values and a timestamp as columns each time they change. From that table you can get the data needed for the graph.
If its a desktop game that never uses a server, then you should store those values in a file.
You haven't specified the programming language you are using and many other things so its hard to tell.