add munch and start of 2st props

This commit is contained in:
KawaiiZenbo 2025-04-09 14:13:34 -07:00
parent 16b7d5e8d5
commit 514125005b
29 changed files with 541 additions and 45 deletions

29
Scripts/GL_MiscKeys.gd Normal file
View file

@ -0,0 +1,29 @@
extends GL_Node
func _ready():
super._ready()
_set_title("Keystrokes")
_create_row("Shift",null,false,false,0.0,1)
_create_row("Control",null,false,false,0.0,1)
_create_row("Alt",null,false,false,0.0,1)
_create_row("Space",null,false,false,0.0,1)
_create_row("Enter",null,false,false,0.0,1)
_create_row("Backspace",null,false,false,0.0,1)
_update_visuals()
func _process(delta):
super._process(delta)
var key_map = {
"Shift": KEY_SHIFT,
"Control": KEY_CTRL,
"Alt": KEY_ALT,
"Space": KEY_SPACE,
"Enter": KEY_ENTER,
"Backspace": KEY_BACKSPACE,
}
for key_name in key_map.keys():
var is_pressed = Input.is_key_pressed(key_map[key_name]) or Input.is_key_pressed(key_map[key_name] + (KEY_KP_0 - KEY_0))
rows[key_name]["output"] = is_pressed
_send_input(key_name)

View file

@ -0,0 +1 @@
uid://bj0lla8757tnh

View file

@ -3,11 +3,13 @@ extends Control
var rows : Dictionary = {
"CyberChuck":1,
"CyberHelen":1,
"CyberMunch":1,
"Bool":1,
"Color":1,
"Float":1,
"Invert":1,
"Keystrokes":1,
"MiscKeys":1,
"NumberKeys":1,
"Keystroke Ramp":1,
"Lerp":1,
"Mix Colors":1,