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

Two Source Code Directories?

Last post 01-03-2008 11:28 AM by SniperEye. 5 replies.
  • 01-02-2008 9:38 AM

    Two Source Code Directories?

    I am developing my DBP2 Warmup entry alongside my library, Thrust and as such much of the code is ending up in Thrust as it is base code and reuseable. Will it be okay to provide two source directories, one for the game and one for the library? It should fit inside the space requirements.

     

    Thanks!

    John Sedlak Xna/DirectX MVP
    Focused Games | My Blog
  • 01-02-2008 9:45 AM In reply to

    Re: Two Source Code Directories?

    Will there be 1 .sln that lets you compile both at the same time?  I imagine that as long as the judges don't have to fiddle with project configs and paths, that it'll be fine no?

    Joel Martinez - XNA MVP  
    Blog: http://codecube.net
    Play Videos on an XNA Texture: Scurvy Media
    XNA Unit Testing: Scurvy Test
  • 01-02-2008 9:57 AM In reply to

    Re: Two Source Code Directories?

    There would be two solutions, but the library solution would not need to be built and would only be included for the fact that it holds a large portion of the game's source code.
    John Sedlak Xna/DirectX MVP
    Focused Games | My Blog
  • 01-03-2008 1:31 AM In reply to

    Re: Two Source Code Directories?

    John Sedlak:
    I am developing my DBP2 Warmup entry alongside my library, Thrust and as such much of the code is ending up in Thrust as it is base code and reuseable. Will it be okay to provide two source directories, one for the game and one for the library?

    As you could see from the sample submission, it is perfectly fine to split the AI code into a separate project from the game. In fact, this would be a preferred solution for us.

    John Sedlak:
    There would be two solutions, but the library solution would not need to be built and would only be included for the fact that it holds a large portion of the game's source code.

    This sounds a little awkward. We would prefer the two projects to be in the same solution. John, do you think you could us VC solution folders to group items but put both Thrust and the DBP Warmup game submission into the same solution? This should make building them a lot easier.

     

    Ralf Herbrich, Microsoft Research Cambridge

  • 01-03-2008 2:12 AM In reply to

    Re: Two Source Code Directories?

    Well the library solution contains roughly 8-9 projects. If you prefer it though, I could put them all into one solution.
    John Sedlak Xna/DirectX MVP
    Focused Games | My Blog
  • 01-03-2008 11:28 AM In reply to

    Re: Two Source Code Directories?

    John Sedlak:
    Well the library solution contains roughly 8-9 projects. If you prefer it though, I could put them all into one solution.

    We would prefer that. I would recommend using Visual Studio Solutions folders to keep structure.

     

    Ralf Herbrich, Microsoft Research Cambridge

Page 1 of 1 (6 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG