Scaling images

  • #1, by gustyThursday, 27. March 2014, 01:30 10 years ago
    I'm looking for a way how to scale the image (not background one, just a regular scene object) with the animation inside the VS. I have one with dimensions 960x540 and I want double size it on 1920x1080.

    Forum Fan

    159 Posts


  • #2, by afrlmeThursday, 27. March 2014, 01:47 10 years ago
    The animation has to be active; as in playing on current scene, or already preloaded. You can then access & change the animation size like so...
    getObject("ActiveAnimations[animation_name]"):setValue(VAnimationSize, 200)
    

    Imperator

    7278 Posts

  • #3, by gustyThursday, 27. March 2014, 10:48 10 years ago
    It works, thanks.

    Forum Fan

    159 Posts

  • #4, by afrlmeThursday, 27. March 2014, 12:46 10 years ago
    no problem smile

    Imperator

    7278 Posts