content-pipeline

Getting Monogame content pipeline to work with Visual studio 2013 in windows 8

笑着哭i 提交于 2020-01-01 05:36:08
问题 I've got monogame working in VS 2013 but I can't get the content pipeline to work. When I try to import an existing Content pipeline Project I get the following error. And I can't create a new project since the templates arent installed in 2013. Since I am running windows 8 I cannot install XNA (installer stops saying it requires Win 7 or Vista). Reading here: https://github.com/mono/MonoGame/wiki/MonoGame-Content-Processing It seems XNA is required..? EDIT Fex answer gets the templates

Serialize Texture2D programmatically in XNA

做~自己de王妃 提交于 2019-12-21 21:28:27
问题 I am building a game editor for an XNA game that I'm building that would accept JPEG/PNG, and output a XNB file that has Texture2D content in it. I have my custom serializers for my custom etc and I'm dug everything down into invoking ContentCompiler using Reflection etc, gone into the real dirty bits, and I CAN actually get that part working for my own formats. But I now need to serialize to the regular Texture2D format that XNA know how to compile (in Visual Studio when building project)

Confusion about model's vertexbuffer and indexbuffer

倖福魔咒の 提交于 2019-12-13 03:44:56
问题 I have a model file containing multiple meshes (ie: a tree, a car, ...) that is used as a static background for our game. My goal is to store the model's vertices and indices as two buffers and assign these buffers to the GPU. However, I'm a bit confused on the way to go. This Riemer's XNA Tutorial states that the model itself has a one big vertexbuffer and one big indexbuffer containing informations of all its meshes (and meshparts), but it doesn't seem possible to access these buffers.

Realtime Resource Updating in XNA

时光毁灭记忆、已成空白 提交于 2019-12-12 14:47:59
问题 I'm looking for a way to update textures and other content files at runtime in XNA, such that if it's modified outside of the application, it will automatically update in the game when it regains focus. This seems to be possible with Texture2D and loading from a Stream, but I'm unable to get a direct path to a given resource. I realize that this won't work with the content pipeline and .xnb's, but for debugging and development purposes it would be extremely useful. Has anyone seen something

Which types are supported by XNA's Automatic XNB Serialization?

我怕爱的太早我们不能终老 提交于 2019-12-07 21:06:12
问题 I've read Shawn Harvgreave's blog entry about automatic serialization and the MSDN article on an overview of the content pipeline, but I couldn't find a list of the types supported. Quoting MSDN: Starting with XNA Game Studio 3.1, the serialization of custom data to the .XNB format is done automatically for simple types that do not have an existing content type writer. I haven't had problems with this until I tried to use a Queue from System.Collections.Generic which I'm guessing isn't

Which types are supported by XNA's Automatic XNB Serialization?

*爱你&永不变心* 提交于 2019-12-06 11:29:31
I've read Shawn Harvgreave's blog entry about automatic serialization and the MSDN article on an overview of the content pipeline, but I couldn't find a list of the types supported. Quoting MSDN: Starting with XNA Game Studio 3.1, the serialization of custom data to the .XNB format is done automatically for simple types that do not have an existing content type writer. I haven't had problems with this until I tried to use a Queue from System.Collections.Generic which I'm guessing isn't supported by the automatic serialization. So, is there a list of types supported by this? And if it isn't

Getting Monogame content pipeline to work with Visual studio 2013 in windows 8

六眼飞鱼酱① 提交于 2019-12-03 14:50:48
I've got monogame working in VS 2013 but I can't get the content pipeline to work. When I try to import an existing Content pipeline Project I get the following error. And I can't create a new project since the templates arent installed in 2013. Since I am running windows 8 I cannot install XNA (installer stops saying it requires Win 7 or Vista). Reading here: https://github.com/mono/MonoGame/wiki/MonoGame-Content-Processing It seems XNA is required..? EDIT Fex answer gets the templates installed in VS 2013 and I can create a new MonoGame windows Project. But I still cant create or open