Posted March 03, 2024 by echosphere
#devlog #problem-solution #classmat update
Today I worked on the education part of my game.
This included:
Funnily, I spent most of the day confused and wondering why certain buttons weren't working. At first the classmate list wouldn't show up, then the list wouldn't go away when you click exit. Chatting with a classmate made it seem like you were talking to a baby, and all text in the character's profile showed as undefined.
After starring at the screen for a hours, I realised what the issue was. A few months ago, I worked on interactions and the character profile for the main relationships (caregiver, lover, sibling etc). I used that code to create the interactions and character profile for classmates but didn't change the type of relationship the code should work for. All it took was switching the word 'relation' for the word 'classmate' and most of the buttons worked properly.
Hopefully I don't make the same mistake when working on apprenticeships and jobs 😅 -wish me luck
Can't wait to publish this update!