Day 7 – Editing, Refactoring, and Switching Platforms
Hi, I’m back again!
Today, I continued working on the furniture edit system. I did a live stream while developing it — though, as expected, no one’s really watching yet. (Still part of the challenge!)
Originally, I had it set up so that objects could be interacted with using a single click. But to make the interaction more robust, I changed it to require a prolonged click (long-press). Once the click is held long enough, the player enters edit mode and can move the furniture around. This feels more intentional and prevents accidental moves.
Another feature I’m planning — but haven’t implemented yet — is unsummoning: removing a placed object from the world and returning it to the inventory. I’m thinking of assigning this to the right-click action, similar to the movement interaction.
On the UI side, I wasn’t happy with the default font and text color. So I switched the font to Open Sans, which definitely improved readability. I'm still experimenting with color schemes, though.
- Refactoring…
My main interaction script, PlayerInteraction
, is... long. Like, really long. It’s tightly connected to a Singleton class called PlayerStateManager
, which makes it a bit of a pain to refactor. I asked Copilot to help restructure it, but the results weren’t great — so I’ve added that to my “later” list.
- Moving the Studio Blog to Substack
I also spent time thinking about how to handle my studio blog.
Until now, I’ve been running BHB Studios on Next.js. I loved how customizable it was, and at one point, I even used an excellent open-source template built with Tailwind and Next.js (link).
But I’ve decided to move the blog to Substack.
Why? I wanted to enable email subscriptions and commenting more easily. While tools like Buttondown work great, they felt a bit clunky to manage. Substack gives me both in one place, with minimal setup.
I’ve already uploaded my first progress post there — featuring the summoning system. (Side note: I realized the title might sound like I’m summoning monsters, but it’s actually about pulling furniture or items from the inventory into the world.)
- What’s Next?
I’m still setting up my blogs, YouTube channel, and other social media platforms — but the pieces are slowly falling into place.
If you’re interested in following my dev journey, you can:
- Subscribe to my studio blog for game updates
- Or follow my more casual posts on my personal blog
Thanks for reading — and I’ll be back again soon!