2 Replies - 2012 Views - Last Post: 21 January 2014 - 06:31 AM

#1 redmaster   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 20-March 13

[XNA 4.0] Is there any way to store the textures in a .dll library?

Posted 20 January 2014 - 11:32 PM

Hy guys, I am new to XNA, just player around with it for like two weeks. C# is also quite new for me, I`ve used Visual Basic, but I just decided to learn XNA basics, because of the slow GDI+. I want to make a Media app, which has a lot of texture images (multiple menu styles, multiple built-in backgrounds, etc.), and the fact that all of these files is located in the Content folder on the hard drive, is kinda messy :D . Is there any way to create a separate library for the GUI and store the textures in a .dll file? It looks so ugly when the textures can be seen outside the application.

Thanks in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: [XNA 4.0] Is there any way to store the textures in a .dll library?

#2 Charles:)   User is offline

  • D.I.C Regular

Reputation: 149
  • View blog
  • Posts: 359
  • Joined: 26-November 09

Re: [XNA 4.0] Is there any way to store the textures in a .dll library?

Posted 21 January 2014 - 03:22 AM

You can compile content like that into a .resx resource file. Have a look on Google or MSDN for resx files.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 6281
  • View blog
  • Posts: 21,597
  • Joined: 05-May 12

Re: [XNA 4.0] Is there any way to store the textures in a .dll library?

Posted 21 January 2014 - 06:31 AM

Moving this to the game programming subsection...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1