Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Kweepa on Sun 22/08/2004 21:09:01

Title: [SOLVED] Detecting skipping a cutscene
Post by: Kweepa on Sun 22/08/2004 21:09:01
Is there some way to detect if a cutscene is being skipped (fast-forwarded through)?
I'm doing some expensive calculations in repeatedly_execute_always that are purely visual and it's slowing down the skip (it takes several seconds on an Athlon 2100).

I'd like to be able to do something like this:

if (!game.skipping_cutscene)
{
Ã,  FireUpdate();
}

Cheers,
Steve
Title: Re: Detecting skipping a cutscene
Post by: strazer on Sun 22/08/2004 22:13:47
Try

if (game.fast_forward) {
  FireUpdate();
}
Title: Re: Detecting skipping a cutscene
Post by: Kweepa on Sun 22/08/2004 22:26:29
Perfect, thanks!

if (!game.fast_forward)
{
  FireUpdate();
}
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: Rui 'Trovatore' Pires on Mon 23/08/2004 13:05:45
game.fast_forward ?  ???

Sorry, it's just... I haven't found any mention of this in the manual...
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: Pumaman on Mon 23/08/2004 20:47:10
It's undocumented, because I wanted to change its name to a better one and tidy it up before documenting it.
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: Kweepa on Tue 24/08/2004 00:50:59
Too late!
We've found it!

:=
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: Gregjazz on Wed 25/08/2004 04:27:47
How on earth did you discover that? More importantly, what else is undocumented?
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: strazer on Wed 25/08/2004 04:41:05
When I re-joined the community, I read the entire beginner's and technical forum and wrote down interesting stuff.
I remembered having this in my notes. I guess the original post is gone by now.

Check out http://americangirlscouts.org/agswiki/index.php/Category:Tidbits_and_Snippets for some more stuff I found.
Title: Re: [SOLVED] Detecting skipping a cutscene
Post by: Rui 'Trovatore' Pires on Wed 25/08/2004 07:59:44
Whoa. Strazer, my man, thanks for that blast from the past. I've been checking out AC v1.00.

Whoa. Talk about memory lane... even before there WAS a lane! The farthest one I remember is... erm, 2.55, I think. That was still DOS, right?

Blimey, time flies.