Font changes in same window?

Started by Sinister, Fri 02/06/2006 17:51:36

Previous topic - Next topic

Sinister

Ok, i dont know if this has been asked before, but i did look it up before asking and found no topics regarding this.

Is it possible to have the first Letter in the text window, done in another font and another color?

Example:

"The kid was nice fellow.." where "T" is a larger font and red. The rest is just normal font.

I know it can be done, but i dont know how. And I hope someone knows a practical way of applying this to all the text windows (display text/ not speech)..

Khris

Quote from: Sinister on Fri 02/06/2006 17:51:36I know it can be done, but i dont know how.
Did you see this in another game? Then that person was probably using premade sprites rather than text windows.
Since Display()-strings are "text only" and there aren't any tags or the like for changing font/color in-text in AGS, I highly doubt this is possible using Display();


Sinister


Yes, I have seen it. And yes.. it was in the text window. And it was like that for all text messages, obviously using "Display". This was not the case with dialogue however.

He might be using a sprite like you said, and incorporating it to the text GUI.. then changing the sprite and make it the first letter of each message. But it seems like a lot of work for such a rather.. small detail.

The font had not only color, but it infact had two colors.. then normal text. If you look at the Kq5 or Kq6 windows.. you'll know what I'm talking about.

And I'm just very puzzled..

NOTE: This would be a very nice adition to the next AGS version.

Kweepa

Quote from: Sinister on Sat 03/06/2006 04:37:30
And it was like that for all text messages, obviously using "Display".
Don't jump to conclusions. It may seem like Display, but that proves nothing.

Quote
He might be using a sprite like you said, and incorporating it to the text GUI.. then changing the sprite and make it the first letter of each message. But it seems like a lot of work for such a rather.. small detail.
Well, you noticed it, so it was worth it. No?

Quote
The font had not only color, but it infact had two colors..
Since that's not possible with normal fonts, that pretty much proves it's a sprite.

Quote
And I'm just very puzzled..
Why? You have the solution. Never underestimate the work some people are prepared to do to get exactly what they want.

Quote
NOTE: This would be a very nice adition to the next AGS version.
Or make a nice module.
Still waiting for Purity of the Surf II

Sinister

#5
you're absolutly right.

I just got struck by lightning, and I know how to do this and make a great module.

SSH

Save yourself some effort and add the multi-font capability to my SpriteFont module
12

SMF spam blocked by CleanTalk