VNgen includes a number of effects out of the box which can be used in your own projects or as templates for custom effect scripts. Where applicable, these effects will scale to any resolution and framerate without modification.
Effects can be performed with vngen_effect_start
.
Dualshock#
Effect | Description |
---|
ef_lightbar_flash | Flashes the Dualshock 4 lightbar from bright to dim (Playstation 4 only) |
Haptics#
Effect | Description |
---|
ef_hap_heartbeat | Vibrates compatible gamepads with a heartbeat pattern |
ef_hap_phone | Vibrates compatible gamepads with a phone ringer pattern |
ef_hap_pulse | Vibrates compatible gamepads with a brief pulse |
ef_hap_ramp | Vibrates compatible gamepads from subtle to strong |
ef_hap_sustain | Vibrates compatible gamepads persistently until stopped |
Visual#
Effect | Description |
---|
ef_scrn_flash | Flashes the screen with the current color set by draw_set_color |
ef_scrn_shake | Shakes the game window itself (does not apply in fullscreen) |