gmtk-2025-loop/scenes/debug/MouseLoop.tscn

66 lines
2.3 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://d1bduqxqx10jb"]
[ext_resource type="Script" uid="uid://b1ddnopgn4scy" path="res://scenes/debug/MouseLoop.gd" id="1_x04i4"]
[ext_resource type="PackedScene" uid="uid://byipv4uqxdtfk" path="res://scenes/objects/Cursor.tscn" id="3_aaj44"]
[ext_resource type="Texture2D" uid="uid://c7en2ehk2mvk0" path="res://assets/textures/lined-paper.png" id="3_u4ca0"]
[ext_resource type="PackedScene" uid="uid://dnr505je252gd" path="res://scenes/objects/StartMarker.tscn" id="4_u4ca0"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_va2mg"]
size = Vector2(100, 591)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aaj44"]
size = Vector2(1025, 219.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u4ca0"]
size = Vector2(152.5, 717.75)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_olkr6"]
size = Vector2(1263.25, 220.875)
[node name="MouseLoop" type="Node2D"]
z_index = 1
script = ExtResource("1_x04i4")
[node name="Cursor" parent="." instance=ExtResource("3_aaj44")]
z_index = 1
[node name="Walls" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls"]
position = Vector2(-51, 289)
shape = SubResource("RectangleShape2D_va2mg")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Walls"]
position = Vector2(449.5, 650.75)
shape = SubResource("RectangleShape2D_aaj44")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Walls"]
position = Vector2(1034.75, 338.125)
shape = SubResource("RectangleShape2D_u4ca0")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Walls"]
position = Vector2(500.375, -109.438)
shape = SubResource("RectangleShape2D_olkr6")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="LinedPaper" type="TextureRect" parent="."]
z_index = -2
custom_minimum_size = Vector2(960, 540)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 960.0
offset_bottom = 540.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_u4ca0")
stretch_mode = 1
[node name="StartMarker" parent="." instance=ExtResource("4_u4ca0")]
visible = false
z_index = -1
[connection signal="started_drawing" from="Cursor" to="." method="_on_cursor_started_drawing"]
[connection signal="stopped_drawing" from="Cursor" to="." method="_on_cursor_stopped_drawing"]