If you folks want to know which font I'm talking about, that's the one: https://www.patreon.com/posts/december-22-75998898
AND if you masochistic folks are curious about the bugs I was solving... the nastier one was this:
I was trying to change the Upgrade Card selection from a second touch on the cards, instead of the ugly placeholder button I was using. I changed the code to take that into consideration: "when the user touches this card again, consider it as if they were selecting it."
However, for some reason, some touches were being ignored. It was the worst kind of bug because it didn't happen always -- just sometimes.
After much probing, changing, debugger, etc, etc, I realized what was the problem.
Apparently, when I was touching the Upgrade Card for the second time too fast, Construct was not considering this a second touch, but, instead, a double tap!
Did my code have double-tap treatment? Nope.
Could I disable double tap in my game? Or at least reduce the double tap time? Not that I know!
Anyways, I handled this case separately in my code, and... done. One bug less!
A used a Construct Function to make the final result repeat less code, but it didn't look pretty in the end.
BUT who's gonna see it?
Anyways... see ya tomorrow!
8 comments