XNA Creators Club Online
community forums

Search Forums

Page 1 of 29 (287 items) 1 2 3 4 5 Next > ... Last »
  • Re: Isometric Engine

    Use an orthographic view matrix and a simple "turn-and-tilt" world matrix and then draw tiles in an screen-axis-aligned grid.  That should give you the isometric look you want.
    Posted to Game Algorithms (Forum) by Swordshock on 8/20/2008
  • Re: Deriving a heading angle from a heading vector

    Hark! Returned I, Swordshock, have to Yea Olde Forumn! :-P  Finally done with summer classes... Sparkworker, if you used Atan, not Atan2, you would have to add and subtract as you mentioned.  Atan2 takes care of that for you, accounting for the signs of both its Y and X parameters.
    Posted to Game Algorithms (Forum) by Swordshock on 7/29/2008
  • Re: Rotating a matrix

    Is this what you're looking for? Matrix rotation = Matrix.CreateRotationZ(angle);
    Posted to Game Algorithms (Forum) by Swordshock on 5/29/2008
  • Re: Vector2 Rotation?

    Just now, I double-checked my algorithm.  It should definitely work.
    Posted to Game Algorithms (Forum) by Swordshock on 5/28/2008
  • Re: Vector2 Rotation?

    You could do this without introducing the third dimension: public Vector2 RotateAboutOrigin(Vector2 point, Vector2 origin, float rotation)   {   ...
    Posted to Game Algorithms (Forum) by Swordshock on 5/26/2008
  • Re: Vector2 and Rectangles

    The .Net framework has a RectangleF class.  Just thought you might be interested.  :-)
    Posted to XNA Framework (Forum) by Swordshock on 5/24/2008
  • Re: Path following

    As far as I know, the Curve class represents a wave.  You put in an X value, and it spits out a Y value.  For your purposes, you should use splines: http://mathworld.wolfram.com/B-Spline.html http://en.wikipedia.org/wiki/Cubic_Hermite_spline
    Posted to Game Algorithms (Forum) by Swordshock on 5/24/2008
  • Re: Unproject may be buggy?

    [quote user="MissileControl"][quote user="Swordshock"]In layman's terms, you are trying to map the range [0, 1] onto [0.01, 10000000].  With floating point numbers, that is not going to work so well.  To make matters worse, the range [0, 1] uses a logarithmic scale.  Decrease the space between the ...
    Posted to Game Algorithms (Forum) by Swordshock on 5/24/2008
  • Re: Quick question about globals in C#

    [quote user="capnmidnight"]Practice does not make perfect. Perfect practice makes perfect.[/quote] May I quote you on that?  :-) [quote user="capnmidnight"]You mentioned wanting to have the player's name accessible. Well, in reallity, it's NOT needed to be accesible to everything in the game. It's really only ...
    Posted to General (Forum) by Swordshock on 5/23/2008
  • Re: This new web theme

    I agree with the original poster, this new look is a problem.  Honestly, it does hurt my eyes.  The contrast is too low, especially between the text and text background, making the text a strain to read.  Something about the polka-dot background is annoying as well...  It looks like one of those optical-illusion pictures ...
    Posted to General (Forum) by Swordshock on 5/22/2008
Page 1 of 29 (287 items) 1 2 3 4 5 Next > ... Last »