(solved) Set y coordinate for Sierra-style portraits

Started by Radiant, Thu 06/06/2013 16:56:40

Previous topic - Next topic

Radiant

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.

Crimson Wizard

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?

Radiant

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.

Crimson Wizard

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)?

Radiant



SMF spam blocked by CleanTalk