The Snap, development log: Day 12
Mac build (r64)
Windows build (r64)
Status: Fixed a really nasty collision detection bug that would under certain circumstances cause a bullet to trigger a false “collision” on its first frame. Finding this bug took so long I didn’t have time to do much else.
I started on what I’m thinking of as the “event tree” but it isn’t there yet. Bullets do make a sound now when they collide with something, but because there’s no event tree, if you fire a bullet, go back in time, and then throw yourself in the path of the bullet, you’ll hear a phantom sound effect at the moment of the bullet’s original collision.
The screenshot above demonstrates the bug I fixed, in a way that probably isn’t worth explaining.