Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: erwillie on Mon 07/10/2013 21:52:17

Title: Background disappears when Character speaks
Post by: erwillie on Mon 07/10/2013 21:52:17
Hi Everyone!

I am trying to do my first short adventure in AGS and I'm having a problem with animation during a speech.

I have a character and the player must speaks with him. I started designing the conversation and after I see that it works properly I decided to create a little animation while he speaks, but here started my problem. I created a view and made a loop. I changed SpeechView. After that I tried again my room... And when this character speaks my background changes to black,the player character  and the position of the character who is speaking goes to left edge.


I don't where the problem is and I have searched a lot in the forum but I don't find anything helpful.

Anyone can help me?

Thank you very much
Title: Re: Background disappears when Character speaks
Post by: Khris on Mon 07/10/2013 22:00:06
I'm not really sure whats happening, but I can think of two possibilities:
-either the speechview sprites aren't cropped, or their background isn't transparent, or both
-or you have set the speechstyle to "WholeScreen" in General Settings -> Dialog (though I don't know what that does exactly)

It's hard to say without looking at the game, or at least a screenshot, or any more info.
Title: Re: Background disappears when Character speaks
Post by: erwillie on Mon 07/10/2013 22:31:50
The second option is not the problem, because it is Lucasarts style. And I think is not a problem with transparency because it seems to work, but perhaps could be
I attach you two images of what is before speaking and what happening when it is speaks. Note than in the first picthe characters is in the meddle of the screen because I decided, not by error
(http://i41.tinypic.com/212cqh1.png)
(http://i43.tinypic.com/e007zm.png)

Thank you very much
Title: Re: Background disappears when Character speaks
Post by: Crimson Wizard on Mon 07/10/2013 23:24:06
Well, this looks exactly like "Whole screen" speech style.
Notice, that not only screen is black, but your character's speaking view is at the left side of the screen (that's how "Whole screen" style works).

Are you absolutely sure you don't have it set as a speech style in Global Settings?
If not, what about script? Maybe you have something like this somewhere:
Code (ags) Select

SetSpeechStyle(eSpeechFullScreen);
Title: Re: Background disappears when Character speaks
Post by: erwillie on Tue 08/10/2013 01:41:22
Yeah, it was that thing in the script, but in General Settings it was OK. I don't know how can it happenned.

Thank you very much!!