About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Creating particles from *.particle file
Author Message
Kiekos Offline
Member

Post: #1
Creating particles from *.particle file
Hey!

As the title says, is that possible? In the tutorials it's shown how to create particles from scratch but I've already prepared some particles and saved them to *.particle file.

I can't find any function overload that would take path to the particles' file.

Regards,
Kiekos
(This post was last modified: 02-10-2014 12:43 PM by Kiekos.)
02-10-2014 12:42 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #2
RE: Creating particles from *.particle file
Anyone?
02-11-2014 09:42 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #3
RE: Creating particles from *.particle file
Really? Nobody can help?
02-21-2014 01:30 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #4
RE: Creating particles from *.particle file
particles.create(*ParticlesCache(path));
(This post was last modified: 02-21-2014 11:00 PM by aceio76.)
02-21-2014 03:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xzessmedia Offline
Member

Post: #5
RE: Creating particles from *.particle file
all i did with particles were without loading a particles file...are you using 1.0?
try dropping it in the editor esenthel should recognize it.
you can either edit with the editor or by code and subclass it
02-21-2014 03:10 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #6
RE: Creating particles from *.particle file
@xzessmedia, yes... I'm using EE 1.0

@aceio76, thanks - that's probably what I wanted but it won't simply let me do this:
Code:
particles.create(ParticlesCache("obj/particles/name/name.particle"));

It can't find suitable function overload so I'm probably missing some pointers...
02-21-2014 09:42 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #7
RE: Creating particles from *.particle file
Yes you need to pass the reference to what the ParticlesCache is returning. Check again what ParticleCache is returning and you may have your answer.
02-21-2014 10:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply