2026-02-11 03:01:44 +00:00
|
|
|
[gd_scene format=3 uid="uid://boqs7k6ia532h"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bs8r5rqnt33rf" path="res://scripts/player.gd" id="1_onrkg"]
|
2026-02-11 20:43:20 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://ctakygdw82fs2" path="res://assets/players/top-down/orange-45.png" id="2_onrkg"]
|
2026-02-15 03:17:23 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://nbb3fdh08hbk" path="res://scenes/ui/player_label.tscn" id="3_i3pqv"]
|
2026-02-13 03:39:13 +00:00
|
|
|
|
2026-02-13 16:35:50 +00:00
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_i3pqv"]
|
|
|
|
|
radius = 11.0
|
|
|
|
|
height = 46.0
|
|
|
|
|
|
2026-02-15 03:17:23 +00:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_qhqgy"]
|
2026-02-18 03:17:25 +00:00
|
|
|
radius = 50.0
|
2026-02-15 03:17:23 +00:00
|
|
|
|
2026-02-13 03:39:13 +00:00
|
|
|
[sub_resource type="Gradient" id="Gradient_i3pqv"]
|
|
|
|
|
offsets = PackedFloat32Array(0, 0.74882627)
|
|
|
|
|
colors = PackedColorArray(1, 1, 1, 0.5019608, 0, 0, 0, 0)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_hqtel"]
|
|
|
|
|
gradient = SubResource("Gradient_i3pqv")
|
|
|
|
|
fill = 1
|
|
|
|
|
fill_from = Vector2(0.5, 0.5)
|
|
|
|
|
|
2026-02-13 16:35:50 +00:00
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=1353719775]
|
|
|
|
|
motion_mode = 1
|
2026-02-11 03:01:44 +00:00
|
|
|
script = ExtResource("1_onrkg")
|
|
|
|
|
|
|
|
|
|
[node name="PlayerSprite" type="Sprite2D" parent="." unique_id=1692351563]
|
2026-02-11 20:43:20 +00:00
|
|
|
texture_filter = 1
|
|
|
|
|
texture = ExtResource("2_onrkg")
|
2026-02-11 03:01:44 +00:00
|
|
|
|
2026-02-13 16:35:50 +00:00
|
|
|
[node name="PlayerCollider" type="CollisionShape2D" parent="." unique_id=1534226951]
|
|
|
|
|
position = Vector2(1, 0)
|
|
|
|
|
shape = SubResource("CapsuleShape2D_i3pqv")
|
|
|
|
|
debug_color = Color(0.23987567, 0.6988715, 0.40862384, 0.41960785)
|
|
|
|
|
|
2026-02-18 03:17:25 +00:00
|
|
|
[node name="PlayerReach" type="Area2D" parent="." unique_id=1000158753]
|
2026-02-15 03:17:23 +00:00
|
|
|
|
2026-02-18 03:17:25 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerReach" unique_id=1228042585]
|
2026-02-15 03:17:23 +00:00
|
|
|
shape = SubResource("CircleShape2D_qhqgy")
|
|
|
|
|
|
2026-02-13 03:39:13 +00:00
|
|
|
[node name="PlayerCamera" type="Camera2D" parent="." unique_id=1839930911]
|
|
|
|
|
zoom = Vector2(1.5, 1.5)
|
|
|
|
|
editor_draw_screen = false
|
|
|
|
|
|
2026-02-11 03:01:44 +00:00
|
|
|
[node name="PlayerNav" type="NavigationAgent2D" parent="." unique_id=1205813043]
|
|
|
|
|
avoidance_enabled = true
|
2026-02-13 16:35:50 +00:00
|
|
|
radius = 25.0
|
|
|
|
|
max_speed = 100000.0
|
2026-02-16 03:45:13 +00:00
|
|
|
avoidance_priority = 0.5
|
2026-02-11 03:01:44 +00:00
|
|
|
debug_enabled = true
|
2026-02-11 13:09:14 +00:00
|
|
|
|
2026-02-16 03:45:13 +00:00
|
|
|
[node name="PlayerHands" type="Node2D" parent="." unique_id=314541152]
|
|
|
|
|
position = Vector2(25, 0)
|
|
|
|
|
|
|
|
|
|
[node name="PlayerLeftHand" type="RemoteTransform2D" parent="PlayerHands" unique_id=470792655]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
position = Vector2(0, -10)
|
|
|
|
|
|
|
|
|
|
[node name="PlayerRightHand" type="RemoteTransform2D" parent="PlayerHands" unique_id=285981896]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
position = Vector2(0, 10)
|
|
|
|
|
|
2026-02-15 03:17:23 +00:00
|
|
|
[node name="NavTargetSprite" type="Sprite2D" parent="." unique_id=1224616450]
|
2026-02-13 03:39:13 +00:00
|
|
|
z_index = 10
|
|
|
|
|
texture = SubResource("GradientTexture2D_hqtel")
|
|
|
|
|
|
|
|
|
|
[node name="PlayerLabel" parent="." unique_id=1117115485 instance=ExtResource("3_i3pqv")]
|
|
|
|
|
offset_left = -60.0
|
|
|
|
|
offset_top = 30.0
|
|
|
|
|
offset_right = -60.0
|
|
|
|
|
offset_bottom = 30.0
|
|
|
|
|
|
|
|
|
|
[node name="PlayerUI" type="CanvasLayer" parent="." unique_id=742234296]
|
2026-02-15 03:17:23 +00:00
|
|
|
visible = false
|
2026-02-13 03:39:13 +00:00
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="PlayerUI" unique_id=964838525]
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
2026-02-11 13:09:14 +00:00
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
2026-02-13 03:39:13 +00:00
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PlayerUI/CenterContainer" unique_id=978181265]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Spacer" type="Control" parent="PlayerUI/CenterContainer/VBoxContainer" unique_id=1958092640]
|
|
|
|
|
custom_minimum_size = Vector2(0, 300)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="EndTurnButton" type="Button" parent="PlayerUI/CenterContainer/VBoxContainer" unique_id=1003182030]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "End Turn (E)"
|