beautypg.com

Sample effectscripts, Zoom in, Zoom out – Apple LiveType 2 User Manual

Page 140

background image

140

Appendix B

Creating and Editing EffectScripts

Sample EffectScripts

You can view an EffectScript simply by opening one of the effect files stored in the
/Library/Application Support/LiveType/Effects folder of your hard drive. Some simple
EffectScripts follow:

Zoom In

EffectScript 1.0

--------------------------------------------------------------------

-- "Zoom In" example

Name "Zoom In"

Desc "Zoom In each glyph linearly from zero to normal from its anchor point.

Simultaneously increase the kerning from zero to normal."

DefOffset 0 % Start

DefSequence 0 0 L

DefRandStart 0 0 %

DefLoop 1

DefSpeed 100

Time 0.0

Tracking -100 -- -100% tracking, means zero tracking.

Scale 0 0 -- 0% scale

Time 2.0

Tracking 0 -- 0% tracking, means normal.

Scale 100 100 -- 100% scale.

--------------------------------------------------------------------

Zoom Out

EffectScript 1.0

--------------------------------------------------------------------

-- "Zoom Out" example

Name "Zoom Out"

Desc "Zoom Out each glyph linearly from normal to zero from its anchor point.

Simultaneously decrease the kerning from normal to zero."

DefOffset 0 % End

DefSequence 0 0 L

DefRandStart 0 0 %

DefLoop 1

DefSpeed 105

Time 0.0

Tracking 0

Scale 100 100

Time 2.0

Tracking -100

Scale 0 0

--------------------------------------------------------------------