Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Chernsha on Wed 03/12/2008 13:02:51

Title: How to draw all string text by myself?
Post by: Chernsha on Wed 03/12/2008 13:02:51
Would it be possible for me to draw all string text by myself (include GUI string text)?
Can AGS add the pointer parameter at AGS Plugin API:AGSE_TRANSLATETEXT funtion,
so that let me get the x,y,color,total width and total height of the string text that will be draw at screen?
thanks~~
Title: Re: How to draw all string text by myself?
Post by: Pumaman on Wed 03/12/2008 20:10:57
Can you clarify what you mean?

Are you talking about writing a plugin that can provide its own way of drawing text, instead of using the built-in AGS font renderer?

Or are you talking about scripting something in the game?

You need to be clearer about what exactly you are asking for.
Title: Re: How to draw all string text by myself?
Post by: Chernsha on Thu 04/12/2008 12:42:29
Dear Pumaman,
Yes,I wish to writing a plugin that can provide its own way of drawing text, instead of using the built-in AGS font renderer.

thx~~:)

Are you talking about writing a plugin that can provide its own way of drawing text, instead of using the built-in AGS font renderer?

Or are you talking about scripting something in the game?

You need to be clearer about what exactly you are asking for.

[/quote]
Title: Re: How to draw all string text by myself?
Post by: Pumaman on Wed 21/01/2009 22:27:26
This has been added to 3.1.2 RC 2, please let me know how you get on.

See the ReplaceFontRenderer command on the plugin API page (http://www.adventuregamestudio.co.uk/acplugin.htm) for details.
Title: Re: How to draw all string text by myself?
Post by: Chernsha on Thu 22/01/2009 16:52:34
Quote from: Pumaman on Wed 21/01/2009 22:27:26
This has been added to 3.1.2 RC 2, please let me know how you get on.

See the ReplaceFontRenderer command on the plugin API page (http://www.adventuregamestudio.co.uk/acplugin.htm) for details.

I am so glad to retrieve your message.
thx for new plugin API, I will try and research it.
thx~~