Menu
Login
Language
DE EN FR ES IT CZ
Back

Scaling images

  • #1, by gusty Thursday, 27. March 2014, 01:30 12 years ago Quote
    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 afrlme Thursday, 27. March 2014, 01:47 12 years ago Quote
    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

    7290 Posts

  • #3, by gusty Thursday, 27. March 2014, 10:48 12 years ago Quote
    It works, thanks.

    Forum Fan

    159 Posts

  • #4, by afrlme Thursday, 27. March 2014, 12:46 12 years ago Quote
    no problem smile

    Imperator

    7290 Posts