LVNAuth Tutorials - Scaling sprites

Scaling animation

There are a number of simple animations that can be done with sprites/images in LVNAuth and one of those types is scaling.

Scaling means making a sprite bigger or smaller.

Let's say you have a character sprite named theo. Here is an example on how to do a scaling animation by making the character twice as big.

<character_start_scaling: theo, 1500, 2>

Here are the explanations for each of the parameters in the line above:


Theo is the alias of my character.
1500 is the scaling speed. To make the scaling animation slower, decrease this number. To make it faster, increase this number.
2 is the destination scale; when to stop scaling. Here we're telling it stop scaling when it's twice the size of the original (double the size). If I change it to 3, it means to stop scaling when it's 3 times the size.

Sprites need to be visible

It's important to note that a sprite has to be visible before it can be scaled.

Use <character_show> or <object_show> or <dialog_sprite_show> to make a sprite visible.

For example:

<object_show: fan>

Scale other types of sprites

Aside from character sprites, you can also scale objects and dialogue sprites.

Wizard

All the commands for scaling animations are available by clicking the Wizard button in LVNAuth.

Last updated: Tue 07 July 2026