Added Glitch Room Source code to Gitty
This commit is contained in:
commit
1ac9eb5644
505 files changed
+28504
No files matched your search
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="CabinetProfile" format=3 uid="uid://cl4j1vtv388pt"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://cxna0oimf8mop" path="res://data/cabinets/cabinet_01_hardware.tres" id="1_b4cnm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cistuspr5bf8h" path="res://art/devices/tex_cabinet.png" id="1_hv02u"]
|
||||
[ext_resource type="Script" uid="uid://c0jj5j5loqsma" path="res://core/hardware/cabinet_profile.gd" id="1_v1x8f"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_v1x8f")
|
||||
cabinet_id = &"cabinet_01"
|
||||
display_name = "Cabinet 01"
|
||||
capabilities = Array[StringName]([&"joystick_4way", &"button_1", &"start_button", &"joystick_horizontal"])
|
||||
hardware_config = ExtResource("1_b4cnm")
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 1.8288000000000002
|
||||
footprint_width_ft = 3.0
|
||||
footprint_depth_ft = 3.0
|
||||
height_ft = 6.0
|
||||
editor_texture = ExtResource("1_hv02u")
|
||||
metadata/_custom_type_script = "uid://c0jj5j5loqsma"
|
||||
@@ -0,0 +1,24 @@
|
||||
[gd_resource type="Resource" script_class="HardwareConfig" format=3 uid="uid://cxna0oimf8mop"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7eu1n5yey1x4" path="res://core/hardware/hardware_action.gd" id="1_w3p60"]
|
||||
[ext_resource type="Script" uid="uid://60whm57itpjb" path="res://core/hardware/hardware_config.gd" id="2_s5has"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ogdj5"]
|
||||
script = ExtResource("1_w3p60")
|
||||
action_id = &"coin_release"
|
||||
display_name = "Coin Release"
|
||||
pulse_duration_ms = 600
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gu74o"]
|
||||
script = ExtResource("1_w3p60")
|
||||
action_id = &"start_light"
|
||||
display_name = "Start Light"
|
||||
gpio_pin = 20
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_s5has")
|
||||
controller_id = &"cabinet_01_gpio"
|
||||
actions = Array[ExtResource("1_w3p60")]([SubResource("Resource_ogdj5"), SubResource("Resource_gu74o")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="CabinetProfile" format=3 uid="uid://d1gyyfaaclas8"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://ddv64yg3h5vsi" path="res://data/cabinets/cabinet_02_hardware.tres" id="1_bfw68"]
|
||||
[ext_resource type="Texture2D" uid="uid://cistuspr5bf8h" path="res://art/devices/tex_cabinet.png" id="1_lrfm7"]
|
||||
[ext_resource type="Script" uid="uid://c0jj5j5loqsma" path="res://core/hardware/cabinet_profile.gd" id="2_lrfm7"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_lrfm7")
|
||||
cabinet_id = &"cabinet_02"
|
||||
display_name = "Cabinet 02"
|
||||
capabilities = Array[StringName]([&"joystick_4way", &"button_1", &"start_button", &"joystick_horizontal"])
|
||||
hardware_config = ExtResource("1_bfw68")
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 1.8288000000000002
|
||||
footprint_width_ft = 3.0
|
||||
footprint_depth_ft = 3.0
|
||||
height_ft = 6.0
|
||||
editor_texture = ExtResource("1_lrfm7")
|
||||
metadata/_custom_type_script = "uid://c0jj5j5loqsma"
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_resource type="Resource" script_class="HardwareConfig" format=3 uid="uid://ddv64yg3h5vsi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7eu1n5yey1x4" path="res://core/hardware/hardware_action.gd" id="1_dasqc"]
|
||||
[ext_resource type="Script" uid="uid://60whm57itpjb" path="res://core/hardware/hardware_config.gd" id="2_ye2fg"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ogdj5"]
|
||||
script = ExtResource("1_dasqc")
|
||||
action_id = &"coin_release"
|
||||
display_name = "Coin Release"
|
||||
gpio_pin = 27
|
||||
pulse_duration_ms = 400
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_dasqc"]
|
||||
script = ExtResource("1_dasqc")
|
||||
action_id = &"start_light"
|
||||
display_name = "Start Light"
|
||||
gpio_pin = 20
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_t81ly"]
|
||||
script = ExtResource("1_dasqc")
|
||||
action_id = &"glitch_code"
|
||||
display_name = "Glitch Code"
|
||||
gpio_pin = 21
|
||||
pulse_duration_ms = 1200
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_ye2fg")
|
||||
controller_id = &"cabinet_02_gpio"
|
||||
actions = Array[ExtResource("1_dasqc")]([SubResource("Resource_ogdj5"), SubResource("Resource_dasqc"), SubResource("Resource_t81ly")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="CabinetProfile" format=3 uid="uid://d4ns05ptr4ybw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c0jj5j5loqsma" path="res://core/hardware/cabinet_profile.gd" id="1_0s4iw"]
|
||||
[ext_resource type="Resource" uid="uid://4t6n8gvu717o" path="res://data/cabinets/cabinet_03_hardware.tres" id="1_ojmvu"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_0s4iw")
|
||||
cabinet_id = &"cabinet_03"
|
||||
display_name = "Cabinet 03"
|
||||
capabilities = Array[StringName]([&"spinner", &"button_1", &"start_button"])
|
||||
hardware_config = ExtResource("1_ojmvu")
|
||||
footprint_width_m = 1.0
|
||||
footprint_depth_m = 1.0
|
||||
height_m = 2.0
|
||||
metadata/_custom_type_script = "uid://c0jj5j5loqsma"
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="Resource" script_class="HardwareConfig" format=3 uid="uid://4t6n8gvu717o"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7eu1n5yey1x4" path="res://core/hardware/hardware_action.gd" id="1_2vvyl"]
|
||||
[ext_resource type="Script" uid="uid://60whm57itpjb" path="res://core/hardware/hardware_config.gd" id="2_hx0bc"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ogdj5"]
|
||||
script = ExtResource("1_2vvyl")
|
||||
action_id = &"coin_release"
|
||||
display_name = "Coin Release"
|
||||
gpio_pin = 27
|
||||
pulse_duration_ms = 400
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_hx0bc")
|
||||
controller_id = &"cabinet_02_gpio"
|
||||
actions = Array[ExtResource("1_2vvyl")]([SubResource("Resource_ogdj5")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
Reference in new issue
Block a user