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 dialogue 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 <dialogue_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.

How to stop a movement

With the move command above, the sprite will keep moving and won't stop until we give it one or more stop conditions.

Here is a stop condition that will stop moving the sprite once the right side of the sprite reaches the end of the display (the right side of the display).

<character_stop_movement_condition: theo, right, end of display>

Here is another stop condition that will stop moving the sprite once the bottom of the sprite has reached 55 pixels.

<character_stop_movement_condition: theo, bottom, 55>

If you specify more than one stop condition, the sprite will stop moving after all the stop conditions have been satisfied.

Move a sprite to specific X/Y coordinates

<character_start_moving_to: theo, 150, 350, 100>

The command above will move the sprite to destination points: 150 (X) and 350 (Y). The sprite will stop moving automatically once it reaches the destination coordinates. In the example above, the value 100 refers to the speed of the movement.

Move other types of sprites

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

Wizard

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

Last updated: Thu 23 July 2026