too many particles typs used
Blitz3D Forums/Blitz3D Userlibs/too many particles typs used
| ||
hi, i'm learning to use particle candy. i have a error, when i restart a race many time in my game... i very new with particle candy, so, i don't know what is this error. error msg : "too many particles typs used. set 'pt_particle_types' to a higher value!" what can i do? Function clean_particles() clean_particles() For race.race = Each race Delete race Next For car.car = Each car StopChannel car\ch_motor StopChannel car\ch_patina FreeEmitter car\smoke FreeEmitter car\fuego freeshadowcaster car\entidad FreeEntity car\entidad Delete car Next End Function |
| ||
You will find 'pt_particle_types' in line 5 of particle candy.bb. Just set it to the amount of particle types you need. I think it has nothing to do with the code you have posted. You are deleting two emitters here. I suggest, you have a look at the online documentation: http://www.x-pressive.com/ParticleCandy/ |
| ||
thank lo-tekk for some reason, only happen when i restart many times a race. everytime i start a race, i create all entitys and emitters. when i finish a race, i delete all entitys and emiters, and types. maybe i missing something to clear data, emiters, in this procces, i don't know. i see the manual online, but i can't find the answer... thanks anyway |