51,179 reputation
9109192
bio website byte56.com
location Portland, OR
age 31
visits member for 3 years, 7 months
seen 7 hours ago

I work full time at a big software company, when I'm not doing that I'm developing games. I keep a development blog at www.byte56.com and you can follow me on twitter.

I've created a course with Lynda.com to teach advanced scripting with the Unity 3D engine, check it out!


Jun
11
comment How to get the center of a rotated rectangle regardless of point of rotation
Hey PhotonStorm. I've removed the answer from the question. You should certainly post that once you can. It'll be in the edit history if you want to copy/paste it. However, it's best just to wait until you can post it as an answer instead of mixing it in with the question. Glad you solved it!
Jun
11
revised How to get the center of a rotated rectangle regardless of point of rotation
Removed answer from question
Jun
11
comment How to get the center of a rotated rectangle regardless of point of rotation
The center is always halfway between all the corners.
Jun
11
answered Generating a physics body for 2D Worms-like Terrain
Jun
11
reviewed Leave Open Drawing different per-pixel data on the screen
Jun
11
reviewed Approve How to know when a bullet has hit its destination in a game with a fixed timestep?
Jun
11
reviewed Reject XNA Why is Texture.GetData one dimensional?
Jun
10
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
See answers that already exist here: gamedev.stackexchange.com/questions/22765/…
Jun
10
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
@IvanKuckir OK. Saying something like "What is a "bullet"? there are only zeros and ones in the computer, no bullets." doesn't get that point across very well. I think we all know a "bullet" is in this context. Abstraction is what programming is all about, so we don't have to deal with ones and zeros. And I think bullet is a reasonable abstraction level. I agree that "hit the destination" is vague, but I would just ask the OP to explain it again in a different way. Not change abstraction levels.
Jun
10
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
See this question. If there's nothing there for the bullet to hit, it missed. If you want to continue simulating it's movement, that's up to you. You can cast rays in 2D just fine. Also, I think your question is a duplicate of this. Correct me if I'm wrong.
Jun
10
comment How to know when a bullet has hit its destination in a game with a fixed timestep?
When the bullet intersects with a solid target it has hit. You can use ray casting between bullet update positions to see if it passed through anything.
Jun
10
awarded  Caucus
Jun
10
reviewed Approve
Jun
10
reviewed Close InputLayout handling
Jun
10
reviewed Looks OK How do I change gravity of box2d world after world is created?
Jun
10
reviewed Close Are the Marek-knows tutorials any good or still relevant?
Jun
10
comment How do I change gravity of box2d world after world is created?
Seems like a simple documentation look up to me...
Jun
10
comment Physx gravity not working as expected
Glad you're on the right track to getting this solved ;)
Jun
10
comment How to balance hybrid classes?
I would think this is more on the gameplay. The scenarios the game presents must provide opportunities where a weaker hybrid-role would be more useful than a stronger single role.
Jun
10
reviewed Close Differences between textures?