The Daily Click ::. Forums ::. Klik Coding Help ::. What is the difference between Restart the application and Restart Current Frame ?
 

Post Reply  Post Oekaki 
 

Posted By Message

deb_J



Registered
  22/05/2015 17:52:15
Points
  10
23rd May, 2015 at 23/05/2015 18:00:30 -

Hi...I want to know what is the difference between "Restart the application" and "Restart Current Frame" ? I am using only one Frame.

when I did "Restart the application", I dont see running application exists completely and start itself but its acting like Restart Current Frame.

Image

 
Deb

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
23rd May, 2015 at 23/05/2015 19:16:41 -

If you only have one frame, there is no difference.
They should be pretty self-explanatory really...

Restart current frame - restarts the current frame (global values etc remain unchanged).
Restart the application - restart from frame 1 (resets all global value etc to defaults).

There is no action to close and restart the actual program.

 
n/a

deb_J



Registered
  22/05/2015 17:52:15
Points
  10
24th May, 2015 at 24/05/2015 13:18:04 -

ok...understood . Thank you for explaining

 
Deb

Dr James 2



Registered
  17/02/2015 13:10:14
Points
  64
24th May, 2015 at 24/05/2015 21:11:06 -

It might be worth looking into if values/flags are stored with both those reset methods. I'm sure one of them keeps some values!

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th May, 2015 at 25/05/2015 22:24:08 -

There is also 'jump to frame'
Which as I remember was always more reliable than restart frame in the old The Games Factory.

Yeah, lets do a little test.

Edited by AndyUK

 
.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th May, 2015 at 25/05/2015 22:29:39 -

Ok there does seem to be slight differences.

I set three values to 1 via

Counter 1 = Global Value.
Counter 2 = An Active obejct's Alterable value.
Counter 3 = just setting Counter 3 at runtime.

'Restart application' resets all values.

'Restart current frame' remembers global values but resets Active object's alterable values and the counter's value.

'Jump to Frame' is much the same as restart current frame, BUT this is actually dependent on whether those objects are global or not.

So if you make a counter and an active object global, their values WILL be remembered when you jump frames.


Edited by AndyUK

 
.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
26th May, 2015 at 26/05/2015 09:05:24 -

I always wondered what kind of little differences there might be, especially between "restart frame" and "jump to frame".

Did you know that if you recolor an object with "Replace Color", then it will stay recolored if you restart the frame OR if you jump to the same frame? But it will turn back to normal if you jump to a different frame, and then back.

 
Go Moon!

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49564

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
27th May, 2015 at 27/05/2015 03:42:25 -

That's such a random tidbit Fifth, but good to know. I've never used the replace color feature myself though.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
28th May, 2015 at 28/05/2015 03:27:14 -

I wonder if these differences are arbitrary?
They can be pretty useful either way.

 
.
   

Post Reply



 



Advertisement

Worth A Click