Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: ManicMatt on Mon 12/01/2015 23:38:06

Title: Weird glitch with dialogue skipping itself??
Post by: ManicMatt on Mon 12/01/2015 23:38:06
What the hell?!!

I was walking back and forth testing a hotspot when running the game within the program. Then clicked look at an object and the line the EGO would say disappeared as soon as it appeared. Then I tried clicking on other things and talking to a character, it all skipped by really fast. I've never seen it do this before but I am concerned. Any theories? It was almost like as if I was clicking to skip it when I wasn't. I'm using a windows 8 laptop if that's relevant. I've been working on my game since the start of January with the latest version of AGS, and the game itself is from an older version. I've been testing it loads and never had that happen.

Thanks
Title: Re: Weird glitch with dialogue skipping itself??
Post by: NickyNyce on Tue 13/01/2015 12:06:14
I have no clue why this would happen, but maybe you can try a test.

try putting this in before or after fade in and see what happens.

Code (ags) Select
Game.TextReadingSpeed = 7; Change the number 7 to adjust the speed that the dialog should stay on screen
Title: Re: Weird glitch with dialogue skipping itself??
Post by: ManicMatt on Sun 18/01/2015 22:20:42
Sorry, I somehow forgot I even put this post up! Well, if I did this, how would I know it's worked when it's only happened once? Unless you think it will safeguard against it? Thanks though!
Title: Re: Weird glitch with dialogue skipping itself??
Post by: monkey0506 on Sun 18/01/2015 22:53:37
You might also want to take a look at Game.MinimumTextDisplayTimeMs (http://www.adventuregamestudio.co.uk/manual/ags56.htm#game.minimumtextdisplaytimems) and Game.IgnoreUserInputAfterTextTimeoutMs (http://www.adventuregamestudio.co.uk/manual/ags56.htm#game.ignoreuserinputaftertexttimeoutms), which I believe are both new since you were last around here Matt. Dunno if it's definitely related, but at the very least it should safe-guard against it happening.

As to why it actually happened, you didn't have any keys stuck on your keyboard or anything perchance, did you?
Title: Re: Weird glitch with dialogue skipping itself??
Post by: ManicMatt on Sun 18/01/2015 23:29:11
Hey Monkey 'ol pal!

I'll definitely look into those two, thanks! I sure hope no keys were stuck - My laptop is less than a year old!

EDIT: That second function is just great anyway, I've done that before in games!
Title: Re: Weird glitch with dialogue skipping itself??
Post by: monkey0506 on Mon 19/01/2015 07:01:34
Yeah, I don't know that a stuck key is necessarily likely, but I was just trying to think of some reason for the behavior you experienced. If it becomes a persistent problem (especially one you can replicate :P) then you know where to find us! ;)

P.S. Nice to see you 'round these parts again!
Title: Re: Weird glitch with dialogue skipping itself??
Post by: ManicMatt on Tue 20/01/2015 22:55:01
I have been facebook brainwashed.. I was looking for the 'like' button... you mean I have to type something to acknowledge I read what you typed? That is SO 2004! ;)
Title: Re: Weird glitch with dialogue skipping itself??
Post by: Dualnames on Wed 21/01/2015 11:23:39
Like means to clicked on like, how do we know you didn't accidentally hit the like button and then felt awkward to de-like it?
Title: Re: Weird glitch with dialogue skipping itself??
Post by: ThreeOhFour on Wed 21/01/2015 11:27:07
I think this can sometimes happen if you alt+tab out of AGS or change to another window and then go back to it again, but I'm not sure if it's still an issue or not. I might be wrong, but it's a thought!