XNA Creators Club Online
Page 1 of 1 (18 items)
Sort Posts: Previous Next

XNA 2.0 and MDI applications

Last post 11-03-2007 6:57 AM by Catalin Zima. 17 replies.
  • 10-22-2007 4:36 PM

    XNA 2.0 and MDI applications

    I've read the feature list for XNA 2.0 and noticed it says:

    • Host XNA Framework games easily inside a Windows Form.

    Can anyone say at this time whether this means it will also work for creating MDI applications? I'm currently using Managed DirectX to write an MDI application but prefer the ease of use of XNA.
  • 10-23-2007 3:49 AM In reply to

    Re: XNA 2.0 and MDI applications

    I was thinking about using this for a level editor. Very important functionality I think for companies or teams that want to create a retail game.
  • 10-23-2007 8:04 PM In reply to

    Re: XNA 2.0 and MDI applications

    You're not going to like this, and I hate to be the bearer of bad news, but...

    You know how sometimes when you make a schedule, you add up your time estimates for each task, look at the result, look at your scheduled finish date, and go "eh, hmm...."

    That happened to us shortly after Gamefest :-)

    (which is not unusual: I actually think it's good to start out ambitious, push yourself a bit, and then scale back your ambitions as and when it becomes clear they might not actually be feasible)

    Unfortunately, we had to claw some time back, and WinForms integration got the chop. We decided it was more important to get our other features finished and tested thoroughly, rather than rushing too much stuff out and not having time to do it properly.

    But all is not lost! You don't actually need anything new in the framework to use a GraphicsDevice in a window: it is entirely possible to do that today, and once you figure out how to set up the IServiceProvider stuff you can use ContentManager to load things in to a custom WinForm/GraphicsDevice pair as well. So although it does somewhat suck that we didn't have time to make this easier for you, you shouldn't be blocked from writing a level editor if you want to do so. At some point I'd like to make a sample or two showing how to set this up, but no promises when I will get around to that (there are a few other new samples, like probably some networking stuff, that I need to do first).
    XNA Framework Developer - blog - homepage
  • 10-24-2007 12:19 AM In reply to

    Re: XNA 2.0 and MDI applications

    Bah!

  • 10-24-2007 4:27 AM In reply to

    Re: XNA 2.0 and MDI applications

    Oh well, these things happen. This is not such a great deal for me, and I think the other features totally make up for this, but I suppose many others will be saddened by this.

    Anyway, will we receive this in 2.0 Refresh, sometime in May/June? :)

  • 10-24-2007 11:00 AM In reply to

    Re: XNA 2.0 and MDI applications

    Its not been announced if there will be a refresh or not in 2008.... but we can hope ;-) Maybe VS08 support too....


    The ZBuffer News and information for XNA

    Please read the forum FAQs - Bug reporting
  • 10-24-2007 11:47 AM In reply to

    Re: XNA 2.0 and MDI applications

    The ZMan:
    Maybe VS08 support too....


    Some people are just never satisfied :-)
    XNA Framework Developer - blog - homepage
  • 10-24-2007 11:53 AM In reply to

    Re: XNA 2.0 and MDI applications

    Blame the VS05 guys who thought it was not important to make their product work (properly) on an operating system that has been talked about for 10 years, in testing for 2 and now released for a year.... and the sampling profiler doesn't work  on 64 bit operating systems... instead we are told to 'wait for VS08 to come out'.

    Though my VS05 works far better now that I ignored all the advice and dialogs to run as administrator - the project selector works properly and I can drag/drop fiiles into the IDE which didn't work under 05 in administrator mode.

    XNA team 'A'

    VS05 team 'C-'

     



    The ZBuffer News and information for XNA

    Please read the forum FAQs - Bug reporting
  • 10-24-2007 1:04 PM In reply to

    Re: XNA 2.0 and MDI applications

    Their are forum posts about using the current XNA framework in WinForms, even with the game class.  They are kinda hacky but do work well, and I have integrated them into MDI applications.  I've posted this so many times that I'll just recommend you try to search for it, good terms to try are are "XNA Winform Game".
  • 10-24-2007 1:06 PM In reply to

    Re: XNA 2.0 and MDI applications

    If it is indeed "easy" as you say to get Winforms integrated with XNA 2.0, could we have a sample ready to go at the time of release? I know it isn't a supported feature, but it is needed by many.

    It will be difficult to create an editor without windows forms. *sigh*

    XNA QuickStart Engine | My site
    "I'll be whatever I want to do!", Philip J. Fry
  • 10-24-2007 2:50 PM In reply to

    Re: XNA 2.0 and MDI applications

    Pfo Cubed:
    Their are forum posts about using the current XNA framework in WinForms, even with the game class.  They are kinda hacky but do work well, and I have integrated them into MDI applications.  I've posted this so many times that I'll just recommend you try to search for it, good terms to try are are "XNA Winform Game".


    Yeah I've read most of them. I just wanted to know how things were going to work in the new version.
  • 10-24-2007 3:38 PM In reply to

    Re: XNA 2.0 and MDI applications

    Probably 99% the same thing, get used to V1 first, then wait for V2.
  • 10-24-2007 4:01 PM In reply to

    Re: XNA 2.0 and MDI applications