VNgen includes a number of transition, transform, and deform animations out of the box which can be used in your own projects or as templates for custom animation scripts. These animations will scale to any size sprite without modification.
Animations and deformations can be applied to VNgen entities via vngen_*_anim_start
and vngen_*_deform_start
scripts, respectively, while transitions are applied with vngen_*_create
and vngen_*_destroy
scripts instead.
Transitions#
Animation | Description |
---|
trans_fade | A simple fade in |
trans_zoom_in | A zoom in from 0x original size |
trans_zoom_out | A zoom out from 2x original size |
trans_slide_up | A fade/slide up based on the height of the animated entity |
trans_slide_down | A fade/slide down based on the height of the animated entity |
trans_slide_left | A fade/slide left based on the width of the animated entity |
trans_slide_right | A fade/slide right based on the width of the animated entity |
trans_spin_in | A spin/scale in from 0x original size |
trans_spin_out | A spin/scale out from 2x original size |
trans_wipe_up | A linear wipe up, cropping the entity until fully visible |
trans_wipe_down | A linear wipe down, cropping the entity until fully visible |
trans_wipe_left | A linear wipe left, cropping the entity until fully visible |
trans_wipe_right | A linear wipe right, cropping the entity until fully visible |
Transforms#
Animation | Description |
---|
anim_bob | A subtle back-and-forth rotation |
anim_bounce | A quick jump up and down |
anim_shake | A simple slide left and right |
anim_quake | A simple slide up and down |
anim_wiggle | A repeated slide left and right of increasing, then decreasing intensity |
anim_wobble | A repeated slide up and down of increasing, then decreasing intensity |
anim_impact | A quick zoom-in coupled with horizontal and vertical slides while zooming back out |
anim_squish | A cartoonish vertical stretch followed by a horizontal stretch before returning to normal |
anim_flash | A quick fade out and back in |
anim_siren | A red, blue color cycle simulating spinning police sirens |
anim_alarm | A circular red color cycle simulating spinning indoor alarm lights |
Deforms#
Animation | Description |
---|
def_breathe | A subtle top-right corner tilt to simulate breathing |
def_sweep | A subtle bottom-right corner slant to simulate soft body movement |
def_wave | A sine wave distortion to simulate liquid |