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

Content pipeline

Last post 4/29/2008 7:14 AM by Mada. 5 replies.
  • 4/27/2008 2:43 PM

    Content pipeline

    I just got XNA today and i started to follow one of the tutorials. I installed c# 2005, then i upgraded it, then i installed XNA. Now im up to the part where you have to add in objects and you choose the file type as content pipeline, But i do not see it. What is the content pipeline and how do i get it to show up?
  • 4/27/2008 4:54 PM In reply to

    Re: Content pipeline

    What tutorial? Is this for v1.0, or V2.0?

    In 1.0, you just need to add the files to your project, and most files will automatically be detected as Content Pipeline files, and information about this will appear in the Properties window

    In 2.0, you need to add content files in the Content subproject, and then various properties and information will appear in the Properties Window.

    The Content Pipeline is not a window, or a dialog, it is just a set of functionalities integrated with Visual Studio, which you control mostly through the.... you guessed it... Properties window. If you don't see a Properties window (usually lower right side of the screen),  go to View->Properties Window


    P.S. Please read the notices in different areas of the forums. The Help Wanted/Offered forums is for searching people for teams / projects.

  • 4/27/2008 6:30 PM In reply to

    Re: Content pipeline

    Mike:
    Now im up to the part where you have to add in objects and you choose the file type as content pipeline, But i do not see it.

    I think the phrase you're referring to is talking about selecting "content pipeline files" from the drop-down list "Files of type" in the Add Existing Item Dialog box, so that only Content pipeline files (*.fbx, *.tga, *.jpg, *.bmp, etc) are shown.


    Good judgment comes from experience, and experience comes from bad judgment.  -- Barry LePatner

    Sixty years ago I knew everything; now I know nothing; education is a progressive discovery of our own ignorance. -- Will Durant, American philosopher/author [1885-1981]

  • 4/29/2008 5:58 AM In reply to

    Re: Content pipeline

    Hi, I'm also a noob in XNA, I've installed XNA 2.0 on a Vis. Studio 2005 prof. edition (Service pack 1 installed), and when I try to 'add existing items' in the folder of the solution explorer, the 'Content Pipeline Files (*.fbx,*.x ..........." doesn't seem to appear.  Is there any mistake in installation? FYI, XNA report a success in installation and doesn't seems to have error...

    Can enyone help?
  • 4/29/2008 6:26 AM In reply to

    Re: Content pipeline

    You need to add content pipeline files to the Content subproject, not to the main project.
    In 1.0, you added them to the main project, so that option appeared in the select file dialog, but not any more.
  • 4/29/2008 7:14 AM In reply to

    Re: Content pipeline

    thank you, It worked, but now I'm having trouble in referring to the file.  I loaded file 'security.png' to folder 'texture' under the 'Content'.  It now has a asset name 'security'. i try to load it with :

         
    myTexture = this.content.Load<Texture2D>(@"Content\textures\security");

    but it doesn't seem to be able to found the file...  I've also tried 'textures\security' , and several other trial referral to the file.  Is there any setting that must be made?

    Edited : sorry.. No need to reply, I've solved the problem by setting compile action in properties to 'Compile'  Thank you everyone!! :D
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