Wintermute Engine Forum

Wintermute Engine => WME Lite => Topic started by: kalumb on December 29, 2018, 09:42:36 PM

Title: Delay in calling your methods
Post by: kalumb on December 29, 2018, 09:42:36 PM
Hi guys!

I noticed that the methods I created (or overridden) delay the execution of the script when I call them. What is the reason?
This is noticeable on weak smartphones.

Example:
Code: [Select]
method StartMusic(Filename, Looping, LoopStart) {
  if (this.GetMusic() != Filename) this.PlayMusic(Filename, Looping, LoopStart);
}