ocker/scenes/Player.tscn

32 lines
1 KiB
Text

[gd_scene format=3 uid="uid://bjt15rm720w5g"]
[ext_resource type="Script" uid="uid://duf0vlr2yin8l" path="res://scripts/Player.cs" id="1_p0vlq"]
[ext_resource type="Script" uid="uid://b25o2r2lf6nst" path="res://scripts/Visual.cs" id="2_v6fml"]
[sub_resource type="CircleShape2D" id="CircleShape2D_v6fml"]
[node name="Player" type="CharacterBody2D" unique_id=1675096620]
script = ExtResource("1_p0vlq")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=554119030]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1337429488]
position = Vector2(-15, -16)
shape = SubResource("CircleShape2D_v6fml")
[node name="ColorRect" type="ColorRect" parent="CollisionShape2D" unique_id=2088988808]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -8.0
offset_right = 8.0
offset_bottom = 8.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.13958341, 0.81406105, 0, 1)
[node name="Visual" type="Node2D" parent="." unique_id=630351727]
script = ExtResource("2_v6fml")