Skip to main content

Included Animations

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#

AnimationDescription
trans_fadeA simple fade in
trans_zoom_inA zoom in from 0x original size
trans_zoom_outA zoom out from 2x original size
trans_slide_upA fade/slide up based on the height of the animated entity
trans_slide_downA fade/slide down based on the height of the animated entity
trans_slide_leftA fade/slide left based on the width of the animated entity
trans_slide_rightA fade/slide right based on the width of the animated entity
trans_spin_inA spin/scale in from 0x original size
trans_spin_outA spin/scale out from 2x original size
trans_wipe_upA linear wipe up, cropping the entity until fully visible
trans_wipe_downA linear wipe down, cropping the entity until fully visible
trans_wipe_leftA linear wipe left, cropping the entity until fully visible
trans_wipe_rightA linear wipe right, cropping the entity until fully visible

Transforms#

AnimationDescription
anim_bobA subtle back-and-forth rotation
anim_bounceA quick jump up and down
anim_shakeA simple slide left and right
anim_quakeA simple slide up and down
anim_wiggleA repeated slide left and right of increasing, then decreasing intensity
anim_wobbleA repeated slide up and down of increasing, then decreasing intensity
anim_impactA quick zoom-in coupled with horizontal and vertical slides while zooming back out
anim_squishA cartoonish vertical stretch followed by a horizontal stretch before returning to normal
anim_flashA quick fade out and back in
anim_sirenA red, blue color cycle simulating spinning police sirens
anim_alarmA circular red color cycle simulating spinning indoor alarm lights

Deforms#

AnimationDescription
def_breatheA subtle top-right corner tilt to simulate breathing
def_sweepA subtle bottom-right corner slant to simulate soft body movement
def_waveA sine wave distortion to simulate liquid