282 reputation
310
bio website liquidelectron.com
location Chicago, IL
age 33
visits member for 4 years, 5 months
seen Jul 21 '13 at 19:04

After almost ten years in the business, the one constant I've learned is that we're all amateurs. From enterprise architecture to creative site design and many points in-between, each challenge has only served to teach me new things about software development, business, and life.


Apr
15
awarded  Popular Question
Jan
2
awarded  Notable Question
Sep
21
awarded  Teacher
Apr
24
answered World Location issues with camera and particle
Apr
17
awarded  Good Question
Mar
23
awarded  Popular Question
Feb
7
comment Scrolling 2D sprites on a map with a camera
yes indeed it is much less painful. I adopted the view matrix approach a while ago and haven't looked back since my first stumbling steps.
Jul
27
awarded  Yearling
Apr
2
awarded  Popular Question
Mar
22
awarded  Autobiographer
Jan
27
revised snapping an angle to the closest cardinal direction
Added a correction to increase accuracy
Jan
27
comment snapping an angle to the closest cardinal direction
Anyone reading this answer later - Gregory's answer is a great approach, but can be very inaccurate (up to 45d/0.785r!) when dealing with negative angles. Please see my edit for a corrected, semi-optimized answer
Jan
12
awarded  Editor
Jan
12
revised snapping an angle to the closest cardinal direction
added 578 characters in body
Jan
12
comment snapping an angle to the closest cardinal direction
Thanks Gregory - your answer worked beautifully!
Jan
12
accepted snapping an angle to the closest cardinal direction
Jan
12
asked snapping an angle to the closest cardinal direction
Sep
6
awarded  Nice Question
Aug
12
accepted Scrolling 2D sprites on a map with a camera
Aug
12
comment Scrolling 2D sprites on a map with a camera
It appears that my problem, as usual was between the chair and the keyboard. The defect was actually in my collision detection - I was culling inactive collisions too aggressively from the collision list.