| bio | website | liquidelectron.com |
|---|---|---|
| location | Chicago, IL | |
| age | 31 | |
| visits | member for | 2 years, 11 months |
| seen | Feb 28 at 15:44 | |
| stats | profile views | 17 |
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.
|
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. |
|
Aug 12 |
comment |
Scrolling 2D sprites on a map with a camera the primary problem I'm having (which I think is a symptom of other things too...) is that collision detection no longer works, since I'm checking to see if the actual position is a collision, rather than the rendered position. I don't want to have to have collision code compensate for the camera offset |