-
Notifications
You must be signed in to change notification settings - Fork 0
game::terminal
Paweł Waligóra edited this page Jun 17, 2024
·
3 revisions
In game terminal for cheats, tests and easier debugging.
-
f3
- toggle debug mode on and off -
/
in debug mode to toggle terminal on and off - when terminal is on you can type a command
-
enter
- run command -
backspace
- works as usual backspace -
ctrl
+backspace
- erase whole line
-
print
<what to print>
- prints<what to print>
on terminal console -
load
<scene name>
- load scene - see: scene_loader::load_scene() -
unload
<scene name>
- unloads scene - see: scene_loader::un_load_scene() -
reset
- moves player to coordinates: <0, 3, 0> -
clear
- clears terminal console -
heal
<name of an entity>
- heals an game::entity of name:<name of an entity>
to it's full hp
Modify game::debugger::commands
located in: debugger.cpp
. Don't forget to update this page with command documentation.
- engine
- scripts_system
- scene_loader
- time_system
-
input_system
- input_system::key_held
- input_system::key_events
- input_system::subscribe() (deprecated)
- input_system::axis_state()
- input_system::key_bind
- input_system::axis
- input_system::double_axis
- input_system::triple_axis
- input_system::axis2
- input_system::double_axis2
- input_system::triple_axis2
- input_system::axis-choice
- renderer
- physics
- ui_system
- game