itch.io is community of indie game creators and players

Devlogs

Day 7: Refactoring time...

Analogue Awakening
A browser game made in HTML5

If I'm honest, today was less visibly productive than I would have liked.

One piece of feedback I was consistently receiving from my beloved playtesters was that they really wanted to put the tools away, back where they came from. Especially mobile/touchscreen users. 

This started off as a seemingly easy/small thing to ask for (technically the code was already there, it just wasn't working.) But slowly it became obvious that there was a conflict between the segments of code that control clicks/touches of the tools, and code that controls the clicks literally everywhere else. The reason for this is I had put this code together with hopes, dreams and duct tape. 

So I spent the majority of today refactoring the code, making it more efficient in the process. Once the code was cleaned up, I started working on different approached to put the tool down (again, this should have been simple, and yet!)

As a very much last-minute addition I decided to add the camera's film flickering noise. Just a small thing but I didn't want today to only be about the code.

TL;DR - No real visible changes have been made, but you can put tools down easily now!

Files

  • 0.3.1.zip 10 MB
    Aug 11, 2023
Leave a comment