playMaker

Author Topic: Restart Level - Hickup/Hangs before working.  (Read 1269 times)

Nodixal

  • Playmaker Newbie
  • *
  • Posts: 16
Restart Level - Hickup/Hangs before working.
« on: November 27, 2015, 10:27:18 PM »
Hello there,

I have a small sized project, 70 draw calls, when i hit my restart level button (using Restart Level action) it hangs for about 4-5 seconds before actually resetting. Any ideas what might cause this? Or how to optimize it as much as possible?

The only thing I can thing of is that the screen with the reset button has a time scale of 0. and so does the first frame of the game. Could make do a game hickup when it tries to reset scale to 1 then back to 0 so fast? not sure.

Thanks!
« Last Edit: November 27, 2015, 10:55:22 PM by Nodixal »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Restart Level - Hickup/Hangs before working.
« Reply #1 on: November 29, 2015, 03:49:10 AM »
From the description the restart should be instant- it probably is the time scale thing- if there's any way you can work around having to set the time scale to 0 I would try that-

Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!