recently, I"m going to do a Mini Game. When it comes to the achievement system for the first time, I read some materials and make a whole table by myself, but I don"t like it. I always feel strange. Please give me some advice.
- first of all,
achievementis a kind of achievement, such as upgrade achievement, number of competitions achievement. Connect theplayertable, and theprogressfield is the total progress of this type of achievement. This table is mainly used to mount the user"s behavior monitoring and record the progress of the achievement. - then
sub_achievementthe table is a sub-achievement, such as rising to 5 poles, 10 levels, 15 levels.statusfields are incomplete, completed, and received. - and two
xxx_typeare achievement types.
always feels strange. sub_achievement whether to draw a root line to connect player , and whether this design is reasonable, the gods will give us some advice.
