JHRGB/test.tscn
2023-12-04 16:34:30 +00:00

72 lines
2.4 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://bkjmlky5ihri0"]
[ext_resource type="Script" path="res://sim.gd" id="1_gqc3c"]
[ext_resource type="Script" path="res://Debug.gd" id="2_gfcm0"]
[ext_resource type="Script" path="res://TimerSS.gd" id="3_gvywt"]
[ext_resource type="Script" path="res://Camera2D.gd" id="4_1cl5t"]
[ext_resource type="PackedScene" uid="uid://65vslfrgjtly" path="res://maps/rgb_sections.tscn" id="5_6ne8u"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jlloy"]
size = Vector2(1152, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kvylm"]
size = Vector2(1152, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ygq31"]
size = Vector2(20, 648)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_piktq"]
size = Vector2(20, 648)
[node name="Sim" type="Node2D"]
script = ExtResource("1_gqc3c")
[node name="Debug" type="Label" parent="."]
offset_right = 67.0
offset_bottom = 26.0
text = "00:00:22 60 fps"
script = ExtResource("2_gfcm0")
[node name="Timer" type="Timer" parent="."]
wait_time = 0.3
[node name="TimerSS" type="Timer" parent="."]
wait_time = 60.0
script = ExtResource("3_gvywt")
[node name="Camera2D" type="Camera2D" parent="."]
script = ExtResource("4_1cl5t")
[node name="Map" parent="." instance=ExtResource("5_6ne8u")]
[node name="_StaticBody2D_2" type="StaticBody2D" parent="."]
position = Vector2(576, 0)
collision_layer = 4
[node name="_CollisionShape2D_3" type="CollisionShape2D" parent="_StaticBody2D_2"]
shape = SubResource("RectangleShape2D_jlloy")
[node name="_StaticBody2D_4" type="StaticBody2D" parent="."]
position = Vector2(576, 648)
collision_layer = 4
[node name="_CollisionShape2D_5" type="CollisionShape2D" parent="_StaticBody2D_4"]
shape = SubResource("RectangleShape2D_kvylm")
[node name="_StaticBody2D_6" type="StaticBody2D" parent="."]
position = Vector2(0, 324)
collision_layer = 4
[node name="_CollisionShape2D_7" type="CollisionShape2D" parent="_StaticBody2D_6"]
shape = SubResource("RectangleShape2D_ygq31")
[node name="_StaticBody2D_8" type="StaticBody2D" parent="."]
position = Vector2(1152, 324)
collision_layer = 4
[node name="_CollisionShape2D_9" type="CollisionShape2D" parent="_StaticBody2D_8"]
shape = SubResource("RectangleShape2D_piktq")
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
[connection signal="timeout" from="TimerSS" to="TimerSS" method="_on_timeout"]