Walking animation broken combat
This commit is contained in:
@@ -154,6 +154,7 @@ text = "Show Quests"
|
||||
|
||||
[node name="QuestView" parent="VBoxContainer" instance=ExtResource("6_er2tk")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(375, 325)
|
||||
layout_mode = 2
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=15 format=3 uid="uid://bktxswsjql86p"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bktxswsjql86p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccsiubi5y75qg" path="res://scripts/npc_profile_window.gd" id="1_4xbne"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbt6po52ad37x" path="res://external/profile-window.png" id="2_s0l16"]
|
||||
@@ -11,6 +11,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://d1btg2hfnjx6r" path="res://graphics/ui/inventory-heading.png" id="8_1nmd1"]
|
||||
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="10_tiew1"]
|
||||
[ext_resource type="Script" uid="uid://cw6yo5opbrpr8" path="res://scripts/item_slot.gd" id="11_tiew1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bgjiahbc4jpwd" path="res://graphics/items/rags.png" id="12_ktflt"]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
|
||||
blend_mode = 3
|
||||
@@ -514,12 +515,20 @@ custom_minimum_size = Vector2(71, 71)
|
||||
layout_mode = 2
|
||||
script = ExtResource("11_tiew1")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/ItemSlot"]
|
||||
[node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot"]
|
||||
layout_mode = 0
|
||||
offset_right = 71.0
|
||||
offset_bottom = 71.0
|
||||
texture = ExtResource("7_ktflt")
|
||||
|
||||
[node name="Item" type="TextureRect" parent="InventoryGrid/ItemSlot"]
|
||||
layout_mode = 0
|
||||
offset_left = 3.0
|
||||
offset_top = 3.0
|
||||
offset_right = 67.0
|
||||
offset_bottom = 67.0
|
||||
texture = ExtResource("12_ktflt")
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("7_ktflt")
|
||||
|
||||
@@ -1,10 +1,64 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://du4hyv7egc7ny"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://du4hyv7egc7ny"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b7jry0kqho7y7" path="res://graphics/questview/forest-back.png" id="1_pphhk"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu18dxqnd3hf6" path="res://graphics/questview/forest-back2.png" id="2_4qpsm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cr0sb3p1r7bdq" path="res://graphics/questview/forest-mid.png" id="2_mburs"]
|
||||
[ext_resource type="Texture2D" uid="uid://ci7ngqo1sh7ao" path="res://graphics/questview/ground.png" id="2_rcl5q"]
|
||||
[ext_resource type="Texture2D" uid="uid://blt2b7f6iqb8j" path="res://graphics/questview/test-char.png" id="4_4qpsm"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5d0u7ir1y0t2" path="res://graphics/testchar.png" id="5_4qpsm"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_gy3gd"]
|
||||
resource_name = "idle"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_7jhts"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5om5g"]
|
||||
resource_name = "running"
|
||||
length = 0.66667
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.06666667, 0.13333334, 0.2, 0.26666668, 0.33333334, 0.4, 0.46666667, 0.53333336, 0.6, 0.6666667),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pylgq"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_7jhts"),
|
||||
&"idle": SubResource("Animation_gy3gd"),
|
||||
&"running": SubResource("Animation_5om5g")
|
||||
}
|
||||
|
||||
[node name="QuestViewWindow" type="Panel"]
|
||||
anchors_preset = -1
|
||||
@@ -33,7 +87,7 @@ offset_bottom = 40.0
|
||||
|
||||
[node name="StageParallax" type="Parallax2D" parent="Panel/Setting/Control"]
|
||||
repeat_size = Vector2(750, 0)
|
||||
autoscroll = Vector2(-20, 0)
|
||||
autoscroll = Vector2(-30, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax"]
|
||||
@@ -46,7 +100,7 @@ texture = ExtResource("1_pphhk")
|
||||
[node name="StageParallax3" type="Parallax2D" parent="Panel/Setting/Control"]
|
||||
scale = Vector2(0.8, 0.8)
|
||||
repeat_size = Vector2(750, 0)
|
||||
autoscroll = Vector2(-25, 0)
|
||||
autoscroll = Vector2(-35, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax3"]
|
||||
@@ -58,7 +112,7 @@ texture = ExtResource("2_4qpsm")
|
||||
|
||||
[node name="BackgroundParallax" type="Parallax2D" parent="Panel/Setting/Control"]
|
||||
repeat_size = Vector2(475, 0)
|
||||
autoscroll = Vector2(-40, 0)
|
||||
autoscroll = Vector2(-45, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Panel/Setting/Control/BackgroundParallax"]
|
||||
@@ -70,7 +124,7 @@ texture = ExtResource("2_rcl5q")
|
||||
|
||||
[node name="StageParallax2" type="Parallax2D" parent="Panel/Setting/Control"]
|
||||
repeat_size = Vector2(750, 0)
|
||||
autoscroll = Vector2(-40, 0)
|
||||
autoscroll = Vector2(-45, 0)
|
||||
ignore_camera_scroll = true
|
||||
|
||||
[node name="Foreground" type="TextureRect" parent="Panel/Setting/Control/StageParallax2"]
|
||||
@@ -80,11 +134,21 @@ offset_right = 750.0
|
||||
offset_bottom = 375.0
|
||||
texture = ExtResource("2_mburs")
|
||||
|
||||
[node name="Adventurer" type="TextureRect" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
offset_left = 2.0
|
||||
offset_top = 152.0
|
||||
offset_right = 130.0
|
||||
offset_bottom = 280.0
|
||||
texture = ExtResource("4_4qpsm")
|
||||
[node name="SideviewSprite" type="Control" parent="Panel"]
|
||||
anchors_preset = 0
|
||||
offset_left = 89.0
|
||||
offset_top = 274.0
|
||||
offset_right = 89.0
|
||||
offset_bottom = 274.0
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="Panel/SideviewSprite"]
|
||||
position = Vector2(0, -53)
|
||||
texture = ExtResource("5_4qpsm")
|
||||
hframes = 4
|
||||
vframes = 3
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Panel/SideviewSprite"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_pylgq")
|
||||
}
|
||||
autoplay = "running"
|
||||
|
||||
Reference in New Issue
Block a user