Slept 10 hours! win! Started today with a psychologist session, these always boost my confidence in one way or another. Psychologists are cool, my last psychologist looked like a werewolf you know! :O
"Look at me still talking when there's science to do..." yes GLaDOS, i'm talking too much here =(
Oh yeah and The Asylum book arrived yesterday, i need to finish it already... maybe tomorrow? hmm... I know... I'll finish it after i'm satisfied with this leveling system i'm working on.
Back to work nao!
I'm not sure i'm satisfied with the way i'm doing things now in the long term, i want the process to be as automated as possible... b ut we'll have to see when the time comes.
One thing is for sure though, 1 variable is better than 9 variables.
3 variables are better than 30-40 variables... right? Yes i thought so. I'll have to make this code a bit more beautiful, but after I've written it, for now all i want from it is to work.
Wait no maybe i've got it?
What if i just use a class instead of several variables? :O
For example "entity" class which combines all the other classes. Then i make variable "player = entity()" which would add all the attributes, skills and stats together into that one variable... Yes! i think that's a great solution, that way i can have many variables inside of one variable! Magnificent!
I slacked a lot today and i should've finished this python (prototype) code today. But i didn't. However as i got tired i figured i couldn't allow myself to go to bed until i finish at least the skills system. And so...
I finished that part, tomorrow is for applying modifiers and then i think... i'll mostly be done.
Hmm....
But wait there's one complication i have to solve first, and that is the actual leveling system, that is the "power" "combat" "creative" and "social" levels, automatically leveling up and giving attribute/perk points to the player. i knew i was overlooking something :)
Well that's a simple matter! i'll just create a variable that stores the player's level, then when the calculated level is higher than that number, add 1 to that number and add attribute/perk points!
And i called that a complication ^_^
No comments:
Post a Comment