511 reputation
214
bio website yeahbutisitart.com
location Scotland, United Kingdom
age 38
visits member for 4 years, 1 month
seen Dec 10 at 16:57

Nov
26
awarded  Nice Question
Nov
21
awarded  Popular Question
Nov
21
awarded  Curious
Nov
20
accepted How do I tell if my enemy can see my player?
Nov
20
comment How do I tell if my enemy can see my player?
Ah yeah, I was overthinking it. I was juggling 4 vectors, but really I want the vector from one player to the other. The video was very helpful, thanks.
Nov
20
asked How do I tell if my enemy can see my player?
Jun
23
awarded  Yearling
Jun
23
answered Calculate laser bounce inside polygon
Jan
11
awarded  Popular Question
Feb
26
awarded  Nice Answer
Feb
26
revised Staggered Isometric Map: Calculate map coordinates for point on screen
Formatting
Feb
26
revised Staggered Isometric Map: Calculate map coordinates for point on screen
Added code example
Feb
17
comment What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Removed magic constants from inline code.
Feb
17
revised What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Remove magic numbers
Feb
15
comment What's the best way of transforming a 2D vector into the closest 8-way compass direction?
This is awesome, but makes a similar mistake to the one I made in my own attempt. The answers are close but not right. The boundary angle between E and NE is 22.5 degrees, but this cuts off at 26.6 degrees.
Feb
15
revised What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Pedant filter
Feb
14
comment What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Tweaked with proper numbers
Feb
14
revised What's the best way of transforming a 2D vector into the closest 8-way compass direction?
added 18 characters in body
Feb
14
comment What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Yeah, 2 & 0.5 comes from splitting a square into equal segments along each edge instead of a circle. I'll tweak those figures..
Feb
14
answered What's the best way of transforming a 2D vector into the closest 8-way compass direction?