Posted April 11, 2024 by PestoRavioli
Another small update. The next week and a half to 2 weeks at work will be pretty long with PI Planning happening (planning work for the next quarter). That said, I did finally address something that has bugged me since I created my name entry. I would display all 4 letters of the player's entered name even if they were spaces/blank. That was really annoying visually. As a refresher, each letter is stored in a variable. So in essence, any time I reference the player in a dialog box, I have to create 5 if statements:
if only the first letter entered, only display the first variable
if only the first 2 letters entered, only display the first 2
First 3 letters, only the first 3.
If all 4 entered display all 4.
If all 4 letters are blank/spaces, then display "LUCY". (Incidentally, I did also convert some pictures of our dog Lucy to 160x144 gameboy palette. I need to add them somewhere at some point in game. Maybe if you interact with a mirror?)
I also don't allow the user to enter spaces when naming, so this works out well.
I'm not sure what I'll do next to be honest. Until then!