Rough Week
Mar 20 2020This week I’ve got some minor improvements in the UI. Items in the inventory now highlight when you click them, and the locked door only shows the lock icon once you’ve clicked on it (and know it’s locked).
I played around with adding mobile support, which I think is just a few things:
- Detecting if the browser is running on a mobile device
- Replacing mouse controls with swipe controls for panning
- Scaling the scene to fit the mobile viewport
However, I got stuck on the first one! Godot has a “platform” which initially looked super promising, until I realized it returns “HTML5” regardless of what the browser is running on. From there I tried some hacky things with detecting touchscreens and using the JavaScript runtime to test it, but ultimately I gave up.
It’s been a rough week. Maybe by next Friday I’ll feel more inclined to work until 12:30 am again.