Walking animation broken combat

This commit is contained in:
2025-08-21 22:23:14 -04:00
parent 906f761041
commit 38845e26fa
19 changed files with 544 additions and 24 deletions

40
external/tc/1.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dxvwm21nupadm"
path="res://.godot/imported/1.png-b132cb4bd58ce4915bfe3a2aad13b672.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/1.png"
dest_files=["res://.godot/imported/1.png-b132cb4bd58ce4915bfe3a2aad13b672.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/10.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bngkacv3iag6e"
path="res://.godot/imported/10.png-d7bac63bd3ed15459cfc452ed238de0d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/10.png"
dest_files=["res://.godot/imported/10.png-d7bac63bd3ed15459cfc452ed238de0d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/2.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://urxa6h4cf4of"
path="res://.godot/imported/2.png-2701862056f74824807b22e68ca27909.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/2.png"
dest_files=["res://.godot/imported/2.png-2701862056f74824807b22e68ca27909.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/3.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://80esel4mewm6"
path="res://.godot/imported/3.png-b550413aa080c1c70e88acfeb4d322e4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/3.png"
dest_files=["res://.godot/imported/3.png-b550413aa080c1c70e88acfeb4d322e4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/4.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://g1pb1a8r4asn"
path="res://.godot/imported/4.png-e4764e4f9d3e0c20595afa27b361faa1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/4.png"
dest_files=["res://.godot/imported/4.png-e4764e4f9d3e0c20595afa27b361faa1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/5.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dh66mvfitp17t"
path="res://.godot/imported/5.png-cc15f7f59c27faf4c8e7b9d2ac49aad5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/5.png"
dest_files=["res://.godot/imported/5.png-cc15f7f59c27faf4c8e7b9d2ac49aad5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/6.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cjfxnltsbwfmn"
path="res://.godot/imported/6.png-b4209f047bfa66b90b5bd6b95afeda56.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/6.png"
dest_files=["res://.godot/imported/6.png-b4209f047bfa66b90b5bd6b95afeda56.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/7.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://djhk6gp250uew"
path="res://.godot/imported/7.png-bf37caa12efccbf460eb9e7a5d9d490c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/7.png"
dest_files=["res://.godot/imported/7.png-bf37caa12efccbf460eb9e7a5d9d490c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/8.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ym644n7w01ag"
path="res://.godot/imported/8.png-a2d258d90ed799301fd544bf2cabf011.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/8.png"
dest_files=["res://.godot/imported/8.png-a2d258d90ed799301fd544bf2cabf011.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

40
external/tc/9.png.import vendored Normal file
View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bpaavgmkmgtbh"
path="res://.godot/imported/9.png-8e14eaf91108f19c019426d203539c8f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://external/tc/9.png"
dest_files=["res://.godot/imported/9.png-8e14eaf91108f19c019426d203539c8f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
graphics/testchar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5d0u7ir1y0t2"
path="res://.godot/imported/testchar.png-eef1f36ae8f081f57f7c8331e3aca546.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://graphics/testchar.png"
dest_files=["res://.godot/imported/testchar.png-eef1f36ae8f081f57f7c8331e3aca546.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -34,13 +34,14 @@ func end_shift() -> void:
var size = DisplayServer.screen_get_size() var size = DisplayServer.screen_get_size()
window.content_scale_size = Vector2i(415,700) window.content_scale_size = Vector2i(415,700)
var wsize = window.get_size_with_decorations() var wsize = window.get_size_with_decorations()
window.position = Vector2i(size.x - 345, 25) #window.position = Vector2i(size.x - 345, 25)
window.transparent = true window.transparent = true
window.transparent_bg = true window.transparent_bg = true
DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true) DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true)
DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_TRANSPARENT, true) DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_TRANSPARENT, true)
window.per #window.per
Guild.hall.process_mode = Node.PROCESS_MODE_DISABLED Guild.hall.process_mode = Node.PROCESS_MODE_DISABLED
Guild.hall.visible = false
top_menu.hide() top_menu.hide()
panel.get_parent().global_position = Vector2i(5,5) panel.get_parent().global_position = Vector2i(5,5)
window.size = Vector2i(415,700) window.size = Vector2i(415,700)

View File

@@ -1,14 +1,15 @@
extends Control extends Control
var item_display_window_template = preload("res://templates/item_display_window.tscn") #var item_display_window_template = preload("res://templates/item_display_window.tscn")
var dragging : bool = false var dragging : bool = false
var last_click : int = 0 var last_click : int = 0
var item : Item
@onready var item_sprite : TextureRect = $Item
func _on_gui_input(event: InputEvent) -> void: func _on_gui_input(event: InputEvent) -> void:
var mmevt = event as InputEventMouseMotion var mmevt = event as InputEventMouseMotion
var mbevt = event as InputEventMouseButton var mbevt = event as InputEventMouseButton
if mbevt and mbevt.button_index == MOUSE_BUTTON_MASK_LEFT: #if mbevt and mbevt.button_index == MOUSE_BUTTON_MASK_LEFT:
if !mbevt.pressed: #if !mbevt.pressed:
if dragging and #if dragging and
#Press, drag, double click #Press, drag, double click
pass # Replace with function body. pass # Replace with function body.

View File

@@ -26,7 +26,10 @@ class Event:
var turn_queue : Array = [] var turn_queue : Array = []
var busy_list : Array = [] var busy_list : Array = []
var dex_speed : int var dex_speed : int
var start(quest : Quest) -> void:
match(type):
Type.WAIT:
pass
func start_combat(adventurers : Array, enemies : Array) -> void: func start_combat(adventurers : Array, enemies : Array) -> void:
participants = [] participants = []
participants.append_array(adventurers) participants.append_array(adventurers)

View File

@@ -69,6 +69,7 @@ func update_waypoints(value : float) -> void:
func start_event(event : Quest.Event, offset : float) -> void: func start_event(event : Quest.Event, offset : float) -> void:
current_event = event current_event = event
current_event.completed.connect(_on_event_complete) current_event.completed.connect(_on_event_complete)
current_event.start()
event.time_elapsed = offset event.time_elapsed = offset
func setup(quest : Quest) -> void: func setup(quest : Quest) -> void:

View File

@@ -154,6 +154,7 @@ text = "Show Quests"
[node name="QuestView" parent="VBoxContainer" instance=ExtResource("6_er2tk")] [node name="QuestView" parent="VBoxContainer" instance=ExtResource("6_er2tk")]
unique_name_in_owner = true unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(375, 325) custom_minimum_size = Vector2(375, 325)
layout_mode = 2 layout_mode = 2

View File

@@ -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="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"] [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://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="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="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"] [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ktflt"]
blend_mode = 3 blend_mode = 3
@@ -514,12 +515,20 @@ custom_minimum_size = Vector2(71, 71)
layout_mode = 2 layout_mode = 2
script = ExtResource("11_tiew1") script = ExtResource("11_tiew1")
[node name="TextureRect" type="TextureRect" parent="InventoryGrid/ItemSlot"] [node name="Square" type="TextureRect" parent="InventoryGrid/ItemSlot"]
layout_mode = 0 layout_mode = 0
offset_right = 71.0 offset_right = 71.0
offset_bottom = 71.0 offset_bottom = 71.0
texture = ExtResource("7_ktflt") 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"] [node name="TextureRect2" type="TextureRect" parent="InventoryGrid"]
layout_mode = 2 layout_mode = 2
texture = ExtResource("7_ktflt") texture = ExtResource("7_ktflt")

View File

@@ -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://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://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://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://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"] [node name="QuestViewWindow" type="Panel"]
anchors_preset = -1 anchors_preset = -1
@@ -33,7 +87,7 @@ offset_bottom = 40.0
[node name="StageParallax" type="Parallax2D" parent="Panel/Setting/Control"] [node name="StageParallax" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(750, 0) repeat_size = Vector2(750, 0)
autoscroll = Vector2(-20, 0) autoscroll = Vector2(-30, 0)
ignore_camera_scroll = true ignore_camera_scroll = true
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax"] [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"] [node name="StageParallax3" type="Parallax2D" parent="Panel/Setting/Control"]
scale = Vector2(0.8, 0.8) scale = Vector2(0.8, 0.8)
repeat_size = Vector2(750, 0) repeat_size = Vector2(750, 0)
autoscroll = Vector2(-25, 0) autoscroll = Vector2(-35, 0)
ignore_camera_scroll = true ignore_camera_scroll = true
[node name="Background" type="TextureRect" parent="Panel/Setting/Control/StageParallax3"] [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"] [node name="BackgroundParallax" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(475, 0) repeat_size = Vector2(475, 0)
autoscroll = Vector2(-40, 0) autoscroll = Vector2(-45, 0)
ignore_camera_scroll = true ignore_camera_scroll = true
[node name="TextureRect" type="TextureRect" parent="Panel/Setting/Control/BackgroundParallax"] [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"] [node name="StageParallax2" type="Parallax2D" parent="Panel/Setting/Control"]
repeat_size = Vector2(750, 0) repeat_size = Vector2(750, 0)
autoscroll = Vector2(-40, 0) autoscroll = Vector2(-45, 0)
ignore_camera_scroll = true ignore_camera_scroll = true
[node name="Foreground" type="TextureRect" parent="Panel/Setting/Control/StageParallax2"] [node name="Foreground" type="TextureRect" parent="Panel/Setting/Control/StageParallax2"]
@@ -80,11 +134,21 @@ offset_right = 750.0
offset_bottom = 375.0 offset_bottom = 375.0
texture = ExtResource("2_mburs") texture = ExtResource("2_mburs")
[node name="Adventurer" type="TextureRect" parent="Panel"] [node name="SideviewSprite" type="Control" parent="Panel"]
layout_mode = 1 anchors_preset = 0
anchors_preset = -1 offset_left = 89.0
offset_left = 2.0 offset_top = 274.0
offset_top = 152.0 offset_right = 89.0
offset_right = 130.0 offset_bottom = 274.0
offset_bottom = 280.0
texture = ExtResource("4_4qpsm") [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"