🟩GraphicUI

Adds elements to the screen like special effect bars. This control is not changed by zoom.

New controller added.

Required parameters:

none

Optional parameters:

value = anim_no (int)

Specifies the animation number (from fightfx) of the animation to play. Defaults to 0.

under = under_flag (int)

If under_flag is 1, the animation is drawn behind the character sprites. Defaults to 0 (draw over characters).

pos = x_pos, y_pos (float)

Specifies the position to display the animation at, relative to the player axis. Defaults to 0,0.

random = rand_amt (int)

The position of the animation will be displaced in the x and y directions by (different) random amounts. The displacement can be as large as half of rand_amt. Defaults to 0.

Last updated