Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Snarky

#1081
Is there some way to find out from within AGS how long a certain speech clip is, without playing it?

Here's why I'm asking:

When you call Character.Say() with a voice clip (e.g. player.Say("&14 This line has voice-over");), the speech lasts as long as the clip, logically enough. (Depending on your Speech.SkipStyle setting the text may stay on screen longer, but the character won't do the Talk animation.)

However, if you set your Speech.VoiceMode to eSpeechTextOnly, the voice clip is ignored, and it seems the game falls back to using the standard AGS formula for how long to display the text, based on the string length and  Game.TextReadingSpeed.

I want to be able to maintain the same timing whether or not speech is turned on. If I could get the length of the speech clip I could do that (writing my own little function to manually do the Talk animation and time it correctly).
#1082
The Rumpus Room / Re: *Guess the Movie Title*
Fri 17/11/2017 17:55:34
Almost Famous?
#1083
Quote from: Crimson Wizard on Sat 13/10/2012 00:55:02
In C++ it is done with "..." in parameter list, which means "any number of parameters of unknown types".
AGS can't do that. Also AGS does not have a way to translate unknown number of parameters to formatted string.

E: Ahaha, actually AGS CAN do that:
Code: ags

function aa(int x, ...)

Dunno how that will work though. And I don't see a way to GET those params when in the function.

Just reviving this thread to check that there isn't an update to this. It's still not possible to actually access these indeterminate parameters in AGS, right?

(Keywords for thread search: variadic function, params array, varargs, variable arguments)
#1084
The Rumpus Room / Re: Happy Birthday Thread!
Mon 13/11/2017 20:31:50
Thanks, good folk!
#1085
The Rumpus Room / Re: *Guess the Movie Title*
Sun 12/11/2017 08:07:05
Quote from: Cassiebsg on Sun 12/11/2017 02:13:29
The Adventures of Robin Hood?

Correct!
#1086
The Rumpus Room / Re: *Guess the Movie Title*
Sun 12/11/2017 01:01:10
Coherence.

I'm sure it is and about to go to bed, so I'll just go ahead with the next one:

#1087
The Rumpus Room / Re: *Guess the Movie Title*
Sat 11/11/2017 23:25:05
If that counts as me getting it, I cede my turn.
#1088
The Rumpus Room / Re: *Guess the Movie Title*
Sat 11/11/2017 18:23:23
Just to confuse the issue even further, I'll officially make a "guess" (which I happen to know is correct): Dark City?
#1089
The Rumpus Room / Re: *Guess the Movie Title*
Wed 01/11/2017 18:03:43
Quote from: Ben X on Wed 01/11/2017 17:31:17
Don't be stupid, Snarky. That was the tv series, not a movie.

Of course I meant Revenge of the Planet of the Apes.
#1090
The Rumpus Room / Re: *Guess the Movie Title*
Wed 01/11/2017 17:23:58
Hmmm, given the monkey on the left, maybe Return to the Planet of the Apes?
#1091
Site & Forum Reports / Re: Bug reports
Sun 29/10/2017 17:13:34
Can confirm it's now working. Thanks AGA!
#1092
Site & Forum Reports / Re: Bug reports
Thu 26/10/2017 23:12:23
Yes, I checked spam, and they're not there.
#1093
Site & Forum Reports / Re: Bug reports
Wed 25/10/2017 22:44:23
It seems email notifications are broken. I've not been getting notifications either for PMs or moderator alerts recently.
#1094
The Rumpus Room / Re: *Guess the Movie Title*
Thu 19/10/2017 20:51:44
Spot on.
#1096
The Rumpus Room / Re: *Guess the Movie Title*
Thu 19/10/2017 11:36:44
Quote from: HanaIndiana on Wed 18/10/2017 23:02:32
How do you not remember that scene Snarky!? :shocked:

*shrug*
It's been a while since I watched it, I guess?

None of the ones so far.

#1097
The Rumpus Room / Re: *Guess the Movie Title*
Wed 18/10/2017 14:09:10
No, that was my cunning trap.
#1098
The Rumpus Room / Re: *Guess the Movie Title*
Wed 18/10/2017 13:22:59
My memory is pretty spotty.

#1099
The Rumpus Room / Re: *Guess the Movie Title*
Tue 17/10/2017 20:45:51
Ex Machina? I don't remember the scene, though.
#1100
The Rumpus Room / Re: *Guess the Movie Title*
Tue 17/10/2017 17:12:54
Twilight?
SMF spam blocked by CleanTalk