diff --git a/assets/sprites/aux_terrain_tileset.bmp b/assets/sprites/aux_terrain_tileset.bmp new file mode 100644 index 0000000..cc1a456 Binary files /dev/null and b/assets/sprites/aux_terrain_tileset.bmp differ diff --git a/assets/sprites/aux_terrain_tileset.bmp.import b/assets/sprites/aux_terrain_tileset.bmp.import new file mode 100644 index 0000000..950e4cb --- /dev/null +++ b/assets/sprites/aux_terrain_tileset.bmp.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbcuqclg3xhrk" +path="res://.godot/imported/aux_terrain_tileset.bmp-cfff3a0c5b37bcf01b239cc3e0e49ae5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/aux_terrain_tileset.bmp" +dest_files=["res://.godot/imported/aux_terrain_tileset.bmp-cfff3a0c5b37bcf01b239cc3e0e49ae5.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 diff --git a/nodes/debug_menu.gd b/nodes/debug_menu.gd index a88e6cb..a0b27f2 100644 --- a/nodes/debug_menu.gd +++ b/nodes/debug_menu.gd @@ -5,8 +5,8 @@ signal close_requested var active_scene_container: Node var scene_registry: Array = [ - { "name": "Battle Test", "path": "res://scenes/strategy_phase.tscn" }, - { "name": "Main Menu", "path": "res://scenes/main_menu.tscn" }, + { "name": "Battle Test", "path": "res://scenes/views/battle_view.tscn" }, + { "name": "Main Menu", "path": "res://scenes/views/main_menu_view.tscn" }, { "name": "Dialogue Test", "path": "res://scenes/dialogue_scene.tscn" }, ] diff --git a/nodes/game.gd b/nodes/game.gd index 9ed7efa..5bbd9ec 100644 --- a/nodes/game.gd +++ b/nodes/game.gd @@ -3,7 +3,7 @@ class_name Game extends Node @onready var debug_menu: DebugMenu = $DebugMenu @onready var active_scene_container: Node = $ActiveSceneContainer -var _default_scene: PackedScene = preload("res://scenes/main_menu.tscn") +var _default_scene: PackedScene = preload("res://scenes/views/main_menu_view.tscn") func _ready() -> void: debug_menu.active_scene_container = active_scene_container diff --git a/nodes/strategy_phase.gd b/nodes/strategy_phase.gd index 167ce8d..566ef1d 100644 --- a/nodes/strategy_phase.gd +++ b/nodes/strategy_phase.gd @@ -63,4 +63,3 @@ func _on_fight_cancelled() -> void: func _set_input_disabled(disabled: bool) -> void: player_controller.input_disabled = disabled - combat_map.set_highlight_enabled(not disabled) diff --git a/prefabs/combat_map.tscn b/prefabs/combat_map.tscn index b7e7cd1..07a9bda 100644 --- a/prefabs/combat_map.tscn +++ b/prefabs/combat_map.tscn @@ -6,7 +6,6 @@ [ext_resource type="Script" uid="uid://cxl38x2m6sj3w" path="res://scripts/battle/grid_overlay.gd" id="4_jelju"] [ext_resource type="Texture2D" uid="uid://b1ks72fiesfrm" path="res://assets/sprites/combat_map_ui.BMP" id="5_mycp7"] [ext_resource type="Texture2D" uid="uid://65rmoynep5hy" path="res://assets/sprites/MP000A.BMP" id="6_muxvo"] -[ext_resource type="Texture2D" uid="uid://b20mhn7ca5xyo" path="res://assets/sprites/aux_terrain.BMP" id="7_mycp7"] [sub_resource type="Resource" id="Resource_vcj5e"] script = ExtResource("2_8rn0j") @@ -66,160 +65,6 @@ texture_region_size = Vector2i(100, 100) tile_size = Vector2i(100, 100) sources/0 = SubResource("TileSetAtlasSource_mycp7") -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_e2u25"] -texture = ExtResource("7_mycp7") -texture_region_size = Vector2i(50, 50) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -0:2/0 = 0 -0:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 -8:3/0 = 0 -0:4/0 = 0 -3:4/0 = 0 -4:4/0 = 0 -5:4/0 = 0 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -0:5/0 = 0 -3:5/0 = 0 -4:5/0 = 0 -5:5/0 = 0 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -0:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -0:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -0:8/0 = 0 -3:8/0 = 0 -4:8/0 = 0 -5:8/0 = 0 -6:8/0 = 0 -7:8/0 = 0 -8:8/0 = 0 -0:9/0 = 0 -3:9/0 = 0 -4:9/0 = 0 -5:9/0 = 0 -6:9/0 = 0 -7:9/0 = 0 -8:9/0 = 0 -0:10/0 = 0 -0:11/0 = 0 -4:11/0 = 0 -0:12/0 = 0 -1:12/0 = 0 -2:12/0 = 0 -3:12/0 = 0 -4:12/0 = 0 -5:12/0 = 0 -6:12/0 = 0 -7:12/0 = 0 -8:12/0 = 0 -0:13/0 = 0 -1:13/0 = 0 -2:13/0 = 0 -3:13/0 = 0 -4:13/0 = 0 -5:13/0 = 0 -6:13/0 = 0 -0:14/0 = 0 -1:14/0 = 0 -2:14/0 = 0 -3:14/0 = 0 -4:14/0 = 0 -5:14/0 = 0 -6:14/0 = 0 -0:15/0 = 0 -1:15/0 = 0 -2:15/0 = 0 -3:15/0 = 0 -4:15/0 = 0 -5:15/0 = 0 -6:15/0 = 0 -0:16/0 = 0 -1:16/0 = 0 -2:16/0 = 0 -3:16/0 = 0 -4:16/0 = 0 -5:16/0 = 0 -6:16/0 = 0 -4:1/0 = 0 -3:1/0 = 0 -2:1/0 = 0 -5:1/0 = 0 -1:2/0 = 0 -2:2/0 = 0 -3:2/0 = 0 -4:2/0 = 0 -5:2/0 = 0 -6:2/0 = 0 -7:2/0 = 0 -8:2/0 = 0 -8:1/0 = 0 -7:1/0 = 0 -6:1/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -1:4/0 = 0 -2:4/0 = 0 -1:5/0 = 0 -2:5/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -1:8/0 = 0 -2:8/0 = 0 -1:9/0 = 0 -2:9/0 = 0 -1:10/0 = 0 -2:10/0 = 0 -3:10/0 = 0 -4:10/0 = 0 -5:10/0 = 0 -7:10/0 = 0 -8:10/0 = 0 -1:11/0 = 0 -2:11/0 = 0 -3:11/0 = 0 -5:11/0 = 0 -6:11/0 = 0 -7:11/0 = 0 -8:11/0 = 0 -7:13/0 = 0 -8:13/0 = 0 - -[sub_resource type="TileSet" id="TileSet_0i5hg"] -tile_size = Vector2i(50, 50) -sources/0 = SubResource("TileSetAtlasSource_e2u25") - [node name="CombatMap" type="Node2D" unique_id=546780706] script = ExtResource("1_jyv1f") tile_set = SubResource("Resource_vcj5e") @@ -238,6 +83,3 @@ offset = Vector2(50, 50) [node name="TerrainLayer" type="TileMapLayer" parent="." unique_id=1201875024] unique_name_in_owner = true tile_set = SubResource("TileSet_e2u25") - -[node name="WallLayer" type="TileMapLayer" parent="." unique_id=1956876936] -tile_set = SubResource("TileSet_0i5hg") diff --git a/prefabs/dialogue.tscn b/prefabs/dialogue.tscn deleted file mode 100644 index e2f1bd8..0000000 --- a/prefabs/dialogue.tscn +++ /dev/null @@ -1,9 +0,0 @@ -[gd_scene format=3 uid="uid://c6fnawy2wtqii"] - -[node name="Control" type="Control" unique_id=1778107518] -layout_mode = 3 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 diff --git a/scenes/strategy_phase.tscn b/scenes/views/battle_view.tscn similarity index 63% rename from scenes/strategy_phase.tscn rename to scenes/views/battle_view.tscn index c62fe6d..0a1ad51 100644 --- a/scenes/strategy_phase.tscn +++ b/scenes/views/battle_view.tscn @@ -1,30 +1,30 @@ [gd_scene format=3 uid="uid://wy7ur5r23ek3"] -[ext_resource type="PackedScene" uid="uid://cy7r0udfcsqbn" path="res://prefabs/combat_ui.tscn" id="1_6gip4"] -[ext_resource type="PackedScene" uid="uid://dkhyh5ce4iuk3" path="res://prefabs/combat_map.tscn" id="2_iuoca"] -[ext_resource type="Script" uid="uid://dfojm3n0em4ef" path="res://nodes/player_controller.gd" id="3_esrqm"] -[ext_resource type="Script" uid="uid://csdcbi2gtwrly" path="res://scripts/battle/camera_controller.gd" id="4_ww3c6"] -[ext_resource type="AudioStream" uid="uid://dsikulned64qt" path="res://assets/music/combat_bgm_01.OGG" id="5_ficdm"] -[ext_resource type="Script" uid="uid://cf4ivrcbky0s3" path="res://nodes/combat_system.gd" id="6_combat"] -[ext_resource type="Script" uid="uid://dnsqtsx4u2hx4" path="res://nodes/strategy_phase.gd" id="7_strat"] +[ext_resource type="Script" uid="uid://dnsqtsx4u2hx4" path="res://nodes/strategy_phase.gd" id="1_qs1ys"] +[ext_resource type="PackedScene" uid="uid://cy7r0udfcsqbn" path="res://prefabs/combat_ui.tscn" id="2_4s0rq"] +[ext_resource type="PackedScene" uid="uid://dkhyh5ce4iuk3" path="res://prefabs/combat_map.tscn" id="3_n1a8d"] +[ext_resource type="Script" uid="uid://dfojm3n0em4ef" path="res://nodes/player_controller.gd" id="4_208pr"] +[ext_resource type="Script" uid="uid://cf4ivrcbky0s3" path="res://nodes/combat_system.gd" id="5_n11my"] +[ext_resource type="Script" uid="uid://csdcbi2gtwrly" path="res://scripts/battle/camera_controller.gd" id="6_m48os"] +[ext_resource type="AudioStream" uid="uid://dsikulned64qt" path="res://assets/music/combat_bgm_01.OGG" id="7_oih6t"] -[node name="CombatTest" type="Node2D" unique_id=855645983] -script = ExtResource("7_strat") +[node name="BattleView" type="Node2D" unique_id=855645983] +script = ExtResource("1_qs1ys") -[node name="CombatUI" parent="." unique_id=329168107 instance=ExtResource("1_6gip4")] +[node name="CombatUI" parent="." unique_id=329168107 instance=ExtResource("2_4s0rq")] -[node name="CombatMap" parent="." unique_id=546780706 instance=ExtResource("2_iuoca")] +[node name="CombatMap" parent="." unique_id=546780706 instance=ExtResource("3_n1a8d")] [node name="PlayerController" type="Node" parent="." unique_id=774568109 node_paths=PackedStringArray("dl_map")] -script = ExtResource("3_esrqm") +script = ExtResource("4_208pr") dl_map = NodePath("../CombatMap") [node name="CombatSystem" type="Node" parent="." unique_id=1234567890] -script = ExtResource("6_combat") +script = ExtResource("5_n11my") [node name="Camera2D" type="Camera2D" parent="." unique_id=1739569732] -script = ExtResource("4_ww3c6") +script = ExtResource("6_m48os") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1057500234] -stream = ExtResource("5_ficdm") +stream = ExtResource("7_oih6t") autoplay = true diff --git a/scenes/main_menu.tscn b/scenes/views/main_menu_view.tscn similarity index 89% rename from scenes/main_menu.tscn rename to scenes/views/main_menu_view.tscn index 1f4ae54..21fcf09 100644 --- a/scenes/main_menu.tscn +++ b/scenes/views/main_menu_view.tscn @@ -1,34 +1,34 @@ [gd_scene format=3 uid="uid://dlbuo46n6q238"] -[ext_resource type="Theme" uid="uid://dx26d6py3n8xi" path="res://resources/main_ui_theme.tres" id="1_ekxnf"] -[ext_resource type="AudioStream" uid="uid://b7dgmblbcm0cj" path="res://assets/music/menu_theme.OGG" id="1_yqeox"] -[ext_resource type="Texture2D" uid="uid://b47b6tt142b25" path="res://assets/sprites/main_menu.BMP" id="3_bqqt6"] -[ext_resource type="AudioStream" uid="uid://5ndo4w06umsa" path="res://assets/sounds/SE020.WAV" id="4_wu84c"] -[ext_resource type="Texture2D" uid="uid://8kr4vmvhu03p" path="res://assets/sprites/menu_selector_flame.BMP" id="5_flame"] -[ext_resource type="AudioStream" uid="uid://d1hacs4t5qni1" path="res://assets/sounds/SE015.WAV" id="5_rtw2f"] +[ext_resource type="Theme" uid="uid://dx26d6py3n8xi" path="res://resources/main_ui_theme.tres" id="1_wmt4g"] +[ext_resource type="AudioStream" uid="uid://b7dgmblbcm0cj" path="res://assets/music/menu_theme.OGG" id="2_0dhhe"] +[ext_resource type="Texture2D" uid="uid://b47b6tt142b25" path="res://assets/sprites/main_menu.BMP" id="3_xgjk6"] +[ext_resource type="AudioStream" uid="uid://5ndo4w06umsa" path="res://assets/sounds/SE020.WAV" id="4_somrw"] +[ext_resource type="AudioStream" uid="uid://d1hacs4t5qni1" path="res://assets/sounds/SE015.WAV" id="5_ybnw1"] +[ext_resource type="Texture2D" uid="uid://8kr4vmvhu03p" path="res://assets/sprites/menu_selector_flame.BMP" id="6_5jfhr"] [sub_resource type="AtlasTexture" id="AtlasTexture_wu84c"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(0, 0, 800, 400) [sub_resource type="AtlasTexture" id="AtlasTexture_8ln24"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(0, 600, 800, 348) [sub_resource type="AtlasTexture" id="AtlasTexture_a8gd2"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(800, 0, 745, 745) [sub_resource type="AtlasTexture" id="AtlasTexture_bqqt6"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(-1, 995, 800, 43) [sub_resource type="AtlasTexture" id="AtlasTexture_rtw2f"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(0, 950, 800, 45) [sub_resource type="AtlasTexture" id="AtlasTexture_oa1go"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(800, 744, 515, 210) [sub_resource type="GDScript" id="GDScript_hover"] @@ -64,18 +64,18 @@ func _on_button_clicked() -> void: " [sub_resource type="AtlasTexture" id="AtlasTexture_tbmy8"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 0, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_jk1qb"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 300, 330, 50) [sub_resource type="GDScript" id="GDScript_bqqt6"] resource_name = "StartButton" script/source = "extends TextureButton -const COMBAT_SCENE = preload(\"res://scenes/strategy_phase.tscn\") +const COMBAT_SCENE = preload(\"res://scenes/views/battle_view.tscn\") const UNIT_SCENE = preload(\"res://prefabs/unit.tscn\") const PLAYER_ALLEGIANCE = preload(\"res://resources/allegiance_types/player_allegiance.tres\") const ENEMY_ALLEGIANCE = preload(\"res://resources/allegiance_types/enemy_allegiance.tres\") @@ -109,35 +109,35 @@ func _pressed() -> void: " [sub_resource type="AtlasTexture" id="AtlasTexture_5dd4i"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 60, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_lgwnu"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 360, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_flqon"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 120, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_rcqid"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 420, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_1ajci"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 180, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_7b55j"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 480, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_5pajh"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 240, 330, 50) [sub_resource type="AtlasTexture" id="AtlasTexture_j7ex8"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1550, 540, 330, 50) [sub_resource type="GDScript" id="GDScript_wu84c"] @@ -150,74 +150,74 @@ func _pressed(): " [sub_resource type="AtlasTexture" id="AtlasTexture_tcusk"] -atlas = ExtResource("3_bqqt6") +atlas = ExtResource("3_xgjk6") region = Rect2(1320, 746, 25, 22) [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_8ln24"] blend_mode = 1 [sub_resource type="AtlasTexture" id="AtlasTexture_8egab"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(0, 0, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_gw5y6"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(140, 0, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_svtp6"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(280, 0, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_1dfpl"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(420, 0, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_qywvv"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(0, 140, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_3wgol"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(140, 140, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_1acrt"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(280, 140, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_vr8o3"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(420, 140, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_1a85y"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(0, 280, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_hl5e0"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(140, 280, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_engjn"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(280, 280, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_6h3lr"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(420, 280, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_dj67d"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(0, 420, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_6vcge"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(140, 420, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_ip0br"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(280, 420, 140, 140) [sub_resource type="AtlasTexture" id="AtlasTexture_xyero"] -atlas = ExtResource("5_flame") +atlas = ExtResource("6_5jfhr") region = Rect2(420, 420, 140, 140) [sub_resource type="SpriteFrames" id="SpriteFrames_tcusk"] @@ -281,17 +281,17 @@ blend_mode = 1 [sub_resource type="AtlasTexture" id="AtlasTexture_hstxw"] -[node name="Menu" type="Control" unique_id=528000941] +[node name="MainMenu" type="Control" unique_id=528000941] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -theme = ExtResource("1_ekxnf") +theme = ExtResource("1_wmt4g") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1976575731] -stream = ExtResource("1_yqeox") +stream = ExtResource("2_0dhhe") autoplay = true parameters/looping = true @@ -379,10 +379,10 @@ script = SubResource("GDScript_hover") metadata/_edit_use_anchors_ = true [node name="HoverSFX" type="AudioStreamPlayer" parent="Buttons" unique_id=256435189] -stream = ExtResource("4_wu84c") +stream = ExtResource("4_somrw") [node name="ClickSFX" type="AudioStreamPlayer" parent="Buttons" unique_id=2129807302] -stream = ExtResource("5_rtw2f") +stream = ExtResource("5_ybnw1") [node name="StartButton" type="TextureButton" parent="Buttons" unique_id=973041905] layout_mode = 2 diff --git a/scenes/vn_scene.tscn b/scenes/vn_scene.tscn deleted file mode 100644 index fe7753d..0000000 --- a/scenes/vn_scene.tscn +++ /dev/null @@ -1,158 +0,0 @@ -[gd_scene format=3 uid="uid://dsg3pxopc0fab"] - -[ext_resource type="Texture2D" uid="uid://cyl18yt5hxyb5" path="res://assets/sprites/dialogue_ui.BMP" id="1_xtnmq"] -[ext_resource type="Texture2D" uid="uid://dj621xih5cam7" path="res://assets/sprites/dialogue_continue.BMP" id="2_4b6ix"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xtnmq"] -bg_color = Color(0, 0, 0, 1) - -[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_xyfjv"] -blend_mode = 1 - -[sub_resource type="AtlasTexture" id="AtlasTexture_qmngx"] -atlas = ExtResource("1_xtnmq") -region = Rect2(0, 0, 800, 227) - -[sub_resource type="AtlasTexture" id="AtlasTexture_3sx2y"] -atlas = ExtResource("2_4b6ix") -region = Rect2(0, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_6inra"] -atlas = ExtResource("2_4b6ix") -region = Rect2(30, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_ptlyn"] -atlas = ExtResource("2_4b6ix") -region = Rect2(60, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_jvfhn"] -atlas = ExtResource("2_4b6ix") -region = Rect2(90, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_fvlad"] -atlas = ExtResource("2_4b6ix") -region = Rect2(120, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_kklm6"] -atlas = ExtResource("2_4b6ix") -region = Rect2(150, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_1rigp"] -atlas = ExtResource("2_4b6ix") -region = Rect2(180, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_qw2nj"] -atlas = ExtResource("2_4b6ix") -region = Rect2(210, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_bubp4"] -atlas = ExtResource("2_4b6ix") -region = Rect2(240, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_iivyk"] -atlas = ExtResource("2_4b6ix") -region = Rect2(270, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_5hpqg"] -atlas = ExtResource("2_4b6ix") -region = Rect2(300, 0, 30, 27) - -[sub_resource type="AtlasTexture" id="AtlasTexture_256wb"] -atlas = ExtResource("2_4b6ix") -region = Rect2(330, 0, 30, 27) - -[sub_resource type="SpriteFrames" id="SpriteFrames_r6vt6"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": SubResource("AtlasTexture_3sx2y") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_6inra") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_ptlyn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_jvfhn") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_fvlad") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_kklm6") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_1rigp") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_qw2nj") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_bubp4") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_iivyk") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_5hpqg") -}, { -"duration": 1.0, -"texture": SubResource("AtlasTexture_256wb") -}], -"loop": true, -"name": &"default", -"speed": 5.0 -}] - -[node name="VnScene" type="Control" unique_id=74039790] -layout_mode = 3 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="Panel" type="Panel" parent="." unique_id=108231475] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -theme_override_styles/panel = SubResource("StyleBoxFlat_xtnmq") - -[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=546478917] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -alignment = 2 - -[node name="TextureRect" type="TextureRect" parent="VBoxContainer" unique_id=653606980] -material = SubResource("CanvasItemMaterial_xyfjv") -layout_mode = 2 -texture = SubResource("AtlasTexture_qmngx") - -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TextureRect" unique_id=1212665758] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -alignment = 2 - -[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TextureRect/VBoxContainer" unique_id=238151332] -layout_mode = 2 -alignment = 1 - -[node name="Control" type="Control" parent="VBoxContainer/TextureRect/VBoxContainer/HBoxContainer" unique_id=1997339270] -layout_mode = 2 - -[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="VBoxContainer/TextureRect/VBoxContainer/HBoxContainer/Control" unique_id=419477945] -position = Vector2(0, -27) -sprite_frames = SubResource("SpriteFrames_r6vt6") -autoplay = "default"