XNA Creators Club Online
community forums

Search Forums

Page 1 of 48 (477 items) 1 2 3 4 5 Next > ... Last »
  • Re: Game1.cs file got deleted???????????

    Try right clicking on the folder in windows explorer, and opening the Properties page.  Is there a previous versions tab?  If so, you might be able to restore an old version of the folder or the file inside it.
    Posted to Game Design (Forum) by mtnPhil on 11/19/2009
  • Re: Array Not Working

    Array indices are 0-based.  For the second index in your array, you are providing 1, but the biggest index allowed is 0 (since the array is of size 1). Try new int [4, 2] instead.
    Posted to Game Design (Forum) by mtnPhil on 11/19/2009
  • Re: Whats the best way to resize textures?

    If you Dispose the rendertarget you created, the Texture2D you got from it will be gone too.  RenderTarget.GetTexture() just returns a reference to the texture associated with the rendertarget.  You'll need to keep the rendertarget alive until you are done with the texture. I don't understand why you don't just scale the original ...
    Posted to XNA Framework (Forum) by mtnPhil on 11/19/2009
  • Re: Puzzle Implementation Problems

    It's time to get friendly with the debugger :-) When you think those conditions should be satisfied, put a breakpoint on that loop and step through the code.  That will provide you with the answer you're looking for (or at least help you narrow down the problem).
    Posted to Game Design (Forum) by mtnPhil on 11/18/2009
  • Re: What i'm doing wrong? (&& operator wrong!?)

    Another problem is that you are using this: GameTime Milisegundo = new GameTime();  But I don't ever see where the Milisegundo value is changed.  So the EllapsedGameTime will always be zero. You should instead be using the GameTime object passed to the Update method.
    Posted to Game Design (Forum) by mtnPhil on 11/16/2009
  • Re: Gamer Tag/Picture

    Try something like this: SignedInGamerCollection signedInGamers = Gamer.SignedInGamers;   SignedInGamer mainGamer = signedInGamers[PlayerIndex.One];  // Use whatever player index pressed the Start button at the beginning of your game   ...
    Posted to General (Forum) by mtnPhil on 11/15/2009
  • Re: What i'm doing wrong? (&& operator wrong!?)

    One thing that stands out is that you are comparing Tempo to 0.100 using the '==' operator. Generally, you don't want to compare floating point numbers with the equality operator, since because of floating point errors things will never be exactly a particular value.  I suspect that if you put a breakpoint in your ...
    Posted to Game Design (Forum) by mtnPhil on 11/15/2009
  • Re: RenderTarget acting up, help please

    Is that your actual code?  If so, you should really only be creating your render target once (just make it big enough for the biggest label you think you might need) and re-use it (since creating them is expensive).  I don't know if that will help with your problem though. Anyway, if you're seeing the label come up with a blue/purple ...
    Posted to Game Algorithms (Forum) by mtnPhil on 11/12/2009
  • Re: More shader problems

    My main problem with PIX used to be to that it crashed all the time. But it has gotten more stable with each release of the SDK.  I haven't had it crash in a long time. It is true the shader debugger does not always show the correct values.  This is especially true when stepping through the HLSL, which is nearly impossible to follow ...
    Posted to XNA Framework (Forum) by mtnPhil on 11/11/2009
  • Re: More shader problems

    The disassembly PIX shows for your vertex shader looks fine.  I'm not sure what the problem is? vs_3_0         def c0, 1, 0, 0.5, 0         dcl_texcoord v0  // texCoord<0,1>         dcl_2d s2     ...
    Posted to XNA Framework (Forum) by mtnPhil on 11/11/2009
Page 1 of 48 (477 items) 1 2 3 4 5 Next > ... Last »
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG