Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login
EN ▾
Deutsch
English
Français
Español
Italiano
Čeština
×
Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login / Registrieren
DE
EN
FR
ES
IT
CZ
Scaling images
1
#1, by
gusty
Thursday, 27. March 2014, 01:30
12 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.
#2, by
afrlme
Thursday, 27. March 2014, 01:47
12 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)
#3, by
gusty
Thursday, 27. March 2014, 10:48
12 years ago
It works, thanks.
#4, by
afrlme
Thursday, 27. March 2014, 12:46
12 years ago
no problem
1