UFO-Scripts/Datatypes/V SHAPE BIG
< UFO-Scripts | Datatypes(Redirected from V SHAPE BIG)
Jump to navigation
Jump to search
V_SHAPE_BIG
The V_SHAPE_BIG value defines a rectangle given by the upper left corner and dimensions. A container can have several shapes that are added to the final container form.
i.e. several entries of a V_SHAPE_BIG datatype can be grouped together to create more complex masks.
shape "x y w h" shape "x y w h" ...
To position the various shapes (width x height) you need to use the first two values (x and y position).
Currently the maximum size of a container is 32 width x 16 height, please keep that in mind when assembling shapes. This means that (x+w < 32) and (y+h < 16).
Examples
shape "0 0 3 1" shape "0 1 1 1" |
|
111 2.. |
shape "1 0 3 1" shape "0 1 5 2" |
|
.111. 22222 22222 |
shape "0 0 3 1" shape "0 1 1 1" shape "2 1 1 1" |
|
111 2.3 |
You can find examples of shapes with no position (x=0, y=0) here: V_SHAPE_SMALL