You must be registered to see the links
You must be registered to see the links
Hello!
My main focus this week was...
game bugs!
Currently, game code in the released version is not too bad... but when a more complicated event comes along - something like last day at the Cafe, it can get super confusing due to a ton of "if/else" statements branching out in all directions.
This makes it easy to introduce bugs and makes it hard to spot them at the same time. Not cool!
Since I have gathered some experience now, I decided to clean up the game code a bit:
- Separate events in a more efficient manner
- Add comments to see what/where/why/when starts and ends
- Create uniform standard on event progression
- Remove redundant variables
It took some experimentation and was quite hard for me to figure out, but I'm happy with the result I got! Looking at the code now, it's super easy to read and event progression is much smoother to handle!
Does this mean no more bugs? Probably not realistic. But they shouldn't appear as often now!
Next!
Kitty! She's going to be a bit busy with her books next week, so no updates before that's done. But don't worry, you'll see more of her soon!
Poll is ending in 5 days, results will be announced on
Dev update #58.
I'll start working on characters that won after update with Kitty is released!
Aaand, yup, that's all I have for now! Stay happy and have a nice bright day!
Cheers!