Included Console Commands
VNgen includes a number of console commands out of the box which can be used to test and debug your projects in real-time. QCMD commands are written externally and defined in a command database as string/script pairs.
Commands can be performed in QCMD by inputting the command string, which will in turn execute the command script according to the table below.
Command | Script | Description |
---|---|---|
!! | cmd_firework() | Celebrates the little victories with you |
exit | cmd_exit() | Closes the QCMD console |
game_end | cmd_game_end() | Closes the game itself |
game_restart | cmd_game_restart() | Restarts the game itself |
help | cmd_help() | Displays a sortable list of console commands in the default web browser |
localhelp | cmd_localhelp() | Displays a list of console commands in a dialog window |
room_goto | cmd_vngen_room_goto(room) | Same as vngen_room_goto , but in standard GameMaker syntax |
show_debug_helpers | cmd_show_debug_helpers([enable]) | Enables or disables displaying perspective statistics and wireframes around active deforms, text links, and more |
show_debug_overlay | cmd_show_debug_overlay(enable) | Enables or disables displaying live performance statistics |
show_debug_stats | cmd_show_debug_stats([enable]) | Enables or disables displaying VNgen-specific statistics |
vngen_file_save | cmd_vngen_file_save(filename, [encrypt]) | Saves the current VNgen state to a file on the hard drive with optional encryption (enabled by default) |
vngen_file_load | cmd_vngen_file_load(filename) | Restores the VNgen state from a previous save file |
vngen_file_delete | cmd_vngen_file_delete(filename) | Permanently erases a previous VNgen save file |
vngen_goto | cmd_vngen_goto(event, [object], [perform]) | Jumps to the specified VNgen event, optionally switching to the target object, if specified. |
vngen_goto_unread | cmd_vngen_goto_unread([perform]) | Jumps to the next option block or unread event |
vngen_log_clear | cmd_vngen_log_clear([destroy]) | Clears all entries from the backlog, optionally destroying the log object (disabled by default) |
vngen_room_goto | cmd_vngen_room_goto(room, [event, object], [perform]) | Jumps to the specified room, clearing VNgen data from memory |
vngen_set_lang | cmd_vngen_set_lang(lang, type) | Sets the text or audio language to the specified language flag |
vngen_get_lang | cmd_vngen_get_lang(type) | Displays the current text or audio language flag |
vngen_set_renderlevel | cmd_vngen_set_renderlevel(level) | Sets renderlevel, where 0 is default |
vngen_set_scale | cmd_vngen_set_scale(view) | Sets a viewport to scale to window dimensions |
vngen_set_speed | cmd_vngen_set_speed(speed) | Sets the text typewriter effect speed |
vngen_set_vol | cmd_vngen_set_vol(type, vol, [fade]) | Sets the global volume offset for a particular type of sound (use keyword all for all types) |
vngen_version | cmd_vngen_version | Displays the current VNgen version and build date |
window_set_fullscreen | cmd_window_set_fullscreen(full) | Enables or disables fullscreen mode |