PDA

View Full Version : How to make titles


Medusar
10th August 2006, 22:34
I am trying to make some titles at the end of my film with Avisynth. I have made something based on the "Autors" example script, but I want something with two text columns.

This is my current script:

ovText = "Text for column 1"+chr(13)+
\ "Text for column 2"+chr(13)+
\ ""

BlankClip(length=1750, width=1024, height=576, fps=25, color=$000000)

t_mask = messageclip(ovText)
t_blank = blankclip(t_mask, color=$ffffff)

overlay(t_blank, mask=t_mask)

frameevaluate("ol_x_offset = 275")
frameevaluate("ol_y_offset = 580 - (current_frame)")
Is there a way to make two columns of text?

stickboy
11th August 2006, 00:14
Sure. Create two MessageClips of half the width and use StackHorizontal.

Medusar
11th August 2006, 09:37
Thanks. Why haven`t I thought about that myself?

Is there also a way of aligning the text to the left/right?