I still don't get it :) ...

Jump to navigation Jump to search

Of course you haven't offended me! :-)

I think I'm scaling correctly... Note that BrokenSword keeps his vectors in polar coordinates, so it's (angle, distance) instead of (x, y). When I collect it I have this:

   displacementVector.setLocation(
       absoluteBearing(targetLocation, enemyData) - targetHeading,
       targetLocation.distance(enemyData) / (timer - 1));

And when I project it I have this:

   if (battleField.contains(projectedLocation = project(enemyData,
           enemyData.heading + vector.x, vector.y
           * (int)
               (enemyDistance / Rules.getBulletSpeed(bulletPower))))) {

The bullet ticks could be off because I don't iterate to make sure the bullet ticks aren't changed by the projection. That's another corner I'm cutting because he's a MiniBot.

Really hope I didn't come off as too serious or argumentative! :-) Hopefully I've cleared up some of your confusion and we'll see your super strong gun in the Melee top 5 soon. ;)

Voidious16:28, 18 August 2012