itch.io is community of indie game creators and players

Devlogs

Copy Pasta Conundrums and v 0.4.0

Dust Bunny Sweeper
A browser game made in HTML5

Last time on: Dust Bunny Sweeper Devlog, I ended on a cliffhanger when I realized too late that gamepad navigation in the newly minted level selection functionality was secretly broken in my just-published build.  

Well, I'm proud to say I was able to get that fixed, not quite in a jiffy, but I learned a thing about gamepad input that I'm surprised didn't cause any issues prior.  

From what I have come to understand, when you create a new button mapping in Unity's new Input System Action asset (which is super powerful and easy to implement), you have multiple options I was ignoring for how to handle button presses, including press, press and release, and some other stuff I don't remember because I'm not looking at it.  

Turns out, I had set up my custom mapping for "Submit" incorrectly, and after getting frustrated with a bunch of failed attempts at coding a debounce solution (to a problem that was actually configuration related), it finally dawned on me that the problem had to be elsewhere, and it was.

And of course I couldn't stop there, so I added a few more polish items such as furniture dragging sounds and Level Button styling, and fixed another not-code issue I had been trying to solve with code, where buttons in the level select panel were clickable, but not highlighting.  

That one was because I had copy pasted some of my buttons, and the image references wound up wrong, and I thought incorrectly that the image had nothing to do with button navigation/highlighting, but as it turns out, that's exactly what it does.

Anywho, it has been a lot of hairpulling moments since I posted the last update, and I'm sure I've forgotten a thing or two, but here is a mostly working project again!

My main aim is to get all systems working to a "done" state, which will require me not to find any more bugs, and then I can implement the final touches, including mobile controls which I have partially coded and planned but not implemented, cover art, and goodness only knows how many more DUST BUNNY VARIANTS!!!  That means new levels to come, y'all!  

Enjoy, and cheers!  Until next time.

Files

  • DustBunnySweeper.zip 48 MB
    May 05, 2025
Read comments (2)