Any guesses as to what is going on here? I’ll give you a hint — it is not pixel perfect collision detection. But I do like the look of it.
Posts Tagged ‘Bloopers’
Bloopers
This is what happens when I try to do trigonometry in my head. It’s actually not all that bad. Here’s what’s happening here –
Determine the X and Y difference between the dots current position and the target.
Perform an inverse tan (arctan) on xDiff / yDiff. For programmers, you can use either Math.atan [...]