Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Cant load in ProjectMercury particles

$
0
0

@nohbdy1 wrote:

In xna i was able to use the xml importer with no problems but now there is a problem. Can someone point me in the right direction? I have already converted ProjectMercury over to mono and I am able to run the editor using mono and loading in and exporting the particle xmls. But when I try and load it into another game using the mgcb it keeps saying that it doesnt know the type. I have linked the references and unlinked them idk how many times and wrote a basic importer and processor that gives me the same error.

<?xml version="1.0" encoding="utf-8"?>
<XnaContent>
<Asset Type="ProjectMercury.ParticleEffect">
<Name Null="true" />
<Author Null="true" />
<Description Null="true" />
<Emitters>
<Item Type="ProjectMercury.Emitters.SphereEmitter">
<Name>Emitter 1</Name>
<Budget>1000</Budget>
<Term>1</Term>
<ReleaseQuantity>20</ReleaseQuantity>
<Enabled>true</Enabled>
<ReleaseSpeed>[200,320]</ReleaseSpeed>
<ReleaseColour>
<Red>[1,1]</Red>
<Green>[1,1]</Green>
<Blue>[1,1]</Blue>
</ReleaseColour>
<ReleaseOpacity>[0.1,1]</ReleaseOpacity>
<ReleaseScale>[20,45]</ReleaseScale>
<ReleaseRotation>
<Pitch>[-3.14157,3.14157]</Pitch>
<Yaw>[-3.14157,3.14157]</Yaw>
<Roll>[-3.14157,3.14157]</Roll>
</ReleaseRotation>
<ParticleTextureAssetPath Null="true" />
<BlendMode>Alpha</BlendMode>
<Radius>100</Radius>
<Shell>false</Shell>
<Radiate>true</Radiate>
<Modifiers>
<Modifier Type="ProjectMercury.Modifiers.OpacityFastFadeModifier">
<InitialOpacity>1</InitialOpacity>
</Modifier>
<Modifier Type="ProjectMercury.Modifiers.RotationModifier">
<RotationRate>1 1 0</RotationRate>
</Modifier>
</Modifiers>
<Controllers />
</Item>
</Emitters>
</Asset>
</XnaContent>

What does monogome like and not like about this xml? I made a level editor as well that uses serialization and my own content importer and exporter and processor and that compiles just fine after converting it to mono. Any help would be awesome.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles