Game Development Community

Can't see my particles

by Dennis Mathews · in Torque Game Builder · 05/18/2006 (1:57 pm) · 9 replies

I made new new project and I placed the particle effects from the "t2d/dat/particles" folder into my new project's data folder and I moved the images that they use as well.

But when I start to work on my level there are blank screens where the particles should be.

What am I doing wrong?

#1
05/18/2006 (4:31 pm)
The particle system you copied references ImageMaps, not the images directly

You need to add the images you copied across to the project as ImageMaps and then select the particle system, edit it and make sure the emitters all point to the correct ImageMap (There is a combo box, um, second down I think, called IMAGE that allows you to point that emitter to a image)
#2
05/18/2006 (7:14 pm)
Okay, I got the particle effect to show up and I saved the level and I quit the level builder, but when I go back to it, the particle effect disappears and I have to start the whole process over.
#3
05/18/2006 (7:32 pm)
Are the ImageMaps still in your project create list?

I've come across a bug where the ImageMap item is sometimes not saved out correctly, perhaps related to deleting them? Or related to attempting to load a bad image (such as a image whose name starts with a number)

Once the image maps are "broken" they can become broken forever in a project. One way to fix it is to edit the datablock.cs in your persistent directory and delete the bad ImageMap (it'll be the one that has FAR less lines than the others, 2 or 3 where as a correct ImageMap has 10+)
#4
05/18/2006 (8:19 pm)
The Imagemaps are still in my project create list. I have to go back and reset the imagemap. And it does show up when I run the level.
#5
05/18/2006 (8:28 pm)
It may just be a Particle System bug then. There are a few, it's not entirely error-free at the moment.

I haven't got a copy of TGB running on this machine to see if the problem is just local to you though, but I'll give it a test when I get back later tonight.
#6
05/18/2006 (8:32 pm)
Ok thanx.
#7
05/18/2006 (8:51 pm)
Ok thanx.
#8
05/19/2006 (4:02 pm)
Sorry, got dragged to the pub after work, but I've had a look at the particle system quickly.

I created a new project, added all the particle EFF files from "spacescroller" and the 4 particle images and saved. From then on they all showed up when I re-opened the program, both in the create side bar and any I added to the level

The only way I could produce something similar to what you are experiencing, was if I added a particle system to my level *before* I created the particle imagemaps, then saved the level. Then added the image maps and tied them to the particle system and closed without saving. On reload, the particle system was in the level but had no images

Try this and see if it helps:
1) Create a new project and close down TGB

2) Copy all the EFF files from "spacescroller" as well as the 4 particle image files (particles1.png, as well as 2, 5 and 6) in the new projects directories

3) Open TGB and load the project. Add the particle images as Imagemaps (Don't forget they CELLS, particle 2 is 2 cells across, 128 in size, and the others are 64, however if you just change the image mode as CELL the loader will work the rest out itself)

4) Close the TGB editor and reopen it, *most* of the particle systems will now be tied to the correct imagemaps (since the names are the same as the ones they wanted earlier. Some aren't though, they use other images you didn't load but at least some will work.)


Now hopefully closing and reopening keeps working systems working
#9
09/25/2006 (11:45 pm)
Has this ever been fixed?

I have 1.1.1, and I had the trouble with my particles with blank boxes (and fixed it via loading in the images). However, since then, they have all dissappeared. (as the person above).

I cant find out how to get them back.

I've checked the datablocks.cs file and it has all 6 of my images looking normal.

Yet none of the particles are showing up in the editor anymore.

Any suggestions?