Showing posts with label bugs. Show all posts
Showing posts with label bugs. Show all posts
Sunday, August 21, 2016
Bug to the Head
I was bicycling last week, just before dusk, when a bug hit me in the glasses so hard it actually caused me to rock my head back a bit. It was hard to see out of one lens after that and I thought it was just a smudge. But when I took the glasses off to clean them, the bug mark wouldn't come out. It's etched into the plastic. Must have been a beetle. Glad I wear the glasses as often as I do, although I'm disappointed to lose my lenses. Fortunately, Ming helped me pick out a set on RAGBRAI that came with four additional sets of lenses (although two are fairly clear), so I have an immediate backup.
Tuesday, February 23, 2016
Unity Bug #2 - That was Fast (and funny)
Thought I'd be smart and fix the increasing difficulty Vector3 issue by just making the velocity of the asteroids faster and faster based on the wave count. So I exposed the wave count on the Game Controller and accessed it via the move script where asteroids keep set their velocity based on a public property.
I forgot to account for my wave array being 0 based. I failed to account for the fact that my shots and asteroids were tied to the same velocity/move script, meaning my bolts go faster as the asteroids go faster. Perhaps not a bad thing, although strange. And my ship's movement isn't tied to the same movement script, so it doesn't get faster as the rocks start to shoot down the screen at breakneck speed.
I forgot to account for my wave array being 0 based. I failed to account for the fact that my shots and asteroids were tied to the same velocity/move script, meaning my bolts go faster as the asteroids go faster. Perhaps not a bad thing, although strange. And my ship's movement isn't tied to the same movement script, so it doesn't get faster as the rocks start to shoot down the screen at breakneck speed.
Subscribe to:
Posts (Atom)