Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mininthebox on Mon 06/01/2025 16:51:32

Title: Having an animated sprite in the corner when a character is speaking
Post by: Mininthebox on Mon 06/01/2025 16:51:32
Hello everyone,

So like what im trying to do is that i have a playable character and when he speaks i want a bigger sprite appear of him animated in the corner. Same goes for unplayable characters. Something like the character speech view but both the speech view and normal view is visible. Is there way to do this cause ive tried to do with creating another character or making an animated gui but they havent worked so far. I hope what im trying to do is clear with this message.

Thanks!

Title: Re: Having an animated sprite in the corner when a character is speaking
Post by: Snarky on Mon 06/01/2025 17:04:51
This is basically how the Sierra-style speech works. Have you tried that?
Title: Re: Having an animated sprite in the corner when a character is speaking
Post by: Mininthebox on Tue 07/01/2025 10:36:35
Okay ah thanks! That was kind of dumb of me but is there any way to change it from top left to another place?
Title: Re: Having an animated sprite in the corner when a character is speaking
Post by: Snarky on Tue 07/01/2025 11:45:16
https://adventuregamestudio.github.io/ags-manual/Speech.html#speechcustomportraitplacement
Title: Re: Having an animated sprite in the corner when a character is speaking
Post by: Crimson Wizard on Tue 07/01/2025 12:52:50
The "custom portrait placement" that Snarky linked is a way to automate the placement.

But if above will not be enough, for a fine manual tuning there's a direct access to the portrait object:
https://adventuregamestudio.github.io/ags-manual/Speech.html#speechportraitoverlay