21 lines
712 B
Text
21 lines
712 B
Text
|
|
[gd_scene load_steps=4 format=3 uid="uid://cvoicwo2xnf7e"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://b3q5khoqnnicx" path="res://segment.gd" id="1_o43lr"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://cy70quh6k3s1j" path="res://icon.svg" id="2_sa5vt"]
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fgt1l"]
|
||
|
|
|
||
|
|
[node name="Segment" type="Area2D"]
|
||
|
|
collision_layer = 0
|
||
|
|
collision_mask = 4
|
||
|
|
script = ExtResource("1_o43lr")
|
||
|
|
|
||
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
|
modulate = Color(0.309804, 0.113725, 0, 1)
|
||
|
|
scale = Vector2(0.315, 0.16)
|
||
|
|
texture = ExtResource("2_sa5vt")
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
scale = Vector2(2, 1)
|
||
|
|
shape = SubResource("RectangleShape2D_fgt1l")
|