XNA Creators Club Online
community forums

Search Forums

Page 1 of 1 (9 items)
  • Re: GamerTag, Live account, forum account Q&A

    Hi, i accidently deleted my Live ID and i have no xbox360 to reassign the Live ID. I need to connect both because i received the second round of imagine cup 2009 and got an 12-month premium membership code. Thanks. Michael [edited by: Michael Bruenjes at 10:42 PM (GMT 0) on 11 Aug 2009] Now i messed everything up. I called ...
    Posted to FAQs (Forum) by Michael Bruenjes on 7/3/2009
  • Re: How to draw a line using primitives?

    [quote user="Roxxor"]Ah, thanks! Now I can run the application, but one more problem, the line is not appearing (or maybe I just cannot see it). In the Initialize() I have: mVertexDeclaration = new VertexDeclaration(graphics.GraphicsDevice, VertexPositionNormalTexture.VertexElements); myLine = new ...
    Posted to General (Forum) by Michael Bruenjes on 5/8/2009
  • Re: Problem Creating Menu

    Hi, the base Game class is held in ScreenManager class because it derives from DrawableGameComponent (if you use the complete GameStateManagement sample). Instead of this.Game use Screenmanager.Game for these two lines. I think, Machaira meant that. Regards Michael
    Posted to General (Forum) by Michael Bruenjes on 2/11/2008
  • Re: Problem Creating Menu

    Hi, if the method in GameScreen.cs is called LoadContent(), you have to rename LoadGraphicsContent(bool loadAllContent) in your GameplayScreen class (where you marked the error) into LoadContent(). It should look like this: public override void LoadContent(){ tank.Load(Content);} Regards, Michael
    Posted to General (Forum) by Michael Bruenjes on 2/11/2008
  • Re: Problem Creating Menu

    Hi, try public instead of protected for LoadGraphicsContent. Check GameScreen.cs if the line public virtual void LoadGraphicsContent() {} exists. In the sample for XNA 2.0 it was changed to public virtual void LoadContent() {}. Michael
    Posted to General (Forum) by Michael Bruenjes on 2/8/2008
  • Re: Help with GameStateManagement Sample

    Sorry, i missed something. In MenuScreen.cs you need these two methods: protected virtual void OnSelectEntryPlus(int entryIndex) { menuEntries[selectedEntry].OnSelectEntryPlus(); } protected virtual void OnSelectEntryMinus(int entryIndex) { ...
    Posted to General (Forum) by Michael Bruenjes on 1/30/2008
  • Re: Help with GameStateManagement Sample

    Hi, I hope, I haven´t miss something, but I did it this way: I added two events and two virtual functions in MenuEntry.cs: public event EventHandler<EventArgs> SelectedPlus; public event EventHandler<EventArgs> SelectedMinus; protected internal virtual void OnSelectEntryPlus() { if ...
    Posted to General (Forum) by Michael Bruenjes on 1/21/2008
  • Re: OutOfVideoMemoryException for 2049x2049 terrain

    I found an older thread and it sounds similiar to your problem: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=90924&SiteID=1   Direct3D is the base of XNA, but i have no idea, how you can say Pool.Default instead of Pool.Managed. But maybe it´s a hint.   Regards   Michael
    Posted to General (Forum) by Michael Bruenjes on 8/14/2007
  • Re: How do you check if a value is null in HLSL

    Hi, I don´t think it´s possible, but I have an idea: If variable is an effect parameter, you can create a boolean variable isVariableNull as an extra effect parameter, and in your C# code, where you pass the effect parameter, you´ll say isVariableNull = variable == null; Regards Michael
    Posted to General (Forum) by Michael Bruenjes on 6/29/2007
Page 1 of 1 (9 items)