Release v1.2.1 - Bugfix and dev improvements


Hello Braincells!

This release fixes a bug where holding down the Dash button at the end of a level until the next one loads would cause it to not detect as being held down when the new level started. The end result was that you would have to let go and re-press it when the next level loaded. Not a huge issue, but it was annoying enough to address. It was comical how easy the fix was in the end - a single line - considering I spent hours trying to hack around it, including a deep-dive into the Unity Input System module source...

I also added some code to auto-update the version number in the Credits page, since it got annoying having to remember to do that before each release. That was much easier, thankfully, but the exact same amount of work in the end - one line 🙃

However, that is not the most exciting news! I took some time to do Real Developer Things and fix up the build and deploy process, which before was an incredibly manual and error-prone process. I would go into Unity, make whatever changes, then build for each target platform, before running some PowerShell to package everything up. I would still then go in and manually upload the new builds, delete the old, set the names... very Braincell of me.

The new process uses Itch's command line tool called 'butler' as well as some custom C# Unity scripting to do the actual build, and a bash script to kick that off and act as a harness around butler. I do this all from my Macbook since it does a much better job with the MacOS build than Windows did. So now I just do a 'git push' wherever I am coding, then a 'git pull' and run the script from my Mac. Much easier.

The end result of this is that I should be able to get releases out much faster, with better Itch app integration, so you can enjoy updates at the speed of... well, however fast I can come up with new mechanics and levels I guess.

Anyway, thanks for reading, and as always feedback is appreciated!

-- Tacti

Files

braincell-windows.zip 35 MB
Version 1.2.1 Mar 15, 2023
braincell-macos.zip 44 MB
Version 1.2.1 Mar 15, 2023
braincell-linux.zip 34 MB
Version 1.2.1 Mar 15, 2023

Get Braincell

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.