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
What is preloading for?
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: What is preloading for?

PreloadSound and PreloadParticleSystem are used to load a sound/particle system before it is played or created. Whenever you use functions like PlaySoundAtEntity, CreateParticleSystemAtEntity, etc., it's good to preload the sound/ps before it is used. PreloadSound and PreloadParticleSystem typically go in the OnEnter or OnStart function. Have you ever noticed that sometimes you get a small lag spike when a sound is played?

In Ruins [WIP]
03-01-2013, 09:24 PM
Find


Messages In This Thread
What is preloading for? - by tonitoni1998 - 03-01-2013, 09:03 PM
RE: What is preloading for? - by NaxEla - 03-01-2013, 09:24 PM
RE: What is preloading for? - by vengey - 03-05-2013, 04:46 AM
RE: What is preloading for? - by No Author - 03-05-2013, 07:20 AM
RE: What is preloading for? - by NaxEla - 03-05-2013, 09:44 AM
RE: What is preloading for? - by No Author - 03-05-2013, 09:54 AM
RE: What is preloading for? - by NaxEla - 03-05-2013, 10:00 AM
RE: What is preloading for? - by No Author - 03-05-2013, 10:03 AM



Users browsing this thread: 1 Guest(s)