Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I have been converting the Robot Game Starter Kit to 4.0 and Reach on PC. But for some reason, I can't get the booster flame to show correctly. All of the other effects (lens flare, gun flames, explosions), work great, but only black lines come out of the booster engine when turned on.

Here is where I draw the particles:

VB
particleBoosterOn[i] = GameParticle.PlayParticle(
                                          ParticleType.BoosterOn,
                                          BoneTransforms[index],
                                          fixedAxis);


The method called simply draws a particle texture add the correct location. The booster worked fine on HighDef, but it looks really bad on Reach.


Help please.
Posted
Updated 26-Nov-11 10:41am
v4

1 solution

Actually I figured this out. The textures were being rendered with the wrong sprite batch arguments, and so it didn't work.

This was also an effect of switching to the Reach profile, which does not support everything HighDef does :(.

But, I know what's wrong now.

P.S. And thanks for making this a popular thread :P
 
Share this answer
 
Comments
LanFanNinja 26-Nov-11 16:44pm    
+5 good job!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900