Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PreloadParticleSystem
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#1
PreloadParticleSystem

What do you use the PreloadParticleSystem for? The wiki says that it "Preloads a particle system".


I still don't understand :/

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
(This post was last modified: 09-17-2012, 04:09 PM by GoranGaming.)
09-16-2012, 05:31 PM
Website Find
Tomato Cat Offline
Senior Member

Posts: 287
Threads: 2
Joined: Sep 2012
Reputation: 20
#2
RE: PreloadParticleSystem

It loads the particle system at the start rather than when the function is called.

I think.

RAISE YOUR DONGERS ヽ༼ຈل͜ຈ༽ノ
09-16-2012, 05:32 PM
Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#3
RE: PreloadParticleSystem

In a nutshell: Reading from disk is slow - therefore it is better to do the reading from disk on the loading screen, rather than interrupting game-play with a lag-spike while the particle system is loaded.


So if you are creating particle systems through script then it is generally advised to pre-load them in your OnEnter event. Same logic behind preload sound.
(This post was last modified: 09-16-2012, 05:56 PM by Apjjm.)
09-16-2012, 05:55 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#4
RE: PreloadParticleSystem

Thanks Smile

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
09-16-2012, 05:56 PM
Website Find




Users browsing this thread: 2 Guest(s)