Adventure Game Studio

AGS Development => Engine Development => Topic started by: Radiant on Thu 06/06/2013 16:56:40

Title: (solved) Set y coordinate for Sierra-style portraits
Post by: Radiant on Thu 06/06/2013 16:56:40
As far as I can tell, currently a Sierra-style portrait is displayed at fixed coordinates hard-coded into the engine. Would it be possible to make those settable by the user? My portraits are rather big so the default coordinate make them clip off the bottom of the screen, I would like to move them up.
Title: Re: Set y coordinate for Sierra-style portraits
Post by: Crimson Wizard on Thu 06/06/2013 17:30:15
Ideally there should be a customizable "speech style" item on project, but since there's none, what would be a good design for a quick fix?
A global setting, a script command, any ideas?
Title: Re: Set y coordinate for Sierra-style portraits
Post by: Radiant on Thu 06/06/2013 17:34:50
In my opinion, a variable like game.speech_portrait_y, game.speech_portrait_left_x and game.speech_portrait_right_x would be sufficient. A programmer would be likely to set those once during game_start () and never touch them again.
Title: Re: Set y coordinate for Sierra-style portraits
Post by: Crimson Wizard on Mon 10/06/2013 20:04:47
I've been thinking, perhaps the X coord for the right portrait should define the offset from the right screen side instead of offset from 0? Otherwise you'll have to calculate it depending on speech view width.
Also, will it suffice to have a single variable for X position (as offset from relative side)?
Title: Re: Set y coordinate for Sierra-style portraits
Post by: Radiant on Tue 11/06/2013 08:44:24
Yes, that would suffice.
Title: Re: Set y coordinate for Sierra-style portraits
Post by: Crimson Wizard on Wed 12/06/2013 12:00:45
It's coming to the next 3.3.0 beta update :)

[imgzoom]http://img32.imageshack.us/img32/9201/testspeechportraitcusto.png[/imgzoom]