Document Category Item: Tutorial > Setting up to 8 prop!Back
Setting up to 8 prop!
Description

Set this variable with "prop_id" from 1 to 8 to show a character on screen.

Leave this variable empty if you do not wish for any prop on screen!

For "position_id": 1 to 56, place the sprite in a default position, at line number 2678 in "visualnovelengine.agc"

1 for center.
2 to 3 for 2x no center space spread
4 to 6 for 3x no center space spread
7 to 10 for 4x no center space spread
11 to 15 for 5x no center space spread
16 to 21 for 6x no center space spread
22 to 28 for 7x no center space spread
29 to 36 for 8x no center space spread
37 to 44 for 8x spread with center space
45 to 50 for 6x spread with center space
51 to 54 for 4x spread with center space
55 to 56 for 2x spread with center space

You need not use the position__id above, just set it to 0 and specific a custom location using "position_x#" and "position_y#".

NOTE: vne_set_prop() must be set per branch and page if the prop appeared in them! "image_id" and "filename$" is also use for atlas sprite animation for type 2 in "vne_set_prop_sprite_animation()"!

Definition

vne_set_prop(branchID, page, prop_id, image_id, filename$, flipped_x, flipped_y, position_id, position_x#, position_y#, size_x#, size_y#, depth_offset)

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)/