Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: ArcadeBliss on July 21, 2016, 03:56:18 PM

Title: New Animation for animate module
Post by: ArcadeBliss on July 21, 2016, 03:56:18 PM
Wrote a new scale Animation that accepts width and height values. The current version based upon a scaling factor was too inaccurate for my tasks

Code: [Select]
/*
    ScaleWidthHeight will scale an image from the center based upon exact width and height information
   
    Additional pseudo properties are added for convenience:
        scale:      { w = 5000 , h = 1000}