Text in a parchment
Blitz3D Forums/Blitz3D Programming/Text in a parchment
| ||
Good morning Can I realize a text in which the letters appear as if they were writing each other? Thanks |
| ||
Yes, but you'd have to write it yourself. You'll need to design a font (probably out of biezer curves) for each letter and character. Then write a little routine that draws each pixel of the biezers in turn. I would suggest the best way would be to have a new function that would be something like. function parchmenttext(x,y,words$,completion#) completion would be from 0 - 1 The function would calculate how many pixels are in the curves for words$ and so you can draw the whole thing instantly or as slowly as you like, also it means you can update stuff in the background. |
| ||
Thanks, but i'dont undestand. Can you send me a example with it,please? With a letter, thanks |
| ||
No, I can't because I can't be arsed to write code for you. What don't you understand? |
| ||
I don't undestand : "You'll need to design a font (probably out of biezer curves)" Thanks, regards. |
| ||
Why not use a reveal technique instead. Have the parchment on one layer. Have the text on a second layer Reveal the second layer using some kind of mask The kind of thing I imagine would be like the texture painter in ALE. OR make an anim gif in photoshop/fireworks rub out backwards saving each frame as a separate frame then play them in reverse to get it writing. Or Do what Rob said. IPete2. |
| ||
make an anim gif in photoshop/fireworks rub out backwards saving each frame as a separate frame then play them in reverse to get it writing. That would be the simplest way I reckon |
| ||
Hi Folks, What about parchment coloured blobs over the writing and have a path defined for removal. Probably be best to define the path for each letter then you don't have to define path for the entire text. Does that make sense? Later, Jes |
| ||
Hmm I guess it depends on if this is for a one-off single phrase, or as a sort of function to cope with any text multiple times ... |
| ||
I thought of a way... two images exactly the same. BOTTOM is simple picture of parchment... TOP is SAME but has 0,0,0 words... that way they can be alphaed out... put TOP over BOTTOM and gradually fade the Bottom to almost black!!! Letters appear (sorry all at once) like magic. Or use LEFT... look in your command reference! You can plop the letters one at a time with that! |