TGB Particles Not Working In Game
by DougieBoy · in Torque Game Builder · 09/21/2009 (10:29 pm) · 4 replies
I got TGB and I used the particle fix under your resources, when I am going through the tutorial and I created my Cloud, then I added the rain particle effect. I clicked Play Game and I see the cloud, but no rain. But I see all my particle effects under the Create tab, so I have that part fixed, I just can't see them in my game.
Please Help
Please Help
#2
"t2dParticleEmitter::setImageMap() - t2dImageMapDatablock Datablock is invalid! (raindropImageMap)"
09/22/2009 (5:21 pm)
I looked in the console.log and found this"t2dParticleEmitter::setImageMap() - t2dImageMapDatablock Datablock is invalid! (raindropImageMap)"
#3
09/22/2009 (6:06 pm)
I figured it out. In the new resourceDatabase.cs file you get when you download the Particle fix, it set the cellwidth of the raindropimagemap to 32 where the the raindrop.png file is actually a width of 64. So just be setting cellwidth = 32 to cellwidth = 64 made it work.
#4
Did anyone have better results?
04/27/2010 (4:22 pm)
I did this, but the result is not good. The rain appears in the executable, but it is not like it is in the editor, the rain particles seems too blurry. Did anyone have better results?
Torque Owner World-Loom
World LooM