Expand Glitch operations hub, cabinet authoring, deployment, and RFID support
Operator hub - Introduce Escape Gallery branding and Glitch: the Dark Machine room views - Add cabinet illustrations, Pac-Man marquee/gameplay artwork, and waiting states - Add device feedback panels with RFID readings, input/output states, and stale status - Add logged operator hardware interventions with request deduplication Room and cabinet authoring - Add a visual custom-PCB connection editor with per-cabinet device inventory - Support device IDs, bindings, wiring notes, input polarity, and validation - Add physical-room label/dimension toggles and editable doorway annotations - Preserve doorway changes through undo, save, and revert - Expand cabinet profiles, room layout, and Glitch scenario resources Scenarios and gameplay - Add per-assignment game configuration and runtime feature validation - Add timed test wins and Frogger individual-home objectives - Add the three-cabinet timed/score/Frogger test scenario - Add Cabinet 1 Pac-Man RFID credits, credit sound, and CREDIT 0/1 display - Require physical Start after an accepted scan and prevent duplicate credits Pi hardware and deployment - Add GPIO feedback sampling and a separate multiplexed RFID helper - Validate reader pin ownership and input/output conflicts - Add SSH cabinet startup and Pi desktop-session service support - Add master packaging, site setup, SSH enrollment, and staged cabinet releases - Verify deployment manifests and support explicit activation/status/log commands Documentation and verification - Consolidate the root README around the current architecture and setup workflow - Add the complete master/Pi/RFID export and deployment walkthrough - Document network isolation, credentials, card identification, and rollback - Add PCB, room-editor, feedback, credit, deployment, and controller tests - Isolate protocol tests from designer-edited cabinet configurations Known limitations - RFID helper compilation and physical Pi commissioning remain unverified - Fleet provisioning does not yet configure RFID-only installations completely - Broader Pac-Man tests retain a ghost-capture assertion failure - Staged exports must be rebuilt and checked before deploying runtime 2.3
This commit is contained in:
1 parent
705ec31e0b
commit
c1b2195834
90 files changed
+4969
-456
No files matched your search
@@ -3,13 +3,64 @@
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://burui20kuayc2" path="res://core/hardware/pcb_connection.gd" id="3_0aat6"]
|
||||
[ext_resource type="Script" uid="uid://c0g0mq4b3d547" path="res://core/hardware/cabinet_pcb_config.gd" id="4_w65ol"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ac1o8"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J17"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_red"
|
||||
display_name = "Red Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gto24"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J18"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_grn"
|
||||
display_name = "Green Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pqv68"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J19"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_blue"
|
||||
display_name = "Blue Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_33hyq"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J20"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_ylw"
|
||||
display_name = "Yellow Btn"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_qgibf"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J2"
|
||||
device_type = "rfid"
|
||||
device_id = "cab1_rfid2"
|
||||
display_name = "RFID Reader 2"
|
||||
binding_id = "credit_inserted_p2"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_e5qub"]
|
||||
script = ExtResource("3_0aat6")
|
||||
port_id = "J1"
|
||||
device_type = "rfid"
|
||||
device_id = "cab1_rfid1"
|
||||
display_name = "RFID Reader 1"
|
||||
binding_id = "credit_inserted_p1"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_npy45"]
|
||||
script = ExtResource("4_w65ol")
|
||||
connections = Array[ExtResource("3_0aat6")]([SubResource("Resource_ac1o8"), SubResource("Resource_gto24"), SubResource("Resource_pqv68"), SubResource("Resource_33hyq"), SubResource("Resource_qgibf"), SubResource("Resource_e5qub")])
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_v1x8f")
|
||||
cabinet_id = &"cabinet_01"
|
||||
display_name = "Master Cabinet"
|
||||
capabilities = Array[StringName]([&"joystick_4way", &"button_1", &"start_button", &"joystick_horizontal", &"button_2", &"button_3", &"button_4", &"button_5", &"button_6", &"select_button", &"trackball", &"joystick_8way", &"joystick_dual"])
|
||||
display_name = "Cabinet 01"
|
||||
capabilities = Array[StringName]([&"joystick_4way", &"start_button", &"select_button"])
|
||||
hardware_config = ExtResource("1_b4cnm")
|
||||
pcb_config = SubResource("Resource_npy45")
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 1.8288000000000002
|
||||
|
||||
@@ -5,16 +5,18 @@
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ogdj5"]
|
||||
script = ExtResource("1_w3p60")
|
||||
action_id = &"coin_release"
|
||||
display_name = "Coin Release"
|
||||
action_id = &"coin_slot_1"
|
||||
display_name = "Coin Slot"
|
||||
action_type = 0
|
||||
gpio_pin = 0
|
||||
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"
|
||||
action_id = &"lock_released"
|
||||
display_name = "Start Light"
|
||||
gpio_pin = 20
|
||||
gpio_pin = 0
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
|
||||
@@ -3,13 +3,64 @@
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://burui20kuayc2" path="res://core/hardware/pcb_connection.gd" id="3_xgtuu"]
|
||||
[ext_resource type="Script" uid="uid://c0g0mq4b3d547" path="res://core/hardware/cabinet_pcb_config.gd" id="4_1abnh"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ac1o8"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J17"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_red"
|
||||
display_name = "Red Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gto24"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J18"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_grn"
|
||||
display_name = "Green Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_pqv68"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J19"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_blue"
|
||||
display_name = "Blue Button"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_33hyq"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J20"
|
||||
device_type = "button"
|
||||
device_id = "cab1_btn_ylw"
|
||||
display_name = "Yellow Btn"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_qgibf"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J2"
|
||||
device_type = "rfid"
|
||||
device_id = "cab1_rfid2"
|
||||
display_name = "RFID Reader 2"
|
||||
binding_id = "credit_inserted_p2"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_e5qub"]
|
||||
script = ExtResource("3_xgtuu")
|
||||
port_id = "J1"
|
||||
device_type = "rfid"
|
||||
device_id = "cab1_rfid1"
|
||||
display_name = "RFID Reader 1"
|
||||
binding_id = "credit_inserted_p1"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_npy45"]
|
||||
script = ExtResource("4_1abnh")
|
||||
connections = Array[ExtResource("3_xgtuu")]([SubResource("Resource_ac1o8"), SubResource("Resource_gto24"), SubResource("Resource_pqv68"), SubResource("Resource_33hyq"), SubResource("Resource_qgibf"), SubResource("Resource_e5qub")])
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_lrfm7")
|
||||
cabinet_id = &"cabinet_02"
|
||||
display_name = "Cabinet 02"
|
||||
capabilities = Array[StringName]([&"joystick_4way", &"button_1", &"start_button", &"joystick_horizontal"])
|
||||
capabilities = Array[StringName]([&"joystick_horizontal", &"start_button", &"select_button", &"button_1"])
|
||||
hardware_config = ExtResource("1_bfw68")
|
||||
pcb_config = SubResource("Resource_npy45")
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 1.8288000000000002
|
||||
|
||||
@@ -11,23 +11,15 @@ gpio_pin = 27
|
||||
pulse_duration_ms = 400
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_dasqc"]
|
||||
[sub_resource type="Resource" id="Resource_gu74o"]
|
||||
script = ExtResource("1_dasqc")
|
||||
action_id = &"start_light"
|
||||
action_id = &"lock_released"
|
||||
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
|
||||
gpio_pin = 0
|
||||
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")])
|
||||
actions = Array[ExtResource("1_dasqc")]([SubResource("Resource_ogdj5"), SubResource("Resource_gu74o")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
@@ -1,15 +1,20 @@
|
||||
[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="Texture2D" uid="uid://cistuspr5bf8h" path="res://art/devices/tex_cabinet.png" id="1_km331"]
|
||||
[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"])
|
||||
capabilities = Array[StringName]([&"spinner", &"button_1", &"start_button", &"select_button"])
|
||||
hardware_config = ExtResource("1_ojmvu")
|
||||
footprint_width_m = 1.0
|
||||
footprint_depth_m = 1.0
|
||||
height_m = 2.0
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 0.9144000000000001
|
||||
footprint_width_ft = 3.0
|
||||
footprint_depth_ft = 3.0
|
||||
height_ft = 3.0
|
||||
editor_texture = ExtResource("1_km331")
|
||||
metadata/_custom_type_script = "uid://c0jj5j5loqsma"
|
||||
@@ -5,14 +5,21 @@
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ogdj5"]
|
||||
script = ExtResource("1_2vvyl")
|
||||
action_id = &"coin_release"
|
||||
display_name = "Coin Release"
|
||||
action_id = &"coin_slot_1"
|
||||
display_name = "Coin Slot 1"
|
||||
action_type = 0
|
||||
gpio_pin = 27
|
||||
pulse_duration_ms = 400
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ojmvu"]
|
||||
script = ExtResource("1_2vvyl")
|
||||
action_id = &"lock_released"
|
||||
display_name = "Lock Released"
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_hx0bc")
|
||||
controller_id = &"cabinet_02_gpio"
|
||||
actions = Array[ExtResource("1_2vvyl")]([SubResource("Resource_ogdj5")])
|
||||
controller_id = &"cabinet_03_gpio"
|
||||
actions = Array[ExtResource("1_2vvyl")]([SubResource("Resource_ogdj5"), SubResource("Resource_ojmvu")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="CabinetProfile" format=3 uid="uid://cwa2ord52vdda"]
|
||||
|
||||
[ext_resource type="Resource" uid="uid://dbcideufl5qhi" path="res://data/cabinets/cabinet_04_hardware.tres" id="1_2m3i6"]
|
||||
[ext_resource type="Texture2D" uid="uid://cistuspr5bf8h" path="res://art/devices/tex_cabinet.png" id="1_8nqkk"]
|
||||
[ext_resource type="Script" uid="uid://c0jj5j5loqsma" path="res://core/hardware/cabinet_profile.gd" id="1_a4ctu"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_a4ctu")
|
||||
cabinet_id = &"cabinet_04"
|
||||
display_name = "Cabinet 4"
|
||||
capabilities = Array[StringName]([&"roller", &"button_1", &"button_2", &"button_3", &"select_button", &"start_button"])
|
||||
hardware_config = ExtResource("1_2m3i6")
|
||||
footprint_width_m = 0.9144000000000001
|
||||
footprint_depth_m = 0.9144000000000001
|
||||
height_m = 0.9144000000000001
|
||||
footprint_width_ft = 3.0
|
||||
footprint_depth_ft = 3.0
|
||||
height_ft = 3.0
|
||||
editor_texture = ExtResource("1_8nqkk")
|
||||
metadata/_custom_type_script = "uid://c0jj5j5loqsma"
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_resource type="Resource" script_class="HardwareConfig" format=3 uid="uid://dbcideufl5qhi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7eu1n5yey1x4" path="res://core/hardware/hardware_action.gd" id="1_lpxoo"]
|
||||
[ext_resource type="Script" uid="uid://60whm57itpjb" path="res://core/hardware/hardware_config.gd" id="2_tu3fw"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_jt2rb"]
|
||||
script = ExtResource("1_lpxoo")
|
||||
action_id = &"coin_slot_1"
|
||||
display_name = "Coin Slot 1"
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_axg2k"]
|
||||
script = ExtResource("1_lpxoo")
|
||||
action_id = &"lock_released"
|
||||
display_name = "Lock Released"
|
||||
metadata/_custom_type_script = "uid://c7eu1n5yey1x4"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_tu3fw")
|
||||
controller_id = &"cabinet_04_gpio"
|
||||
actions = Array[ExtResource("1_lpxoo")]([SubResource("Resource_jt2rb"), SubResource("Resource_axg2k")])
|
||||
metadata/_custom_type_script = "uid://60whm57itpjb"
|
||||
@@ -9,20 +9,22 @@
|
||||
[ext_resource type="Resource" uid="uid://c3v8o4nubjakg" path="res://data/games/pacman.tres" id="4_bfrqh"]
|
||||
[ext_resource type="Resource" uid="uid://d4ns05ptr4ybw" path="res://data/cabinets/cabinet_03.tres" id="4_gbm0a"]
|
||||
[ext_resource type="Resource" uid="uid://cnfhiky5834pw" path="res://data/games/galaga.tres" id="5_b427t"]
|
||||
[ext_resource type="Resource" uid="uid://cqn58n5ahydil" path="res://data/scenarios/proof_of_concept.tres" id="7_gbm0a"]
|
||||
[ext_resource type="Resource" uid="uid://cwa2ord52vdda" path="res://data/cabinets/cabinet_04.tres" id="5_wqg7d"]
|
||||
[ext_resource type="Resource" path="res://data/games/tempest.tres" id="8_0ke0w"]
|
||||
[ext_resource type="Resource" uid="uid://tp7cvbnbhcrj" path="res://data/scenarios/galaga_proof_of_concept.tres" id="8_ib4xl"]
|
||||
[ext_resource type="Resource" path="res://data/games/missile_command.tres" id="9_0ke0w"]
|
||||
[ext_resource type="Resource" path="res://data/games/frogger.tres" id="10_8pm0t"]
|
||||
[ext_resource type="Resource" uid="uid://c07wbog147dml" path="res://data/scenarios/two_cabinet_test.tres" id="10_b427t"]
|
||||
[ext_resource type="Resource" uid="uid://yiejlr5h143m" path="res://data/games/space_invaders.tres" id="11_space_invaders"]
|
||||
[ext_resource type="Resource" path="res://data/games/robotron.tres" id="12_robotron"]
|
||||
[ext_resource type="Resource" uid="uid://bn8vgu5vrevgx" path="res://data/games/robotron.tres" id="12_robotron"]
|
||||
[ext_resource type="Resource" uid="uid://crijr0r2ikxs1" path="res://data/scenarios/eg_glitch.tres" id="18_yfaxe"]
|
||||
[ext_resource type="Resource" uid="uid://cv8oknw3dlwjk" path="res://data/scenarios/cabinet_chain_test.tres" id="chain_test"]
|
||||
[ext_resource type="Resource" uid="uid://coylqrwbr26tb" path="res://data/scenarios/three_cabinet_objective_test.tres" id="three_test"]
|
||||
|
||||
[ext_resource type="Resource" path="res://data/scenarios/cabinet_chain_test.tres" id="chain_test"]
|
||||
[ext_resource type="Resource" path="res://data/scenarios/pacman_rfid_credit_test.tres" id="rfid_credit_test"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("4_algy0")
|
||||
scenarios = Array[ExtResource("3_uw7gr")]([ExtResource("7_gbm0a"), ExtResource("8_ib4xl"), ExtResource("10_b427t"), ExtResource("chain_test")])
|
||||
cabinets = Array[ExtResource("1_uu70x")]([ExtResource("2_t6ujr"), ExtResource("3_bfrqh"), ExtResource("4_gbm0a")])
|
||||
scenarios = Array[ExtResource("3_uw7gr")]([ExtResource("10_b427t"), ExtResource("chain_test"), ExtResource("three_test"), ExtResource("18_yfaxe"), ExtResource("rfid_credit_test")])
|
||||
cabinets = Array[ExtResource("1_uu70x")]([ExtResource("2_t6ujr"), ExtResource("3_bfrqh"), ExtResource("4_gbm0a"), ExtResource("5_wqg7d")])
|
||||
games = Array[ExtResource("2_an0il")]([ExtResource("4_bfrqh"), ExtResource("5_b427t"), ExtResource("8_0ke0w"), ExtResource("9_0ke0w"), ExtResource("10_8pm0t"), ExtResource("11_space_invaders"), ExtResource("12_robotron")])
|
||||
metadata/_custom_type_script = "uid://diqnrxrhwx2ug"
|
||||
@@ -52,13 +52,25 @@ metadata/_custom_type_script = "uid://r2rpbasss511"
|
||||
[sub_resource type="Resource" id="Resource_prnev"]
|
||||
script = ExtResource("2_384hm")
|
||||
cabinet_id = &"cabinet_01"
|
||||
position = Vector2(-5.9484997, 0.14750004)
|
||||
position = Vector2(-6.5578, 1.9821999)
|
||||
metadata/_custom_type_script = "uid://cwblyetugbr4d"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_dicmx"]
|
||||
script = ExtResource("2_384hm")
|
||||
cabinet_id = &"cabinet_02"
|
||||
position = Vector2(-3.5153918, 0.14274521)
|
||||
position = Vector2(-2.8978, 1.9821999)
|
||||
metadata/_custom_type_script = "uid://cwblyetugbr4d"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_df41d"]
|
||||
script = ExtResource("2_384hm")
|
||||
cabinet_id = &"cabinet_03"
|
||||
position = Vector2(-2.8978, 3.2022)
|
||||
metadata/_custom_type_script = "uid://cwblyetugbr4d"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_mmfj3"]
|
||||
script = ExtResource("2_384hm")
|
||||
cabinet_id = &"cabinet_04"
|
||||
position = Vector2(-6.5578, 3.2022)
|
||||
metadata/_custom_type_script = "uid://cwblyetugbr4d"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_vv75m"]
|
||||
@@ -156,7 +168,7 @@ thickness_ft = 0.1
|
||||
script = ExtResource("3_384hm")
|
||||
room_id = &"arcade_room"
|
||||
display_name = "Arcade Escape Room"
|
||||
cabinet_placements = Array[ExtResource("2_384hm")]([SubResource("Resource_prnev"), SubResource("Resource_dicmx")])
|
||||
cabinet_placements = Array[ExtResource("2_384hm")]([SubResource("Resource_prnev"), SubResource("Resource_dicmx"), SubResource("Resource_df41d"), SubResource("Resource_mmfj3")])
|
||||
devices = Array[ExtResource("2_hg7bw")]([SubResource("Resource_vv75m"), SubResource("Resource_12s2r"), SubResource("Resource_2f6ns"), SubResource("Resource_ks63c"), SubResource("Resource_kddy2")])
|
||||
bindings = Array[ExtResource("1_icsgi")]([SubResource("Resource_icsgi"), SubResource("Resource_hg7bw"), SubResource("Resource_384hm"), SubResource("Resource_t81ly"), SubResource("Resource_clsof")])
|
||||
boundary_points = PackedVector2Array(-7.3152, -0.6096, -2.1336, -0.6096, -2.1336, 7.62, -7.3152, 7.62)
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="ScenarioDefinition" format=3]
|
||||
[gd_resource type="Resource" script_class="ScenarioDefinition" format=3 uid="uid://cv8oknw3dlwjk"]
|
||||
|
||||
[ext_resource type="Script" path="res://core/scenarios/scenario_definition.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://core/scenarios/scenario_assignment.gd" id="2"]
|
||||
[ext_resource type="Resource" path="res://data/cabinets/cabinet_01.tres" id="3"]
|
||||
[ext_resource type="Resource" path="res://data/cabinets/cabinet_02.tres" id="4"]
|
||||
[ext_resource type="Resource" path="res://data/games/pacman.tres" id="5"]
|
||||
[ext_resource type="Resource" path="res://data/games/galaga.tres" id="6"]
|
||||
[ext_resource type="Script" uid="uid://d3pt6qa05kcnl" path="res://core/scenarios/scenario_definition.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://ibujr0ervhhq" path="res://core/scenarios/scenario_assignment.gd" id="2"]
|
||||
[ext_resource type="Resource" uid="uid://cl4j1vtv388pt" path="res://data/cabinets/cabinet_01.tres" id="3"]
|
||||
[ext_resource type="Script" uid="uid://lixrugm1v2d2" path="res://core/scenarios/scenario_event_mapping.gd" id="3_mhdgo"]
|
||||
[ext_resource type="Resource" uid="uid://d1gyyfaaclas8" path="res://data/cabinets/cabinet_02.tres" id="4"]
|
||||
[ext_resource type="Resource" uid="uid://c3v8o4nubjakg" path="res://data/games/pacman.tres" id="5"]
|
||||
[ext_resource type="Resource" uid="uid://cnfhiky5834pw" path="res://data/games/galaga.tres" id="6"]
|
||||
|
||||
[sub_resource type="Resource" id="First"]
|
||||
script = ExtResource("2")
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
[gd_resource type="Resource" script_class="ScenarioDefinition" format=3 uid="uid://crijr0r2ikxs1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ibujr0ervhhq" path="res://core/scenarios/scenario_assignment.gd" id="1_40f70"]
|
||||
[ext_resource type="Resource" uid="uid://cl4j1vtv388pt" path="res://data/cabinets/cabinet_01.tres" id="2_nsmc3"]
|
||||
[ext_resource type="Script" uid="uid://lixrugm1v2d2" path="res://core/scenarios/scenario_event_mapping.gd" id="3_4sjsw"]
|
||||
[ext_resource type="Resource" uid="uid://c3v8o4nubjakg" path="res://data/games/pacman.tres" id="4_wb1pw"]
|
||||
[ext_resource type="Resource" uid="uid://d1gyyfaaclas8" path="res://data/cabinets/cabinet_02.tres" id="5_cy2se"]
|
||||
[ext_resource type="Resource" uid="uid://cnfhiky5834pw" path="res://data/games/galaga.tres" id="6_r5ac2"]
|
||||
[ext_resource type="Resource" uid="uid://d4ns05ptr4ybw" path="res://data/cabinets/cabinet_03.tres" id="7_4fvja"]
|
||||
[ext_resource type="Resource" path="res://data/games/tempest.tres" id="8_uer0y"]
|
||||
[ext_resource type="Resource" uid="uid://cwa2ord52vdda" path="res://data/cabinets/cabinet_04.tres" id="9_oms42"]
|
||||
[ext_resource type="Resource" path="res://data/games/missile_command.tres" id="10_sqsy7"]
|
||||
[ext_resource type="Script" uid="uid://d3pt6qa05kcnl" path="res://core/scenarios/scenario_definition.gd" id="11_2gwsy"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_p0bbs"]
|
||||
script = ExtResource("1_40f70")
|
||||
cabinet = ExtResource("2_nsmc3")
|
||||
game = ExtResource("4_wb1pw")
|
||||
metadata/_custom_type_script = "uid://ibujr0ervhhq"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_46jx7"]
|
||||
script = ExtResource("1_40f70")
|
||||
cabinet = ExtResource("5_cy2se")
|
||||
game = ExtResource("6_r5ac2")
|
||||
metadata/_custom_type_script = "uid://ibujr0ervhhq"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_vuaau"]
|
||||
script = ExtResource("1_40f70")
|
||||
cabinet = ExtResource("7_4fvja")
|
||||
game = ExtResource("8_uer0y")
|
||||
metadata/_custom_type_script = "uid://ibujr0ervhhq"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_l1iuy"]
|
||||
script = ExtResource("1_40f70")
|
||||
cabinet = ExtResource("9_oms42")
|
||||
game = ExtResource("10_sqsy7")
|
||||
metadata/_custom_type_script = "uid://ibujr0ervhhq"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("11_2gwsy")
|
||||
scenario_id = &"eg_glitch"
|
||||
display_name = "Glitch: The Dark Machine"
|
||||
assignments = Array[ExtResource("1_40f70")]([SubResource("Resource_p0bbs"), SubResource("Resource_46jx7"), SubResource("Resource_vuaau"), SubResource("Resource_l1iuy")])
|
||||
metadata/_custom_type_script = "uid://d3pt6qa05kcnl"
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="Resource" script_class="ScenarioDefinition" format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://core/scenarios/scenario_definition.gd" id="1"]
|
||||
[ext_resource type="Script" path="res://core/scenarios/scenario_assignment.gd" id="2"]
|
||||
[ext_resource type="Resource" path="res://data/cabinets/cabinet_01.tres" id="3"]
|
||||
[ext_resource type="Resource" path="res://data/games/pacman.tres" id="4"]
|
||||
|
||||
[sub_resource type="Resource" id="Assignment"]
|
||||
script = ExtResource("2")
|
||||
cabinet = ExtResource("3")
|
||||
game = ExtResource("4")
|
||||
game_config = {"rfid_credit_device": "cab1_rfid1", "rfid_allowed_uids": [], "boards_to_win": 1, "score_to_win": 0}
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
scenario_id = &"pacman_rfid_credit_test"
|
||||
display_name = "Cabinet 1: Pac-Man RFID credit"
|
||||
assignments = Array[ExtResource("2")]([SubResource("Assignment")])
|
||||
@@ -0,0 +1,47 @@
|
||||
[gd_resource type="Resource" script_class="ScenarioDefinition" format=3 uid="uid://coylqrwbr26tb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d3pt6qa05kcnl" path="res://core/scenarios/scenario_definition.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://ibujr0ervhhq" path="res://core/scenarios/scenario_assignment.gd" id="2"]
|
||||
[ext_resource type="Resource" uid="uid://cl4j1vtv388pt" path="res://data/cabinets/cabinet_01.tres" id="3"]
|
||||
[ext_resource type="Script" uid="uid://lixrugm1v2d2" path="res://core/scenarios/scenario_event_mapping.gd" id="3_my636"]
|
||||
[ext_resource type="Resource" uid="uid://d1gyyfaaclas8" path="res://data/cabinets/cabinet_02.tres" id="4"]
|
||||
[ext_resource type="Resource" uid="uid://d4ns05ptr4ybw" path="res://data/cabinets/cabinet_03.tres" id="5"]
|
||||
[ext_resource type="Resource" uid="uid://c3v8o4nubjakg" path="res://data/games/pacman.tres" id="6"]
|
||||
[ext_resource type="Resource" uid="uid://cnfhiky5834pw" path="res://data/games/galaga.tres" id="7"]
|
||||
[ext_resource type="Resource" path="res://data/games/frogger.tres" id="8"]
|
||||
|
||||
[sub_resource type="Resource" id="First"]
|
||||
script = ExtResource("2")
|
||||
cabinet = ExtResource("3")
|
||||
game = ExtResource("6")
|
||||
game_config = {
|
||||
"boards_to_win": 0,
|
||||
"score_to_win": 0,
|
||||
"test_auto_win_seconds": 5.0
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Second"]
|
||||
script = ExtResource("2")
|
||||
cabinet = ExtResource("4")
|
||||
game = ExtResource("7")
|
||||
activate_after_win = &"cabinet_01"
|
||||
game_config = {
|
||||
"score_to_win": 500,
|
||||
"stages_to_win": 0
|
||||
}
|
||||
|
||||
[sub_resource type="Resource" id="Third"]
|
||||
script = ExtResource("2")
|
||||
cabinet = ExtResource("5")
|
||||
game = ExtResource("8")
|
||||
activate_after_win = &"cabinet_02"
|
||||
game_config = {
|
||||
"boards_to_win": 0,
|
||||
"homes_to_win": 1
|
||||
}
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
scenario_id = &"three_cabinet_objective_test"
|
||||
display_name = "3-Cabinet Test: 5 seconds / 500 points / 1 frog"
|
||||
assignments = Array[ExtResource("2")]([SubResource("First"), SubResource("Second"), SubResource("Third")])
|
||||
Reference in new issue
Block a user