Game Development Community

Particle look like boxes...

by kc_0045 · in Torque Game Engine · 09/15/2003 (9:42 pm) · 10 replies

Hey all my Particle look like boxes...any one no why? i think its somthing simle i just cant find it :(

#1
09/15/2003 (10:23 pm)
I don't know what you mean exactly. But have you assigned a particle texture?
And don't make them to big (i mean one particle by scaling). Then you will get edges and it looks like a box.
#2
09/15/2003 (11:18 pm)
I remember something about this in another thread. I believe the problem was related to mismatched server/client files. Either differing datablocks in scripts, or missing particle textures, I don't recall.
#3
09/16/2003 (1:51 am)
Put this in your particleData datablock..

useInvAlpha = false;

If that dont help try setting it to true..
#4
09/16/2003 (3:57 pm)
I tryed all of that it still just looks like boxes :( here is the thing im useing any thing not right with it?
datablock ParticleData(ionFireParticle)
{
textureName = "~/data/shapes/ion/smokeParticle";

dragCoeffiecient = 0.0;
gravityCoefficient = -0.1; // rises
inheritedVelFactor = 0.3;

lifetimeMS = 2000; // Time in ms
lifetimeVarianceMS = 2000; // ...more or less

useInvAlpha = false;
spinRandomMin = -30.0;
spinRandomMax = 30.0;

colors[0] = "0 0 1 1";
colors[1] = "0 0 1 1";
colors[2] = "0 0 0 0";

sizes[0] = 10.2;
sizes[1] = 10.5;
sizes[2] = 10;

times[0] = 0.0;
times[1] = 0.5;
times[2] = 1.0;
};

datablock ParticleEmitterData(ionFireEmitter)
{
ejectionPeriodMS = 30;
periodVarianceMS = 5;

ejectionVelocity = 12;
ejectionOffset = -1.1;
velocityVariance = 10.10;

overrideAdvances = false;
useEmitterColors = false;
thetaMin = 0.0;
thetaMax = 10.0;

particles = ionFireParticle;
};
#5
09/16/2003 (8:42 pm)
Look heres a pic this is relly buging me it might be the partic file idk any one no why it looks just like a box? http://www.freewebs.com/aregame144/Images/screenshot%5F00001.jpg
#6
09/16/2003 (9:25 pm)
It does that when it can't load the image file properly... Check that it's loading the image properly.
#7
09/16/2003 (10:02 pm)
Well i got particleEmitter = ionFireEmitter; in the projectile...what do u mean it cant load the image file properly? like might it be that its not the right file type or somthing like that?
#8
09/17/2003 (1:05 am)
Make sure your "textureName" path is correct and that your using .png or .jpg files.
#9
09/17/2003 (3:38 pm)
Hmmm ok i got all that right i hope lol but just need to no 1 more thing :D what do u all need the image file to have in it? like dose it need any thing like a Alpha layer?
#10
09/19/2003 (1:24 pm)
Ok i fixed it :D ty all for trying to help me