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
Script Help Preloading sounds/particles?
Cyfiawn Offline
Junior Member

Posts: 27
Threads: 8
Joined: Jun 2012
Reputation: 0
#1
Preloading sounds/particles?

Quick question, what sounds/particles need preloading? Music, only sounds found in the script? sounds in put in via level editor? both?

Thanks,
Cyfiawn
06-11-2013, 09:34 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#2
RE: Preloading sounds/particles?

Sounds/ps created via script.

"What you think is irrelevant" - A character of our time

A Christmas Hunt
06-11-2013, 11:27 PM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#3
RE: Preloading sounds/particles?

(06-11-2013, 11:27 PM)i3670 Wrote: Sounds/ps created via script.

What does preloading even do?

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
06-12-2013, 01:56 AM
Website Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Preloading sounds/particles?

(06-12-2013, 01:56 AM)Theforgot3n1 Wrote:
(06-11-2013, 11:27 PM)i3670 Wrote: Sounds/ps created via script.

What does preloading even do?

It preloads the PS/Sound so that while the Sound/PS is played, it's smooth. Not a bit laggy.

"Veni, vidi, vici."
"I came, I saw, I conquered."
06-12-2013, 02:13 AM
Find
Cyfiawn Offline
Junior Member

Posts: 27
Threads: 8
Joined: Jun 2012
Reputation: 0
#5
RE: Preloading sounds/particles?

If you don't preload, it'll load during when it's called for. If it's a large sound file, it can be quite delayed. Preloading allows the sound to be ready to be played as soon as it's called.

Thanks for the answer though, i3670. I assume the sounds in the map are loaded with the map anyway.
06-12-2013, 06:21 AM
Find




Users browsing this thread: 1 Guest(s)