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

Binary file not shown.

View file

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://4qc8ltvuemre"
path="res://.godot/imported/munch.glb-3fb21112bd9226913869ce6387332850.scn"
[deps]
source_file="res://Models/Animatronics/CyberMunch/munch.glb"
dest_files=["res://.godot/imported/munch.glb-3fb21112bd9226913869ce6387332850.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://buwix31mk377t"
path.s3tc="res://.godot/imported/munch_asdadf.png-7902cd6e58c0c03e761ed8f9eca34bca.s3tc.ctex"
path.etc2="res://.godot/imported/munch_asdadf.png-7902cd6e58c0c03e761ed8f9eca34bca.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "375eec44c886229759469359c18d3798"
}
[deps]
source_file="res://Models/Animatronics/CyberMunch/munch_asdadf.png"
dest_files=["res://.godot/imported/munch_asdadf.png-7902cd6e58c0c03e761ed8f9eca34bca.s3tc.ctex", "res://.godot/imported/munch_asdadf.png-7902cd6e58c0c03e761ed8f9eca34bca.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dx8kgawh4di46"
path.s3tc="res://.godot/imported/munch_helen eyes.png-73eae318057de6d12c8a7600dfad9830.s3tc.ctex"
path.etc2="res://.godot/imported/munch_helen eyes.png-73eae318057de6d12c8a7600dfad9830.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "d0b9b0444a8397a9ba5575b983b1f6c7"
}
[deps]
source_file="res://Models/Animatronics/CyberMunch/munch_helen eyes.png"
dest_files=["res://.godot/imported/munch_helen eyes.png-73eae318057de6d12c8a7600dfad9830.s3tc.ctex", "res://.godot/imported/munch_helen eyes.png-73eae318057de6d12c8a7600dfad9830.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dpekixbtktr1x"
path.s3tc="res://.godot/imported/munch_mr munch low poly texture.png-9bf3400c72c7dc725bdda69904c7ff35.s3tc.ctex"
path.etc2="res://.godot/imported/munch_mr munch low poly texture.png-9bf3400c72c7dc725bdda69904c7ff35.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "6a8efbe41cd7bd00cadc4238f99f42fb"
}
[deps]
source_file="res://Models/Animatronics/CyberMunch/munch_mr munch low poly texture.png"
dest_files=["res://.godot/imported/munch_mr munch low poly texture.png-9bf3400c72c7dc725bdda69904c7ff35.s3tc.ctex", "res://.godot/imported/munch_mr munch low poly texture.png-9bf3400c72c7dc725bdda69904c7ff35.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cmh83wehnuuub"
path.s3tc="res://.godot/imported/munch_munch eyelids.png-ae08d9448261cbe991dd489f75656462.s3tc.ctex"
path.etc2="res://.godot/imported/munch_munch eyelids.png-ae08d9448261cbe991dd489f75656462.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "e0a8bf35b3fb0b094f33e2b35f4cc404"
}
[deps]
source_file="res://Models/Animatronics/CyberMunch/munch_munch eyelids.png"
dest_files=["res://.godot/imported/munch_munch eyelids.png-ae08d9448261cbe991dd489f75656462.s3tc.ctex", "res://.godot/imported/munch_munch eyelids.png-ae08d9448261cbe991dd489f75656462.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
Models/Props/keyboard.glb Normal file

Binary file not shown.

View file

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dlf6gkpsv5g05"
path="res://.godot/imported/keyboard.glb-f5a3fad12738aecf17cdd96d11376594.scn"
[deps]
source_file="res://Models/Props/keyboard.glb"
dest_files=["res://.godot/imported/keyboard.glb-f5a3fad12738aecf17cdd96d11376594.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c01geiy0g6dmx"
path.s3tc="res://.godot/imported/keyboard_keyboard.png-ad65a8e3b5f7166a3fe8022683d0345e.s3tc.ctex"
path.etc2="res://.godot/imported/keyboard_keyboard.png-ad65a8e3b5f7166a3fe8022683d0345e.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "9160dd36fe80c69c98db53d7633cd058"
}
[deps]
source_file="res://Models/Props/keyboard_keyboard.png"
dest_files=["res://.godot/imported/keyboard_keyboard.png-ad65a8e3b5f7166a3fe8022683d0345e.s3tc.ctex", "res://.godot/imported/keyboard_keyboard.png-ad65a8e3b5f7166a3fe8022683d0345e.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

BIN
Models/Props/stage_base.glb Normal file

Binary file not shown.

View file

@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dwdcfwbmoo36b"
path="res://.godot/imported/stage_base.glb-091a266be1ebd2fa4fa0edbef092fbac.scn"
[deps]
source_file="res://Models/Props/stage_base.glb"
dest_files=["res://.godot/imported/stage_base.glb-091a266be1ebd2fa4fa0edbef092fbac.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

View file

@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cn4tl8a344ann"
path.s3tc="res://.godot/imported/stage_base_stage_base.png-6aa36886d4570a879c67ba62814b458b.s3tc.ctex"
path.etc2="res://.godot/imported/stage_base_stage_base.png-6aa36886d4570a879c67ba62814b458b.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}
generator_parameters={
"md5": "7a92b810dad993990d8935b18eeaade4"
}
[deps]
source_file="res://Models/Props/stage_base_stage_base.png"
dest_files=["res://.godot/imported/stage_base_stage_base.png-6aa36886d4570a879c67ba62814b458b.s3tc.ctex", "res://.godot/imported/stage_base_stage_base.png-6aa36886d4570a879c67ba62814b458b.etc2.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View file

@ -0,0 +1,67 @@
[gd_scene load_steps=3 format=3 uid="uid://tjgw1b6x4iqo"]
[ext_resource type="Script" uid="uid://iqrmm33dxvui" path="res://Scripts/GL_Animatronic.gd" id="1_7luna"]
[ext_resource type="PackedScene" uid="uid://4qc8ltvuemre" path="res://Models/Animatronics/CyberMunch/munch.glb" id="2_7luna"]
[node name="CyberMunch" type="Node3D" groups=["AA_CYBERMUNCH"]]
script = ExtResource("1_7luna")
animParameters = {
"Eyelids": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Eyes Left": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Eyes Right": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Head Left": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Head Right": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Left Arm": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Mouth": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
},
"Right Arm": {
"in_speed": 5.0,
"out_speed": 5.0,
"signal_value": 0,
"type": "standard",
"value": 0.0
}
}
[node name="munch" parent="." instance=ExtResource("2_7luna")]

View file

@ -0,0 +1,26 @@
[gd_scene load_steps=3 format=3 uid="uid://cqe7k0r2uh8df"]
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_ud4vq"]
[ext_resource type="Script" uid="uid://t8bsiegtsiwo" path="res://Scripts/GL_Output.gd" id="2_2xofx"]
[node name="Node" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -1152.0
offset_bottom = -648.0
grow_horizontal = 2
grow_vertical = 2
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_ud4vq")]
layout_mode = 0
tooltip_text = "Controls Chica's movements. All eyelid movements can be set to a particular position using values of 0.0 to 1.0."
script = ExtResource("2_2xofx")
identification = "AA_CYBERMUNCH"
visual_name = "Mr. Munch (Tux)"
names = PackedStringArray("Mouth", "Head Right", "Head Left", "Eyes Right", "Eyes Left", "Eyelids", "Right Arm", "Left Arm")
types = PackedStringArray("float", "float", "float", "float", "float", "float", "float", "float")
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]

View file

@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://cobd87j1kub76"]
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_m8mov"]
[ext_resource type="Script" uid="uid://bj0lla8757tnh" path="res://Scripts/GL_MiscKeys.gd" id="2_m8mov"]
[node name="Node" type="Control"]
layout_mode = 3
anchors_preset = 0
mouse_filter = 1
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_m8mov")]
layout_mode = 0
tooltip_text = "Sets a bool for any of the number keys that are pressed."
script = ExtResource("2_m8mov")
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]

View file

@ -1,17 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://jmwqwspljwjc"] [gd_scene load_steps=3 format=3 uid="uid://jmwqwspljwjc"]
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_ua37n"] [ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_nt2x2"]
[ext_resource type="Script" uid="uid://e6v6exlrhtaq" path="res://Scripts/GL_Keystrokes.gd" id="2_ua37n"] [ext_resource type="Script" uid="uid://e6v6exlrhtaq" path="res://Scripts/GL_NumberKeys.gd" id="2_gnbp1"]
[node name="Node" type="Control"] [node name="Node" type="Control"]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
mouse_filter = 1 mouse_filter = 1
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_ua37n")] [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_nt2x2")]
layout_mode = 0 layout_mode = 0
tooltip_text = "Sets a bool for any of the number keys that are pressed." tooltip_text = "Sets a bool for any of the number keys that are pressed."
script = ExtResource("2_ua37n") script = ExtResource("2_gnbp1")
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"] [connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]

