LVNAuth Tutorials - Moving sprites

Moving animation

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

It's possible to apply a movement animation to character sprites, objects, or dialog sprites. It's also possible to adjust the speed.

Sprites can be moved horizontally, vertically, or diagonally.

One way movements can be useful is when you want to introduce a character. For example, you can have your character move from left to right and then have it stop, before it starts to talk.

Let's say you have a character named Theo. Here is an example on how to move the character's image/sprite from left to right and then have it stop at a specific location:

<character_set_position_x: theo, before start of display>
<character_set_position_y: theo, bottom of display>
<character_stop_movement_condition: theo, left, 100>
<character_start_moving: theo, 160, right, 0, up>

Here are the explanations for each of the lines above:

<character_set_position_x: theo, before start of display>
We're setting the horizontal position of the character's image to before the left side of the visual novel. This means that the character's image will be invisible because it won't be within the boundries of the visual novel's display. The plan is to move the character from left to right, so with this command we're setting up the initial position to prepare it for a movement animation.


<character_set_position_y: theo, bottom of display>
We're setting the initial vertical position of the character's image. This will make the bottom of the image be at the bottom of the visual novel.

<character_stop_movement_condition: theo, left, 100>
This will cause the character's image to stop moving when the left side of the image reaches position X of 100. Without this command, the character will keep moving towards the right, without stopping. It will even continue beyond the visual novel's display. So we need to have this command to make the movement animation eventually stop where we want.


<character_start_moving: theo, 160, right, 0, up>
We're starting the movement animation by moving the character's image towards the right with a speed of 160. Increase this number to make the movement faster or decrease it to make it move slower.


Sprites need to be visible

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

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

For example:
<character_show: theo>

Diagonal movement

Here is a quick example that shows how to configure a diagonal movement animation.

<character_move: theo, 160, right, 170, up>
This will configure the animation to move right at a speed of 160 up at a speed of 170.

Move other types of sprites

Aside from character sprites, you can also move objects and dialog sprites.

Wizard

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

Last updated: Fri 02 January 2026