Document Category Item: Tutorial > Basic Background Animation!Back
Basic Background Animation!
Description

It is possible to move, rotate and resize background.

First is to enable basic background animation.

Example:
vne_set_bg_animation_setting(1, 3, 1, 1, 1)

Then program a sequence.

Example:
vne_set_bg_animation(1, 3, 1, -100, -100, 100, 100, 0, 0, 0, 2020, 1180, 100, 100)
vne_set_bg_animation(1, 3, 2, -750, -750, 1000, 1000, 0, 0, 0, 3000, 3000, 1000, 1100)

 

If there is a animation loop, "animation_loop_start" can be use to loop a higher sequence.

For example, you have the background explode and then loop the idle frame.

 

NOTE: Basic and Advance Animation can be use at the same time!

Definition

vne_set_bg_animation_setting(branchID, page, has_animation_loop, animation_loop_start, has_animation_continuation)

vne_set_bg_animation(branchID, page, animation_sequence, move_to_x#, move_to_y#, speed_x#, speed_y#, rotation_to_angle, rotation_direction, rotation_speed#, size_x#, size_y#, size_x_speed#, size_y_speed#)

Due to a Cookie law, We are required to notify you that our site is using Cookie(s).
Cookie(s) allow us to provide site services in order to serve you!
You may view our Privacy Policy @ https://visualnovelengine.com/Privacy-Policy/
You may view our Term of Service(s) @ https://visualnovelengine.com/Term of Service(s)/