View file

@ -1,40 +0,0 @@
[gd_scene load_steps=8 format=3 uid="uid://qvo7vlvac8o5"]
[ext_resource type="PackedScene" uid="uid://biu7cbgleyuq8" path="res://Scenes/Animatables/CyberHelen.tscn" id="1_cd1y8"]
[ext_resource type="PackedScene" uid="uid://dhpife36refiy" path="res://Scenes/Animatables/CyberChuck.tscn" id="1_cxuso"]
[ext_resource type="Script" uid="uid://8vyuhyx0xogt" path="res://Scripts/freecam.gd" id="2_cxuso"]
[ext_resource type="PackedScene" uid="uid://clixk4m0rm0mu" path="res://Scenes/UI/HUD.tscn" id="4_cxuso"]
[ext_resource type="PackedScene" uid="uid://c57u187iciexi" path="res://Scenes/UI/Node Map.tscn" id="4_dksio"]
[sub_resource type="PlaneMesh" id="PlaneMesh_8xxbx"]
[sub_resource type="Environment" id="Environment_re3v0"]
background_mode = 1
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.25
[node name="1Stage" type="Node3D"]
[node name="CyberChuck" parent="." instance=ExtResource("1_cxuso")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0)
[node name="CyberHelen" parent="." instance=ExtResource("1_cd1y8")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
mesh = SubResource("PlaneMesh_8xxbx")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_re3v0")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.999998, 0.00163928, -0.000874435, -0.00163943, 0.999999, -0.000166063, 0.000874161, 0.000167496, 1, 0.01889, 3.26498, 4.74284)
script = ExtResource("2_cxuso")
toggle_key = 4194305
overlay_text = false
[node name="HUD" parent="Camera3D" instance=ExtResource("4_cxuso")]
[node name="NodeMap" parent="." instance=ExtResource("4_dksio")]

49
Scenes/Stages/2Stage.tscn Normal file
View file

@ -0,0 +1,49 @@
[gd_scene load_steps=10 format=3 uid="uid://qvo7vlvac8o5"]
[ext_resource type="Script" uid="uid://8vyuhyx0xogt" path="res://Scripts/freecam.gd" id="1_ru8gb"]
[ext_resource type="PackedScene" uid="uid://clixk4m0rm0mu" path="res://Scenes/UI/HUD.tscn" id="2_yrqm3"]
[ext_resource type="PackedScene" uid="uid://c57u187iciexi" path="res://Scenes/UI/Node Map.tscn" id="3_u0wf5"]
[ext_resource type="PackedScene" uid="uid://dwdcfwbmoo36b" path="res://Models/Props/stage_base.glb" id="4_ol4ys"]
[ext_resource type="PackedScene" uid="uid://dlf6gkpsv5g05" path="res://Models/Props/keyboard.glb" id="5_ti4ja"]
[ext_resource type="PackedScene" uid="uid://dhpife36refiy" path="res://Scenes/Animatables/CyberChuck.tscn" id="6_2m2n1"]
[ext_resource type="PackedScene" uid="uid://biu7cbgleyuq8" path="res://Scenes/Animatables/CyberHelen.tscn" id="7_hmuo4"]
[ext_resource type="PackedScene" uid="uid://tjgw1b6x4iqo" path="res://Scenes/Animatables/CyberMunch.tscn" id="8_hbltw"]
[sub_resource type="Environment" id="Environment_re3v0"]
background_mode = 1
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.25
[node name="1Stage" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_re3v0")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.999998, 0.00163928, -0.000874435, -0.00163943, 0.999999, -0.000166063, 0.000874161, 0.000167496, 1, 0.01889, 3.26498, 9.74284)
script = ExtResource("1_ru8gb")
toggle_key = 4194305
overlay_text = false
[node name="HUD" parent="Camera3D" instance=ExtResource("2_yrqm3")]
[node name="NodeMap" parent="." instance=ExtResource("3_u0wf5")]
[node name="Props" type="Node" parent="."]
[node name="stage_base2" parent="Props" instance=ExtResource("4_ol4ys")]
[node name="keyboard" parent="Props" instance=ExtResource("5_ti4ja")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 2, 0, 1)
[node name="Bots" type="Node" parent="."]
[node name="CyberChuck" parent="Bots" instance=ExtResource("6_2m2n1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0, 0)
[node name="CyberHelen" parent="Bots" instance=ExtResource("7_hmuo4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0)
[node name="CyberMunch" parent="Bots" instance=ExtResource("8_hbltw")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)

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 = { var rows : Dictionary = {
"CyberChuck":1, "CyberChuck":1,
"CyberHelen":1, "CyberHelen":1,
"CyberMunch":1,
"Bool":1, "Bool":1,
"Color":1, "Color":1,
"Float":1, "Float":1,
"Invert":1, "Invert":1,
"Keystrokes":1, "MiscKeys":1,
"NumberKeys":1,
"Keystroke Ramp":1, "Keystroke Ramp":1,
"Lerp":1, "Lerp":1,
"Mix Colors":1, "Mix Colors":1,