LVNAuth 1.6 released

Movement animation update

In this update, it's much easier to move a sprite where you want, without having to be concerned about its current position.

Now you can do this:

<character_start_moving_to: theo, 300, 560, 100>

The example above will move the sprite alias, theo, to X of 500 and Y of 560, with a speed of 100. The sprite will travel in a straight line to its destination and it will stop automatically when it's there.

In the past, you had to do this (which is still possible to do):

<character_start_moving: theo, 20, left, 5, up>
<character_stop_movement_condition: theo, left, 300>
<character_stop_movement_condition: theo, top, 560>


The first command means to move the sprite alias, theo, 20 pixels to the left, 5 pixels up, continuously, until its left reaches 300 pixels and its top reaches 560 pixels.

So the first (new) method is much easier for moving sprites, in version 1.6.

Lists

Version 1.6 introduces a new feature named lists.

Several new commands have been added for dealing with lists.

A list is used for storing and retrieving multiple rows of data.

You can create a list of data and then later retrieve that data, either sequentially or randomly.

Here's an example:

<list_add: my list, 50, 3902, 839>
<list_get_random: my list, chosen_number>
The random value from the list is ($chosen_number)

The example above created a new list named: my list
I added 3 sets of numbers to the list: 50 and 3902 and 839 So the list ended up with 3 items.

The second line (<list_get_random>) randomly retrieved one of the items from the list and stored it into a new variable named: chosen_number

Then I showed the variable's value in a character's dialogue text.

There are other list related commands that have been introduced in this version. The full list of commands for lists are:

<list_add>
<list_delete>
<list_take_first>
<list_take_last>
<list_take_random>
<list_get_random>

There are some other changes in this version. Visit the download page to get version 1.6 or to read the full release notes.