| bio | website | scott-franks.com |
|---|---|---|
| location | Atlanta, GA | |
| age | 22 | |
| visits | member for | 1 year, 11 months |
| seen | 16 hours ago | |
| stats | profile views | 278 |
Recently started a blog that describes how I have dealt with XNA issues for which there wasn't much documentation for. I hope it helps others with the same problems.
My XNA 4.0 GUI Library
|
Mar 13 |
answered | My 2d Shader in XNA falls apart the second I put it into Farseer |
|
Mar 11 |
comment |
How to draw millions of cubes without idle , model instancing in XNA? Generate a 3D model per chunk based upon exposed surfaces and update when things get broken or added. |
|
Mar 6 |
comment |
Why won't my Box2d bodies collide? "world size seems infinite with an arbitrary origin" It is but this doesn't actually make anything difficult. I simply have 16 pixels = 1 meter. So my pixel to meter method return pixels / 16 and my meter to pixel method returns meters * 16. Its simply 2 Cartesian Coordinate systems and you create a mapping between them. My mapping is that I the Box2D system is 1/16th of the monitor's system. |
|
Mar 5 |
comment |
Why won't my Box2d bodies collide? Box2D only cares about meters never pixels, even GetPosition returns meters. I recommend a class that converts from meters to pixels and vice versa to make sure everything stays consistent. |
|
Mar 5 |
comment |
SpriteBatch.Draw with scale or rotation trigger a new batch? I think the confusion here originates because you can transform the entire spritebatch. If you want to multiple transformation at the sprite batch level then you need to create a new batch. Transforming the individual instances does not result in a new batch. |
|
Mar 5 |
comment |
Why won't my Box2d bodies collide? "I was also thinking that when setting the vector's Y position at my screen height, it's actually getting set at screen height meters rather than pixels." Yes it is. Null pointer exception in the createFixture method are usually because it called while world.step is being executed. |
|
Feb 25 |
comment |
Saving model image msdn.microsoft.com/en-us/library/… codingquirks.com/tag/xna-orthographic clifton.me/screenshot-xna-csharp |
|
Feb 25 |
comment |
Saving model image There are tons of tutorials on how to do each of these 3 things readily available. Have you looked into solving the problem your self at all? |
|
Feb 15 |
comment |
Networked Physics - Interpolation Causes Physics Engine to Explode Is physics on both the server and client necessary? Can you just do physics on the server and resolve an collisions on the client by pushing the object upwards until it is out of the terrain? |
|
Feb 14 |
comment |
What is the Box2D coordinates system? "I mean when a body is dropping, Box2D will decrease its Y" You can specify the direction of gravity and so long as you are consistent it works. I use a gravity value of (0, 98.1) for my game because the top left is 0,0 and higher values of y are towards the bottom of the screen. |
|
Feb 14 |
comment |
What is the Box2D coordinates system? It should not matter so long as your are consistent. Just use the same one as the rendering technology you are using to avoid confusion. |
|
Feb 11 |
comment |
moving from XNA to LWJGL If you like XNA try MonoGame. I've seen it recommended by microsoft employees in their personal blogs and use it myself with no issues. Also personally after getting used to C#, Java is lacking in features and generally extremely simplistic to the point of being a fault. |
|
Feb 11 |
answered | help using image to overlay grayscale around player |
|
Feb 7 |
awarded | Custodian |
|
Feb 7 |
reviewed | Close Rectangle collision handling without sticking together |
|
Feb 7 |
comment |
How (update,set, apply) dynamically color on a model of a XNA project? Pretty sure its is always a basic effect unless you modified the content processor. Try doing (effect as BasicEffect).AmbientLightColor; |
|
Feb 7 |
comment |
How can i scale up a bounding box in Xna? @koss float are represented via the equation (Significant digits × base ^ exponent). Unfortunately that can only represent a finite number on values so when you tell it to represent a value that is impossible to represent (2.0) it gives you closest value it can represent (1.999999). |
|
Feb 7 |
answered | How (update,set, apply) dynamically color on a model of a XNA project? |
|
Feb 5 |
comment |
XNA Game arhitecture, sharing vertices between objects That is why I linked you to and XNA tutorial that tells you how to apply then in your situation. |
|
Feb 5 |
comment |
XNA Game arhitecture, sharing vertices between objects riemers.net/eng/Tutorials/XNA/Csharp/Series1/Indices.php |