Page 149
Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>


Creating Transition Control Files


Here we have a TCF (Transition Control File) that simulates vertical blinds closing. This script is small enough to fit inside of WinImages F/x's quick edit window.

Here is how it would be coded:


; v-blinds transition
; Any line that begins with a semicolon are "comments" and
; will not be processes by the transition generator

initxy 0.0 0.0 ;you can also put comments on the end of a line

repeats 10 1 ;note that parameters are separated by spaces

offsets 0.1 0.0

xscales 0.0 1.0
yscales 1.0 1.0

rotate 0 0

line 0.0 0.0 0.0 1.0
line 0.0 1.0 0.1 1.0
line 0.1 1.0 0.1 0.0
line 0.1 0.0 0.0 0.0
; This code was used, as shown here, to create the animation above


To explain:

Key:

defintions...
You must keep in mind that all measurements are relative values from 0 to 1. 0 being 0% of the width/height of the action image, 1 being 100%.

line 0.0 0.0 1.0 1.0

would make a line from the top left to the bottom right.

initxy 0.0 0.0

repeats 10 1 offsets 0.1 0.0 xscales 0.0 1.0
yscales 1.0 1.0
rotate 0 0 line 0.0 0.0 0.0 1.0
line 0.0 1.0 0.1 1.0
line 0.1 1.0 0.1 0.0
line 0.1 0.0 0.0 0.0
More examples


Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>
Page 149

WinImages F/x, WinImages Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions

WinImages F/x Manual Version 7, Revision 5, Level B

HTML Documentation Management System © 1992-2007 Black Belt Systems