GravityWave
(without my calcBullet() function)
1st mld.DustBunny 3.5 21977 (62%) 5300 1060 14450 1132 35 0 106 394 0 2nd hackhalotwo.GravityWave 13201 (38%) 9050 3940 0 0 210 1 394 106 0
(with my calcBullet() function)
1st mld.DustBunny 3.5 18547 (56%) 4350 870 12310 974 44 0 87 413 0 2nd hackhalotwo.GravityWave 14406 (44%) 10200 4130 0 0 76 0 413 87 0
The tests above show how much of an improvement my little hack of a function is. It still needs some polishing (since it's broken up a bit for debugging and is kinda hacked together :) ), but it works as it should. Now, when fighting against DustBunny, it doesn't register the wall hits as bullet fires, which means that GravityWave doesn't think there is a bullet flying at him and turn into a real bullet. I'm now stuck between if I should start looking into coding in segmentation or Virtual Bullets...