From 614376e369e3b22c7d3210b6f9a79549d7911463 Mon Sep 17 00:00:00 2001 From: Alan Youngblood Date: Tue, 31 Dec 2024 16:25:23 -0500 Subject: [PATCH] Imported into Godot 4.3 --- ActionRPG-HeartBeast/Camera2D.gd | 4 +- ActionRPG-HeartBeast/Camera2D.tscn | 6 +- ActionRPG-HeartBeast/Effects/Effect.gd | 4 +- .../Effects/EnemyDeathEffect.png.import | 31 +- .../Effects/EnemyDeathEffect.tscn | 4 +- .../Effects/GrassEffect.png.import | 31 +- ActionRPG-HeartBeast/Effects/GrassEffect.tscn | 4 +- .../Effects/HitEffect.png.import | 31 +- ActionRPG-HeartBeast/Effects/HitEffect.tscn | 4 +- ActionRPG-HeartBeast/Enemies/Bat.gd | 36 +- ActionRPG-HeartBeast/Enemies/Bat.png.import | 31 +- ActionRPG-HeartBeast/Enemies/Bat.tscn | 28 +- .../Music and Sounds/EnemyDie.wav.import | 7 +- .../Music and Sounds/Evade.wav.import | 7 +- .../Music and Sounds/Hit.wav.import | 7 +- .../Music and Sounds/Hurt.wav.import | 7 +- .../Music and Sounds/Menu Move.wav.import | 7 +- .../Music and Sounds/Menu Select.wav.import | 7 +- .../Music and Sounds/Music.mp3.import | 8 +- .../Music and Sounds/Pause.wav.import | 7 +- .../Music and Sounds/Swipe.wav.import | 7 +- .../Music and Sounds/Unpause.wav.import | 7 +- ActionRPG-HeartBeast/Overlap/Hitbox.gd | 2 +- ActionRPG-HeartBeast/Overlap/Hurtbox.gd | 8 +- .../Overlap/WanderController.gd | 10 +- ActionRPG-HeartBeast/Player/Player.gd | 27 +- ActionRPG-HeartBeast/Player/Player.png.import | 31 +- ActionRPG-HeartBeast/Player/Player.tscn | 964 +++++++++--------- .../Player/PlayerHurtSound.gd | 2 +- .../Shadows/LargeShadow.png.import | 31 +- .../Shadows/MediumShadow.png.import | 31 +- .../Shadows/SmallShadow.png.import | 31 +- ActionRPG-HeartBeast/Stats.gd | 4 +- ActionRPG-HeartBeast/UI/HealthUI.gd | 16 +- ActionRPG-HeartBeast/UI/HealthUI.tscn | 20 +- .../UI/HeartUIEmpty.png.import | 31 +- .../UI/HeartUIFull.png.import | 31 +- .../UI/TouchButtons1.png.import | 31 +- .../UI/TouchButtons2.png.import | 31 +- .../UI/TouchButtons3.png.import | 31 +- .../UI/TouchButtons4.png.import | 31 +- .../UI/TouchButtons5.png.import | 31 +- .../UI/TouchButtons6.png.import | 31 +- ActionRPG-HeartBeast/World.tscn | 765 +++----------- ActionRPG-HeartBeast/World/Bush.png.import | 31 +- ActionRPG-HeartBeast/World/Bush.tscn | 8 +- .../World/CliffTileset.png.import | 31 +- .../World/DirtTileset.png.import | 31 +- ActionRPG-HeartBeast/World/Grass.gd | 2 +- ActionRPG-HeartBeast/World/Grass.png.import | 31 +- ActionRPG-HeartBeast/World/Grass.tscn | 4 +- .../World/GrassBackground.png.import | 31 +- ActionRPG-HeartBeast/World/Tree.png.import | 31 +- ActionRPG-HeartBeast/World/Tree.tscn | 8 +- ActionRPG-HeartBeast/build/.DS_Store | Bin 10244 -> 10244 bytes .../web/index.apple-touch-icon.png.import | 31 +- .../build/web/index.icon.png.import | 31 +- .../build/web/index.png.import | 31 +- ActionRPG-HeartBeast/default_env.tres | 6 +- ActionRPG-HeartBeast/icon.png.import | 31 +- .../index.apple-touch-icon.png.import | 31 +- ActionRPG-HeartBeast/index.icon.png.import | 31 +- ActionRPG-HeartBeast/index.png.import | 31 +- ActionRPG-HeartBeast/project.godot | 60 +- .../touch_controls/TouchControls.tscn | 12 +- 65 files changed, 1239 insertions(+), 1739 deletions(-) diff --git a/ActionRPG-HeartBeast/Camera2D.gd b/ActionRPG-HeartBeast/Camera2D.gd index 187c0eb..6ca2edc 100644 --- a/ActionRPG-HeartBeast/Camera2D.gd +++ b/ActionRPG-HeartBeast/Camera2D.gd @@ -1,7 +1,7 @@ extends Camera2D -onready var topLeft = $Limits/TopLeft -onready var bottomRight = $Limits/BottomRight +@onready var topLeft = $Limits/TopLeft +@onready var bottomRight = $Limits/BottomRight func _ready(): limit_top = topLeft.position.y diff --git a/ActionRPG-HeartBeast/Camera2D.tscn b/ActionRPG-HeartBeast/Camera2D.tscn index f941259..ea8ebc6 100644 --- a/ActionRPG-HeartBeast/Camera2D.tscn +++ b/ActionRPG-HeartBeast/Camera2D.tscn @@ -5,15 +5,15 @@ [node name="Camera2D" type="Camera2D"] position = Vector2( 160, 90 ) current = true -smoothing_enabled = true +position_smoothing_enabled = true script = ExtResource( 1 ) [node name="Limits" type="Node" parent="."] -[node name="TopLeft" type="Position2D" parent="Limits"] +[node name="TopLeft" type="Marker2D" parent="Limits"] __meta__ = { "_gizmo_extents_": 10.2 } -[node name="BottomRight" type="Position2D" parent="Limits"] +[node name="BottomRight" type="Marker2D" parent="Limits"] position = Vector2( 320, 180 ) diff --git a/ActionRPG-HeartBeast/Effects/Effect.gd b/ActionRPG-HeartBeast/Effects/Effect.gd index ad6d0f8..1a0e9bc 100644 --- a/ActionRPG-HeartBeast/Effects/Effect.gd +++ b/ActionRPG-HeartBeast/Effects/Effect.gd @@ -1,7 +1,7 @@ -extends AnimatedSprite +extends AnimatedSprite2D func _ready(): - connect("animation_finished", self, "_on_animation_finished") + connect("animation_finished", Callable(self, "_on_animation_finished")) frame = 0 play("Animate") diff --git a/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.png.import b/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.png.import index 95724f0..26dbc5d 100644 --- a/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.png.import +++ b/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/EnemyDeathEffect.png-b5f2aceef00ffbc3c194806ee7af6666.stex" +type="CompressedTexture2D" +uid="uid://bmfqf7no8uc14" +path="res://.godot/imported/EnemyDeathEffect.png-b5f2aceef00ffbc3c194806ee7af6666.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Effects/EnemyDeathEffect.png" -dest_files=[ "res://.import/EnemyDeathEffect.png-b5f2aceef00ffbc3c194806ee7af6666.stex" ] +dest_files=["res://.godot/imported/EnemyDeathEffect.png-b5f2aceef00ffbc3c194806ee7af6666.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.tscn b/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.tscn index af63fec..0264e77 100644 --- a/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.tscn +++ b/ActionRPG-HeartBeast/Effects/EnemyDeathEffect.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=15 format=2] [ext_resource path="res://Effects/Effect.gd" type="Script" id=1] -[ext_resource path="res://Effects/EnemyDeathEffect.png" type="Texture" id=2] +[ext_resource path="res://Effects/EnemyDeathEffect.png" type="Texture2D" id=2] [ext_resource path="res://Music and Sounds/EnemyDie.wav" type="AudioStream" id=3] [sub_resource type="AtlasTexture" id=1] @@ -52,7 +52,7 @@ animations = [ { "speed": 15.0 } ] -[node name="EnemyDeathEffect" type="AnimatedSprite"] +[node name="EnemyDeathEffect" type="AnimatedSprite2D"] frames = SubResource( 11 ) animation = "Animate" offset = Vector2( 0, -8 ) diff --git a/ActionRPG-HeartBeast/Effects/GrassEffect.png.import b/ActionRPG-HeartBeast/Effects/GrassEffect.png.import index dcbd0a3..03daae8 100644 --- a/ActionRPG-HeartBeast/Effects/GrassEffect.png.import +++ b/ActionRPG-HeartBeast/Effects/GrassEffect.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/GrassEffect.png-e13c4c94a67cb5ef9b389379ed46bf17.stex" +type="CompressedTexture2D" +uid="uid://b7rtfcem8vbxx" +path="res://.godot/imported/GrassEffect.png-e13c4c94a67cb5ef9b389379ed46bf17.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Effects/GrassEffect.png" -dest_files=[ "res://.import/GrassEffect.png-e13c4c94a67cb5ef9b389379ed46bf17.stex" ] +dest_files=["res://.godot/imported/GrassEffect.png-e13c4c94a67cb5ef9b389379ed46bf17.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Effects/GrassEffect.tscn b/ActionRPG-HeartBeast/Effects/GrassEffect.tscn index a9d5214..fc1b7bb 100644 --- a/ActionRPG-HeartBeast/Effects/GrassEffect.tscn +++ b/ActionRPG-HeartBeast/Effects/GrassEffect.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=9 format=2] -[ext_resource path="res://Effects/GrassEffect.png" type="Texture" id=1] +[ext_resource path="res://Effects/GrassEffect.png" type="Texture2D" id=1] [ext_resource path="res://Effects/Effect.gd" type="Script" id=2] [sub_resource type="AtlasTexture" id=1] @@ -31,7 +31,7 @@ animations = [ { "speed": 15.0 } ] -[node name="GrassEffect" type="AnimatedSprite"] +[node name="GrassEffect" type="AnimatedSprite2D"] frames = SubResource( 6 ) animation = "Animate" centered = false diff --git a/ActionRPG-HeartBeast/Effects/HitEffect.png.import b/ActionRPG-HeartBeast/Effects/HitEffect.png.import index bd0772b..d9bd408 100644 --- a/ActionRPG-HeartBeast/Effects/HitEffect.png.import +++ b/ActionRPG-HeartBeast/Effects/HitEffect.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/HitEffect.png-4a350a9d7635dd7543954c4499aead9c.stex" +type="CompressedTexture2D" +uid="uid://bah6dkm2id" +path="res://.godot/imported/HitEffect.png-4a350a9d7635dd7543954c4499aead9c.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Effects/HitEffect.png" -dest_files=[ "res://.import/HitEffect.png-4a350a9d7635dd7543954c4499aead9c.stex" ] +dest_files=["res://.godot/imported/HitEffect.png-4a350a9d7635dd7543954c4499aead9c.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Effects/HitEffect.tscn b/ActionRPG-HeartBeast/Effects/HitEffect.tscn index 9815e8d..ff1a63d 100644 --- a/ActionRPG-HeartBeast/Effects/HitEffect.tscn +++ b/ActionRPG-HeartBeast/Effects/HitEffect.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=7 format=2] [ext_resource path="res://Effects/Effect.gd" type="Script" id=1] -[ext_resource path="res://Effects/HitEffect.png" type="Texture" id=2] +[ext_resource path="res://Effects/HitEffect.png" type="Texture2D" id=2] [ext_resource path="res://Music and Sounds/Hit.wav" type="AudioStream" id=3] [sub_resource type="AtlasTexture" id=1] @@ -20,7 +20,7 @@ animations = [ { "speed": 10.0 } ] -[node name="HitEffect" type="AnimatedSprite"] +[node name="HitEffect" type="AnimatedSprite2D"] frames = SubResource( 3 ) animation = "Animate" offset = Vector2( 0, -8 ) diff --git a/ActionRPG-HeartBeast/Enemies/Bat.gd b/ActionRPG-HeartBeast/Enemies/Bat.gd index 372383f..9f68028 100644 --- a/ActionRPG-HeartBeast/Enemies/Bat.gd +++ b/ActionRPG-HeartBeast/Enemies/Bat.gd @@ -1,11 +1,11 @@ -extends KinematicBody2D +extends CharacterBody2D const EnemyDeathEffect = preload("res://Effects/EnemyDeathEffect.tscn") -export var ACCELERATION = 300 -export var MAX_SPEED = 50 -export var FRICTION = 200 -export var WANDER_TARGET_RANGE = 4 +@export var ACCELERATION = 300 +@export var MAX_SPEED = 50 +@export var FRICTION = 200 +@export var WANDER_TARGET_RANGE = 4 enum { IDLE, @@ -18,20 +18,22 @@ var velocity = Vector2.ZERO var state = IDLE -onready var sprite = $AnimatedSprite -onready var stats = $Stats -onready var playerDetectionZone = $PlayerDetectionZone -onready var hurtbox = $Hurtbox -onready var softCollision = $SoftCollision -onready var wanderController = $WanderController -onready var animationPlayer = $AnimationPlayer +@onready var sprite = $AnimatedSprite2D +@onready var stats = $Stats +@onready var playerDetectionZone = $PlayerDetectionZone +@onready var hurtbox = $Hurtbox +@onready var softCollision = $SoftCollision +@onready var wanderController = $WanderController +@onready var animationPlayer = $AnimationPlayer func _ready(): state = pick_new_state([IDLE,WANDER]) func _physics_process(delta): knockback = knockback.move_toward(Vector2.ZERO, 200 * delta) - knockback = move_and_slide(knockback) + set_velocity(knockback) + move_and_slide() + knockback = velocity match state: IDLE: @@ -58,7 +60,9 @@ func _physics_process(delta): if softCollision.is_colliding(): velocity += softCollision.get_push_vector() * delta * 400 - velocity = move_and_slide(velocity) + set_velocity(velocity) + move_and_slide() + velocity = velocity func accelerate_towards_point(point,delta): var direction = global_position.direction_to(point) @@ -67,7 +71,7 @@ func accelerate_towards_point(point,delta): func update_wander(): state = pick_new_state([IDLE, WANDER]) - wanderController.start_wander_timer(rand_range(1,3)) + wanderController.start_wander_timer(randf_range(1,3)) func seek_player(): if playerDetectionZone.can_see_player(): @@ -87,7 +91,7 @@ func _on_Hurtbox_area_entered(area): func _on_Stats_no_health(): queue_free() - var enemyDeathEffect = EnemyDeathEffect.instance() + var enemyDeathEffect = EnemyDeathEffect.instantiate() get_parent().add_child(enemyDeathEffect) enemyDeathEffect.global_position = global_position diff --git a/ActionRPG-HeartBeast/Enemies/Bat.png.import b/ActionRPG-HeartBeast/Enemies/Bat.png.import index 59df841..004a37b 100644 --- a/ActionRPG-HeartBeast/Enemies/Bat.png.import +++ b/ActionRPG-HeartBeast/Enemies/Bat.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/Bat.png-38405154cd5b8ff1c5e2fcf1cef1c3e6.stex" +type="CompressedTexture2D" +uid="uid://sia0qera1a0e" +path="res://.godot/imported/Bat.png-38405154cd5b8ff1c5e2fcf1cef1c3e6.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Enemies/Bat.png" -dest_files=[ "res://.import/Bat.png-38405154cd5b8ff1c5e2fcf1cef1c3e6.stex" ] +dest_files=["res://.godot/imported/Bat.png-38405154cd5b8ff1c5e2fcf1cef1c3e6.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Enemies/Bat.tscn b/ActionRPG-HeartBeast/Enemies/Bat.tscn index 2957609..78aaef3 100644 --- a/ActionRPG-HeartBeast/Enemies/Bat.tscn +++ b/ActionRPG-HeartBeast/Enemies/Bat.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=26 format=2] -[ext_resource path="res://Enemies/Bat.png" type="Texture" id=1] -[ext_resource path="res://Shadows/SmallShadow.png" type="Texture" id=2] +[ext_resource path="res://Enemies/Bat.png" type="Texture2D" id=1] +[ext_resource path="res://Shadows/SmallShadow.png" type="Texture2D" id=2] [ext_resource path="res://Overlap/Hurtbox.tscn" type="PackedScene" id=3] [ext_resource path="res://Enemies/Bat.gd" type="Script" id=4] [ext_resource path="res://Stats.tscn" type="PackedScene" id=5] @@ -63,14 +63,14 @@ radius = 5.0 [sub_resource type="Animation" id=13] length = 0.001 tracks/0/type = "value" -tracks/0/path = NodePath("AnimatedSprite:material:shader_param/active") +tracks/0/path = NodePath("AnimatedSprite2D:material:shader_param/active") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array( 0 ), +"transitions": PackedFloat32Array( 1 ), "update": 0, "values": [ false ] } @@ -80,14 +80,14 @@ resource_name = "Start" length = 0.2 loop = true tracks/0/type = "value" -tracks/0/path = NodePath("AnimatedSprite:material:shader_param/active") +tracks/0/path = NodePath("AnimatedSprite2D:material:shader_param/active") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array( 0, 0.1 ), +"transitions": PackedFloat32Array( 1, 1 ), "update": 1, "values": [ true, false ] } @@ -96,23 +96,23 @@ tracks/0/keys = { resource_name = "Stop" length = 0.1 tracks/0/type = "value" -tracks/0/path = NodePath("AnimatedSprite:material:shader_param/active") +tracks/0/path = NodePath("AnimatedSprite2D:material:shader_param/active") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array( 0 ), +"transitions": PackedFloat32Array( 1 ), "update": 1, "values": [ false ] } -[node name="Bat" type="KinematicBody2D"] +[node name="Bat" type="CharacterBody2D"] collision_layer = 16 script = ExtResource( 4 ) -[node name="AnimatedSprite" type="AnimatedSprite" parent="."] +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] material = SubResource( 12 ) frames = SubResource( 6 ) animation = "Fly" @@ -120,7 +120,7 @@ frame = 3 playing = true offset = Vector2( 0, -12 ) -[node name="ShadowSprite" type="Sprite" parent="."] +[node name="ShadowSprite" type="Sprite2D" parent="."] texture = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ActionRPG-HeartBeast/Music and Sounds/EnemyDie.wav.import b/ActionRPG-HeartBeast/Music and Sounds/EnemyDie.wav.import index 571a461..eed6344 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/EnemyDie.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/EnemyDie.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/EnemyDie.wav-a486c87c5ffce10facfdaf6e118ee22d.sample" +type="AudioStreamWAV" +uid="uid://ceo7s8pddaqww" +path="res://.godot/imported/EnemyDie.wav-a486c87c5ffce10facfdaf6e118ee22d.sample" [deps] source_file="res://Music and Sounds/EnemyDie.wav" -dest_files=[ "res://.import/EnemyDie.wav-a486c87c5ffce10facfdaf6e118ee22d.sample" ] +dest_files=["res://.godot/imported/EnemyDie.wav-a486c87c5ffce10facfdaf6e118ee22d.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Evade.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Evade.wav.import index 2a2e6a8..d1030f5 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Evade.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Evade.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Evade.wav-cd612618661f05b5e39dccebc8901a0b.sample" +type="AudioStreamWAV" +uid="uid://dwjvh7kwt62da" +path="res://.godot/imported/Evade.wav-cd612618661f05b5e39dccebc8901a0b.sample" [deps] source_file="res://Music and Sounds/Evade.wav" -dest_files=[ "res://.import/Evade.wav-cd612618661f05b5e39dccebc8901a0b.sample" ] +dest_files=["res://.godot/imported/Evade.wav-cd612618661f05b5e39dccebc8901a0b.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Hit.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Hit.wav.import index 1c1d3f0..fb0629a 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Hit.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Hit.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Hit.wav-0fa8d06aa64f0c3d5cf8be50a2076760.sample" +type="AudioStreamWAV" +uid="uid://ce47h2cdpm1l6" +path="res://.godot/imported/Hit.wav-0fa8d06aa64f0c3d5cf8be50a2076760.sample" [deps] source_file="res://Music and Sounds/Hit.wav" -dest_files=[ "res://.import/Hit.wav-0fa8d06aa64f0c3d5cf8be50a2076760.sample" ] +dest_files=["res://.godot/imported/Hit.wav-0fa8d06aa64f0c3d5cf8be50a2076760.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Hurt.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Hurt.wav.import index bba1ed4..aefed5f 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Hurt.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Hurt.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Hurt.wav-9a8feff0886efa16ed78b7703de45922.sample" +type="AudioStreamWAV" +uid="uid://dln8alqmnwodr" +path="res://.godot/imported/Hurt.wav-9a8feff0886efa16ed78b7703de45922.sample" [deps] source_file="res://Music and Sounds/Hurt.wav" -dest_files=[ "res://.import/Hurt.wav-9a8feff0886efa16ed78b7703de45922.sample" ] +dest_files=["res://.godot/imported/Hurt.wav-9a8feff0886efa16ed78b7703de45922.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Menu Move.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Menu Move.wav.import index 983ccdc..5f2b75f 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Menu Move.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Menu Move.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Menu Move.wav-d97a887eeb77e9f82d0179618aff26aa.sample" +type="AudioStreamWAV" +uid="uid://cy108rbmgusfb" +path="res://.godot/imported/Menu Move.wav-d97a887eeb77e9f82d0179618aff26aa.sample" [deps] source_file="res://Music and Sounds/Menu Move.wav" -dest_files=[ "res://.import/Menu Move.wav-d97a887eeb77e9f82d0179618aff26aa.sample" ] +dest_files=["res://.godot/imported/Menu Move.wav-d97a887eeb77e9f82d0179618aff26aa.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Menu Select.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Menu Select.wav.import index 1568f57..62d9e22 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Menu Select.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Menu Select.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Menu Select.wav-cf35ab6ee2afc13096e6bf584e78dcaf.sample" +type="AudioStreamWAV" +uid="uid://cbd662au7eyfc" +path="res://.godot/imported/Menu Select.wav-cf35ab6ee2afc13096e6bf584e78dcaf.sample" [deps] source_file="res://Music and Sounds/Menu Select.wav" -dest_files=[ "res://.import/Menu Select.wav-cf35ab6ee2afc13096e6bf584e78dcaf.sample" ] +dest_files=["res://.godot/imported/Menu Select.wav-cf35ab6ee2afc13096e6bf584e78dcaf.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Music.mp3.import b/ActionRPG-HeartBeast/Music and Sounds/Music.mp3.import index 831aee5..cdd7f89 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Music.mp3.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Music.mp3.import @@ -2,14 +2,18 @@ importer="mp3" type="AudioStreamMP3" -path="res://.import/Music.mp3-fbb50ed95d66ff7af78edb9c3a8f7b4d.mp3str" +uid="uid://cs4aeddnh0sim" +path="res://.godot/imported/Music.mp3-fbb50ed95d66ff7af78edb9c3a8f7b4d.mp3str" [deps] source_file="res://Music and Sounds/Music.mp3" -dest_files=[ "res://.import/Music.mp3-fbb50ed95d66ff7af78edb9c3a8f7b4d.mp3str" ] +dest_files=["res://.godot/imported/Music.mp3-fbb50ed95d66ff7af78edb9c3a8f7b4d.mp3str"] [params] loop=true loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/ActionRPG-HeartBeast/Music and Sounds/Pause.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Pause.wav.import index 434e6d5..590db50 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Pause.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Pause.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Pause.wav-2283faeb42b74e3f6e4809669cc9a8ab.sample" +type="AudioStreamWAV" +uid="uid://cite3jg1khmgo" +path="res://.godot/imported/Pause.wav-2283faeb42b74e3f6e4809669cc9a8ab.sample" [deps] source_file="res://Music and Sounds/Pause.wav" -dest_files=[ "res://.import/Pause.wav-2283faeb42b74e3f6e4809669cc9a8ab.sample" ] +dest_files=["res://.godot/imported/Pause.wav-2283faeb42b74e3f6e4809669cc9a8ab.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Swipe.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Swipe.wav.import index 413d95a..3f7ff79 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Swipe.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Swipe.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Swipe.wav-1b0f341b1727da219872e70c921da651.sample" +type="AudioStreamWAV" +uid="uid://bo14kc5oajchr" +path="res://.godot/imported/Swipe.wav-1b0f341b1727da219872e70c921da651.sample" [deps] source_file="res://Music and Sounds/Swipe.wav" -dest_files=[ "res://.import/Swipe.wav-1b0f341b1727da219872e70c921da651.sample" ] +dest_files=["res://.godot/imported/Swipe.wav-1b0f341b1727da219872e70c921da651.sample"] [params] diff --git a/ActionRPG-HeartBeast/Music and Sounds/Unpause.wav.import b/ActionRPG-HeartBeast/Music and Sounds/Unpause.wav.import index df77027..ab16294 100644 --- a/ActionRPG-HeartBeast/Music and Sounds/Unpause.wav.import +++ b/ActionRPG-HeartBeast/Music and Sounds/Unpause.wav.import @@ -1,13 +1,14 @@ [remap] importer="wav" -type="AudioStreamSample" -path="res://.import/Unpause.wav-804d58e6ee88c8f6467ca3b5bea5857f.sample" +type="AudioStreamWAV" +uid="uid://dlpqwfvttceok" +path="res://.godot/imported/Unpause.wav-804d58e6ee88c8f6467ca3b5bea5857f.sample" [deps] source_file="res://Music and Sounds/Unpause.wav" -dest_files=[ "res://.import/Unpause.wav-804d58e6ee88c8f6467ca3b5bea5857f.sample" ] +dest_files=["res://.godot/imported/Unpause.wav-804d58e6ee88c8f6467ca3b5bea5857f.sample"] [params] diff --git a/ActionRPG-HeartBeast/Overlap/Hitbox.gd b/ActionRPG-HeartBeast/Overlap/Hitbox.gd index 9432eae..a7cfe95 100644 --- a/ActionRPG-HeartBeast/Overlap/Hitbox.gd +++ b/ActionRPG-HeartBeast/Overlap/Hitbox.gd @@ -1,3 +1,3 @@ extends Area2D -export var damage = 1 +@export var damage = 1 diff --git a/ActionRPG-HeartBeast/Overlap/Hurtbox.gd b/ActionRPG-HeartBeast/Overlap/Hurtbox.gd index da32e3d..33e262d 100644 --- a/ActionRPG-HeartBeast/Overlap/Hurtbox.gd +++ b/ActionRPG-HeartBeast/Overlap/Hurtbox.gd @@ -2,10 +2,10 @@ extends Area2D const HitEffect = preload("res://Effects/HitEffect.tscn") -var invincible = false setget set_invincible +var invincible = false: set = set_invincible -onready var timer = $Timer -onready var collisionShape = $CollisionShape2D +@onready var timer = $Timer +@onready var collisionShape = $CollisionShape2D signal invincibility_started signal invincibility_ended @@ -21,7 +21,7 @@ func start_invincibility(duration): timer.start(duration) func create_hit_effect(): - var effect = HitEffect.instance() + var effect = HitEffect.instantiate() var main = get_tree().current_scene main.add_child(effect) effect.global_position = global_position diff --git a/ActionRPG-HeartBeast/Overlap/WanderController.gd b/ActionRPG-HeartBeast/Overlap/WanderController.gd index de0bb3c..d236bf3 100644 --- a/ActionRPG-HeartBeast/Overlap/WanderController.gd +++ b/ActionRPG-HeartBeast/Overlap/WanderController.gd @@ -1,17 +1,17 @@ extends Node2D -export(int) var wander_range = 32 +@export var wander_range: int = 32 -onready var start_position = global_position -onready var target_position = global_position +@onready var start_position = global_position +@onready var target_position = global_position -onready var timer = $Timer +@onready var timer = $Timer func _ready(): update_target_position() func update_target_position(): - var target_vector = Vector2(rand_range(-wander_range,wander_range), rand_range(-wander_range,wander_range)) + var target_vector = Vector2(randf_range(-wander_range,wander_range), randf_range(-wander_range,wander_range)) target_position = start_position + target_vector func get_time_left(): diff --git a/ActionRPG-HeartBeast/Player/Player.gd b/ActionRPG-HeartBeast/Player/Player.gd index db70376..0337a26 100644 --- a/ActionRPG-HeartBeast/Player/Player.gd +++ b/ActionRPG-HeartBeast/Player/Player.gd @@ -1,12 +1,9 @@ -extends KinematicBody2D - -const PlayerHurtSound = preload("res://Player/PlayerHurtSound.tscn") - -var velocity = Vector2.ZERO var input_vector = Vector2.ZERO var roll_vector = Vector2.DOWN var stats = PlayerStats +const PlayerHurtSound = preload("res://Player/PlayerHurtSound.tscn") + const ACCELERATION = 500 const MAX_SPEED = 80 const ROLL_SPEED = 120 @@ -20,15 +17,15 @@ enum { var state = MOVE -onready var animationPlayer = $AnimationPlayer -onready var blinkAnimationPlayer = $BlinkAnimationPlayer -onready var animationTree = $AnimationTree -onready var animationState = animationTree.get("parameters/playback") -onready var swordHitbox = $HitboxPivot/SwordHitbox -onready var hurtBox = $Hurtbox +@onready var animationPlayer = $AnimationPlayer +@onready var blinkAnimationPlayer = $BlinkAnimationPlayer +@onready var animationTree = $AnimationTree +@onready var animationState = animationTree.get("parameters/playback") +@onready var swordHitbox = $HitboxPivot/SwordHitbox +@onready var hurtBox = $Hurtbox func _ready(): - stats.connect("no_health", self, "queue_free") + stats.connect("no_health", Callable(self, "queue_free")) animationTree.active = true swordHitbox.knockback_vector = roll_vector blinkAnimationPlayer.play("Stop") @@ -89,7 +86,9 @@ func attack_state(): #velocity = move_and_slide(velocity) func move(): - velocity = move_and_slide(velocity) + set_velocity(velocity) + move_and_slide() + velocity = velocity func attack_aninimation_finished(): state = MOVE @@ -103,7 +102,7 @@ func _on_Hurtbox_area_entered(_area): stats.health -= 1 hurtBox.start_invincibility(0.6) hurtBox.create_hit_effect() - var playerHurtSounds = PlayerHurtSound.instance() + var playerHurtSounds = PlayerHurtSound.instantiate() get_tree().current_scene.add_child(playerHurtSounds) diff --git a/ActionRPG-HeartBeast/Player/Player.png.import b/ActionRPG-HeartBeast/Player/Player.png.import index 02fa658..f735724 100644 --- a/ActionRPG-HeartBeast/Player/Player.png.import +++ b/ActionRPG-HeartBeast/Player/Player.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/Player.png-3d0801c65bdfc563657cfa304115f1c7.stex" +type="CompressedTexture2D" +uid="uid://7uqxws8djwvh" +path="res://.godot/imported/Player.png-3d0801c65bdfc563657cfa304115f1c7.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Player/Player.png" -dest_files=[ "res://.import/Player.png-3d0801c65bdfc563657cfa304115f1c7.stex" ] +dest_files=["res://.godot/imported/Player.png-3d0801c65bdfc563657cfa304115f1c7.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Player/Player.tscn b/ActionRPG-HeartBeast/Player/Player.tscn index d9445d4..e571370 100644 --- a/ActionRPG-HeartBeast/Player/Player.tscn +++ b/ActionRPG-HeartBeast/Player/Player.tscn @@ -1,924 +1,938 @@ -[gd_scene load_steps=64 format=2] +[gd_scene load_steps=65 format=3 uid="uid://clt214vwnqrba"] -[ext_resource path="res://Player/Player.gd" type="Script" id=1] -[ext_resource path="res://Player/Player.png" type="Texture" id=2] -[ext_resource path="res://Overlap/Hitbox.tscn" type="PackedScene" id=3] -[ext_resource path="res://Player/SwordHitbox.gd" type="Script" id=4] -[ext_resource path="res://Overlap/Hurtbox.tscn" type="PackedScene" id=5] -[ext_resource path="res://Shadows/MediumShadow.png" type="Texture" id=6] -[ext_resource path="res://Music and Sounds/Swipe.wav" type="AudioStream" id=7] -[ext_resource path="res://Music and Sounds/Evade.wav" type="AudioStream" id=8] -[ext_resource path="res://WhiteColor_shader.tres" type="Shader" id=9] +[ext_resource type="Script" path="res://Player/Player.gd" id="1"] +[ext_resource type="Texture2D" uid="uid://7uqxws8djwvh" path="res://Player/Player.png" id="2"] +[ext_resource type="PackedScene" path="res://Overlap/Hitbox.tscn" id="3"] +[ext_resource type="Script" path="res://Player/SwordHitbox.gd" id="4"] +[ext_resource type="PackedScene" path="res://Overlap/Hurtbox.tscn" id="5"] +[ext_resource type="Texture2D" uid="uid://bb222608451qy" path="res://Shadows/MediumShadow.png" id="6"] +[ext_resource type="AudioStream" uid="uid://bo14kc5oajchr" path="res://Music and Sounds/Swipe.wav" id="7"] +[ext_resource type="AudioStream" uid="uid://dwjvh7kwt62da" path="res://Music and Sounds/Evade.wav" id="8"] +[ext_resource type="Shader" path="res://WhiteColor_shader.tres" id="9"] -[sub_resource type="ShaderMaterial" id=55] -shader = ExtResource( 9 ) -shader_param/active = true +[sub_resource type="ShaderMaterial" id="55"] +shader = ExtResource("9") +shader_parameter/active = true -[sub_resource type="CapsuleShape2D" id=1] -radius = 4.0 +[sub_resource type="CapsuleShape2D" id="1"] +radius = 2.0 height = 4.0 -[sub_resource type="Animation" id=27] +[sub_resource type="Animation" id="27"] resource_name = "AttackDown" length = 0.4 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ), -"transitions": PoolRealArray( 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3), +"transitions": PackedFloat32Array(1, 1, 1, 1), "update": 1, -"values": [ 36, 37, 38, 39 ] +"values": [36, 37, 38, 39] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.4 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "attack_aninimation_finished" -} ] +"times": PackedFloat32Array(0.4), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"attack_aninimation_finished" +}] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("HitboxPivot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ 90.0 ] +"values": [90.0] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("HitboxPivot/SwordHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { -"times": PoolRealArray( 0.1, 0.4 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array(0.1, 0.4), +"transitions": PackedFloat32Array(1, 1), "update": 1, -"values": [ false, true ] +"values": [false, true] } tracks/4/type = "audio" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("AudioStreamPlayer") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 7 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("7") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/4/use_blend = true -[sub_resource type="Animation" id=28] +[sub_resource type="Animation" id="28"] resource_name = "AttackLeft" length = 0.4 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ), -"transitions": PoolRealArray( 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3), +"transitions": PackedFloat32Array(1, 1, 1, 1), "update": 1, -"values": [ 32, 33, 34, 35 ] +"values": [32, 33, 34, 35] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.4 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "attack_aninimation_finished" -} ] +"times": PackedFloat32Array(0.4), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"attack_aninimation_finished" +}] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("HitboxPivot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ 180.0 ] +"values": [180.0] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("HitboxPivot/SwordHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { -"times": PoolRealArray( 0.1, 0.4 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array(0.1, 0.4), +"transitions": PackedFloat32Array(1, 1), "update": 1, -"values": [ false, true ] +"values": [false, true] } tracks/4/type = "audio" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("AudioStreamPlayer") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 7 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("7") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/4/use_blend = true -[sub_resource type="Animation" id=29] +[sub_resource type="Animation" id="29"] resource_name = "AttackRight" length = 0.4 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.100979, 0.2, 0.3 ), -"transitions": PoolRealArray( 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.100979, 0.2, 0.3), +"transitions": PackedFloat32Array(1, 1, 1, 1), "update": 1, -"values": [ 24, 25, 26, 27 ] +"values": [24, 25, 26, 27] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.4 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "attack_aninimation_finished" -} ] +"times": PackedFloat32Array(0.4), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"attack_aninimation_finished" +}] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("HitboxPivot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ 0.0 ] +"values": [0.0] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("HitboxPivot/SwordHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { -"times": PoolRealArray( 0.1, 0.4 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array(0.1, 0.4), +"transitions": PackedFloat32Array(1, 1), "update": 1, -"values": [ false, true ] +"values": [false, true] } tracks/4/type = "audio" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("AudioStreamPlayer") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 7 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("7") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/4/use_blend = true -[sub_resource type="Animation" id=30] +[sub_resource type="Animation" id="30"] resource_name = "AttackUp" length = 0.4 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ), -"transitions": PoolRealArray( 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3), +"transitions": PackedFloat32Array(1, 1, 1, 1), "update": 1, -"values": [ 28, 29, 30, 31 ] +"values": [28, 29, 30, 31] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.4 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "attack_aninimation_finished" -} ] +"times": PackedFloat32Array(0.4), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"attack_aninimation_finished" +}] } tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("HitboxPivot:rotation_degrees") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ 270.0 ] +"values": [270.0] } tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true tracks/3/path = NodePath("HitboxPivot/SwordHitbox/CollisionShape2D:disabled") tracks/3/interp = 1 tracks/3/loop_wrap = true -tracks/3/imported = false -tracks/3/enabled = true tracks/3/keys = { -"times": PoolRealArray( 0.106438, 0.4 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array(0.106438, 0.4), +"transitions": PackedFloat32Array(1, 1), "update": 1, -"values": [ false, true ] +"values": [false, true] } tracks/4/type = "audio" +tracks/4/imported = false +tracks/4/enabled = true tracks/4/path = NodePath("AudioStreamPlayer") tracks/4/interp = 1 tracks/4/loop_wrap = true -tracks/4/imported = false -tracks/4/enabled = true tracks/4/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 7 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("7") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/4/use_blend = true -[sub_resource type="Animation" id=9] +[sub_resource type="Animation" id="9"] resource_name = "IdleDown" length = 0.1 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 1, -"values": [ 18 ] +"values": [18] } -[sub_resource type="Animation" id=10] +[sub_resource type="Animation" id="10"] resource_name = "IdleLeft" length = 0.1 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 1, -"values": [ 12 ] +"values": [12] } -[sub_resource type="Animation" id=7] +[sub_resource type="Animation" id="7"] resource_name = "IdleRight" length = 0.1 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0.1 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0.1), +"transitions": PackedFloat32Array(1), "update": 1, -"values": [ 0 ] +"values": [0] } -[sub_resource type="Animation" id=8] +[sub_resource type="Animation" id="8"] resource_name = "IdleUp" length = 0.1 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 1, -"values": [ 6 ] +"values": [6] } -[sub_resource type="Animation" id=2] +[sub_resource type="Animation" id="2"] length = 0.001 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ 0 ] +"values": [0] } tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath("HitboxPivot/SwordHitbox/CollisionShape2D:disabled") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ true ] +"values": [true] } -[sub_resource type="Animation" id=41] +[sub_resource type="Animation" id="41"] resource_name = "RollDown" length = 0.5 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 1, -"values": [ 55, 56, 57, 58, 59 ] +"values": [55, 56, 57, 58, 59] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.499905 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "roll_animation_finished" -} ] +"times": PackedFloat32Array(0.499905), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"roll_animation_finished" +}] } tracks/2/type = "audio" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("AudioStreamPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 8 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("8") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/2/use_blend = true -[sub_resource type="Animation" id=43] +[sub_resource type="Animation" id="43"] resource_name = "RollLeft" length = 0.5 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 1, -"values": [ 50, 51, 52, 53, 54 ] +"values": [50, 51, 52, 53, 54] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.500823 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "roll_animation_finished" -} ] +"times": PackedFloat32Array(0.500823), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"roll_animation_finished" +}] } tracks/2/type = "audio" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("AudioStreamPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 8 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("8") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/2/use_blend = true -[sub_resource type="Animation" id=42] +[sub_resource type="Animation" id="42"] resource_name = "RollRight" length = 0.5 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 1, -"values": [ 40, 41, 42, 43, 44 ] +"values": [40, 41, 42, 43, 44] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.500364 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "roll_animation_finished" -} ] +"times": PackedFloat32Array(0.500364), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"roll_animation_finished" +}] } tracks/2/type = "audio" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("AudioStreamPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 8 ) -} ], -"times": PoolRealArray( 0.1 ) +"stream": ExtResource("8") +}], +"times": PackedFloat32Array(0.1) } +tracks/2/use_blend = true -[sub_resource type="Animation" id=44] +[sub_resource type="Animation" id="44"] resource_name = "RollUp" length = 0.5 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 1, -"values": [ 45, 46, 47, 48, 49 ] +"values": [45, 46, 47, 48, 49] } tracks/1/type = "method" +tracks/1/imported = false +tracks/1/enabled = true tracks/1/path = NodePath(".") tracks/1/interp = 1 tracks/1/loop_wrap = true -tracks/1/imported = false -tracks/1/enabled = true tracks/1/keys = { -"times": PoolRealArray( 0.501281 ), -"transitions": PoolRealArray( 1 ), -"values": [ { -"args": [ ], -"method": "roll_animation_finished" -} ] +"times": PackedFloat32Array(0.501281), +"transitions": PackedFloat32Array(1), +"values": [{ +"args": [], +"method": &"roll_animation_finished" +}] } tracks/2/type = "audio" +tracks/2/imported = false +tracks/2/enabled = true tracks/2/path = NodePath("AudioStreamPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true -tracks/2/imported = false -tracks/2/enabled = true tracks/2/keys = { -"clips": [ { +"clips": [{ "end_offset": 0.0, "start_offset": 0.0, "stream": null }, { "end_offset": 0.0, "start_offset": 0.0, -"stream": ExtResource( 8 ) -} ], -"times": PoolRealArray( 0.1, 0.101 ) +"stream": ExtResource("8") +}], +"times": PackedFloat32Array(0.1, 0.101) } +tracks/2/use_blend = true -[sub_resource type="Animation" id=6] +[sub_resource type="Animation" id="6"] resource_name = "RunDown" length = 0.6 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, -"values": [ 19, 19, 21, 22, 23, 18 ] +"values": [19, 19, 21, 22, 23, 18] } -[sub_resource type="Animation" id=4] +[sub_resource type="Animation" id="4"] resource_name = "RunLeft" length = 0.6 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, -"values": [ 13, 14, 15, 16, 17, 12 ] +"values": [13, 14, 15, 16, 17, 12] } -[sub_resource type="Animation" id=3] +[sub_resource type="Animation" id="3"] resource_name = "RunRight" length = 0.6 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, -"values": [ 1, 2, 3, 4, 5, 0 ] +"values": [1, 2, 3, 4, 5, 0] } -[sub_resource type="Animation" id=5] +[sub_resource type="Animation" id="5"] resource_name = "RunUp" length = 0.6 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:frame") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), -"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5), +"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1), "update": 1, -"values": [ 7, 8, 9, 10, 11, 7 ] +"values": [7, 8, 9, 10, 11, 7] } -[sub_resource type="AnimationNodeAnimation" id=31] -animation = "AttackLeft" +[sub_resource type="AnimationLibrary" id="AnimationLibrary_64k0f"] +_data = { +"AttackDown": SubResource("27"), +"AttackLeft": SubResource("28"), +"AttackRight": SubResource("29"), +"AttackUp": SubResource("30"), +"IdleDown": SubResource("9"), +"IdleLeft": SubResource("10"), +"IdleRight": SubResource("7"), +"IdleUp": SubResource("8"), +"RESET": SubResource("2"), +"RollDown": SubResource("41"), +"RollLeft": SubResource("43"), +"RollRight": SubResource("42"), +"RollUp": SubResource("44"), +"RunDown": SubResource("6"), +"RunLeft": SubResource("4"), +"RunRight": SubResource("3"), +"RunUp": SubResource("5") +} -[sub_resource type="AnimationNodeAnimation" id=32] -animation = "AttackDown" +[sub_resource type="AnimationNodeAnimation" id="31"] +animation = &"AttackLeft" -[sub_resource type="AnimationNodeAnimation" id=33] -animation = "AttackRight" +[sub_resource type="AnimationNodeAnimation" id="32"] +animation = &"AttackDown" -[sub_resource type="AnimationNodeAnimation" id=34] -animation = "AttackUp" +[sub_resource type="AnimationNodeAnimation" id="33"] +animation = &"AttackRight" -[sub_resource type="AnimationNodeBlendSpace2D" id=35] -blend_point_0/node = SubResource( 31 ) -blend_point_0/pos = Vector2( -1, 0 ) -blend_point_1/node = SubResource( 32 ) -blend_point_1/pos = Vector2( 0, 1.1 ) -blend_point_2/node = SubResource( 33 ) -blend_point_2/pos = Vector2( 1, 0 ) -blend_point_3/node = SubResource( 34 ) -blend_point_3/pos = Vector2( 0, -1.1 ) -min_space = Vector2( -1, -1.1 ) -max_space = Vector2( 1, 1.1 ) +[sub_resource type="AnimationNodeAnimation" id="34"] +animation = &"AttackUp" + +[sub_resource type="AnimationNodeBlendSpace2D" id="35"] +blend_point_0/node = SubResource("31") +blend_point_0/pos = Vector2(-1, 0) +blend_point_1/node = SubResource("32") +blend_point_1/pos = Vector2(0, 1.1) +blend_point_2/node = SubResource("33") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("34") +blend_point_3/pos = Vector2(0, -1.1) +min_space = Vector2(-1, -1.1) +max_space = Vector2(1, 1.1) blend_mode = 1 -[sub_resource type="AnimationNodeAnimation" id=11] -animation = "IdleLeft" +[sub_resource type="AnimationNodeAnimation" id="11"] +animation = &"IdleLeft" -[sub_resource type="AnimationNodeAnimation" id=12] -animation = "IdleDown" +[sub_resource type="AnimationNodeAnimation" id="12"] +animation = &"IdleDown" -[sub_resource type="AnimationNodeAnimation" id=13] -animation = "IdleRight" +[sub_resource type="AnimationNodeAnimation" id="13"] +animation = &"IdleRight" -[sub_resource type="AnimationNodeAnimation" id=14] -animation = "IdleUp" +[sub_resource type="AnimationNodeAnimation" id="14"] +animation = &"IdleUp" -[sub_resource type="AnimationNodeBlendSpace2D" id=15] -blend_point_0/node = SubResource( 11 ) -blend_point_0/pos = Vector2( -1, 0 ) -blend_point_1/node = SubResource( 12 ) -blend_point_1/pos = Vector2( 0, 1.1 ) -blend_point_2/node = SubResource( 13 ) -blend_point_2/pos = Vector2( 1, 0 ) -blend_point_3/node = SubResource( 14 ) -blend_point_3/pos = Vector2( 0, -1.1 ) -min_space = Vector2( -1, -1.1 ) -max_space = Vector2( 1, 1.1 ) +[sub_resource type="AnimationNodeBlendSpace2D" id="15"] +blend_point_0/node = SubResource("11") +blend_point_0/pos = Vector2(-1, 0) +blend_point_1/node = SubResource("12") +blend_point_1/pos = Vector2(0, 1.1) +blend_point_2/node = SubResource("13") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("14") +blend_point_3/pos = Vector2(0, -1.1) +min_space = Vector2(-1, -1.1) +max_space = Vector2(1, 1.1) blend_mode = 1 -[sub_resource type="AnimationNodeAnimation" id=45] -animation = "RollLeft" +[sub_resource type="AnimationNodeAnimation" id="45"] +animation = &"RollLeft" -[sub_resource type="AnimationNodeAnimation" id=46] -animation = "RollDown" +[sub_resource type="AnimationNodeAnimation" id="46"] +animation = &"RollDown" -[sub_resource type="AnimationNodeAnimation" id=47] -animation = "RollRight" +[sub_resource type="AnimationNodeAnimation" id="47"] +animation = &"RollRight" -[sub_resource type="AnimationNodeAnimation" id=48] -animation = "RollUp" +[sub_resource type="AnimationNodeAnimation" id="48"] +animation = &"RollUp" -[sub_resource type="AnimationNodeBlendSpace2D" id=49] -blend_point_0/node = SubResource( 45 ) -blend_point_0/pos = Vector2( -1, 0 ) -blend_point_1/node = SubResource( 46 ) -blend_point_1/pos = Vector2( 0, 1.1 ) -blend_point_2/node = SubResource( 47 ) -blend_point_2/pos = Vector2( 1, 0 ) -blend_point_3/node = SubResource( 48 ) -blend_point_3/pos = Vector2( 0, -1.1 ) -min_space = Vector2( -1, -1.1 ) -max_space = Vector2( 1, 1.1 ) +[sub_resource type="AnimationNodeBlendSpace2D" id="49"] +blend_point_0/node = SubResource("45") +blend_point_0/pos = Vector2(-1, 0) +blend_point_1/node = SubResource("46") +blend_point_1/pos = Vector2(0, 1.1) +blend_point_2/node = SubResource("47") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("48") +blend_point_3/pos = Vector2(0, -1.1) +min_space = Vector2(-1, -1.1) +max_space = Vector2(1, 1.1) blend_mode = 1 -[sub_resource type="AnimationNodeAnimation" id=20] -animation = "RunLeft" +[sub_resource type="AnimationNodeAnimation" id="20"] +animation = &"RunLeft" -[sub_resource type="AnimationNodeAnimation" id=21] -animation = "RunDown" +[sub_resource type="AnimationNodeAnimation" id="21"] +animation = &"RunDown" -[sub_resource type="AnimationNodeAnimation" id=22] -animation = "RunRight" +[sub_resource type="AnimationNodeAnimation" id="22"] +animation = &"RunRight" -[sub_resource type="AnimationNodeAnimation" id=23] -animation = "RunUp" +[sub_resource type="AnimationNodeAnimation" id="23"] +animation = &"RunUp" -[sub_resource type="AnimationNodeBlendSpace2D" id=24] -blend_point_0/node = SubResource( 20 ) -blend_point_0/pos = Vector2( -1, 0 ) -blend_point_1/node = SubResource( 21 ) -blend_point_1/pos = Vector2( 0, 1.1 ) -blend_point_2/node = SubResource( 22 ) -blend_point_2/pos = Vector2( 1, 0 ) -blend_point_3/node = SubResource( 23 ) -blend_point_3/pos = Vector2( 0, -1.1 ) -min_space = Vector2( -1, -1.1 ) -max_space = Vector2( 1, 1.1 ) +[sub_resource type="AnimationNodeBlendSpace2D" id="24"] +blend_point_0/node = SubResource("20") +blend_point_0/pos = Vector2(-1, 0) +blend_point_1/node = SubResource("21") +blend_point_1/pos = Vector2(0, 1.1) +blend_point_2/node = SubResource("22") +blend_point_2/pos = Vector2(1, 0) +blend_point_3/node = SubResource("23") +blend_point_3/pos = Vector2(0, -1.1) +min_space = Vector2(-1, -1.1) +max_space = Vector2(1, 1.1) blend_mode = 1 -[sub_resource type="AnimationNodeStateMachineTransition" id=25] +[sub_resource type="AnimationNodeStateMachineTransition" id="25"] -[sub_resource type="AnimationNodeStateMachineTransition" id=26] +[sub_resource type="AnimationNodeStateMachineTransition" id="26"] -[sub_resource type="AnimationNodeStateMachineTransition" id=36] +[sub_resource type="AnimationNodeStateMachineTransition" id="36"] -[sub_resource type="AnimationNodeStateMachineTransition" id=37] +[sub_resource type="AnimationNodeStateMachineTransition" id="37"] -[sub_resource type="AnimationNodeStateMachineTransition" id=38] +[sub_resource type="AnimationNodeStateMachineTransition" id="38"] -[sub_resource type="AnimationNodeStateMachineTransition" id=39] +[sub_resource type="AnimationNodeStateMachineTransition" id="39"] -[sub_resource type="AnimationNodeStateMachineTransition" id=50] +[sub_resource type="AnimationNodeStateMachineTransition" id="50"] -[sub_resource type="AnimationNodeStateMachineTransition" id=51] +[sub_resource type="AnimationNodeStateMachineTransition" id="51"] -[sub_resource type="AnimationNodeStateMachine" id=18] -states/Attack/node = SubResource( 35 ) -states/Attack/position = Vector2( 321.375, 203.5 ) -states/Idle/node = SubResource( 15 ) -states/Idle/position = Vector2( 323.5, 96.2812 ) -states/Roll/node = SubResource( 49 ) -states/Roll/position = Vector2( 325, -25.5 ) -states/Run/node = SubResource( 24 ) -states/Run/position = Vector2( 509.5, 96.5 ) -transitions = [ "Run", "Idle", SubResource( 25 ), "Idle", "Run", SubResource( 26 ), "Idle", "Attack", SubResource( 36 ), "Attack", "Idle", SubResource( 37 ), "Attack", "Run", SubResource( 38 ), "Run", "Attack", SubResource( 39 ), "Roll", "Idle", SubResource( 50 ), "Idle", "Roll", SubResource( 51 ) ] -start_node = "Idle" -graph_offset = Vector2( -10, -78 ) +[sub_resource type="AnimationNodeStateMachine" id="18"] +states/Attack/node = SubResource("35") +states/Attack/position = Vector2(321.375, 203.5) +states/Idle/node = SubResource("15") +states/Idle/position = Vector2(323.5, 96.2812) +states/Roll/node = SubResource("49") +states/Roll/position = Vector2(325, -25.5) +states/Run/node = SubResource("24") +states/Run/position = Vector2(509.5, 96.5) +transitions = ["Run", "Idle", SubResource("25"), "Idle", "Run", SubResource("26"), "Idle", "Attack", SubResource("36"), "Attack", "Idle", SubResource("37"), "Attack", "Run", SubResource("38"), "Run", "Attack", SubResource("39"), "Roll", "Idle", SubResource("50"), "Idle", "Roll", SubResource("51")] +graph_offset = Vector2(-10, -78) -[sub_resource type="AnimationNodeStateMachinePlayback" id=19] - -[sub_resource type="CapsuleShape2D" id=40] +[sub_resource type="CapsuleShape2D" id="40"] +radius = 6.0 height = 12.0 -[sub_resource type="CapsuleShape2D" id=52] -radius = 5.0 +[sub_resource type="CapsuleShape2D" id="52"] +radius = 3.0 height = 6.0 -[sub_resource type="Animation" id=56] +[sub_resource type="Animation" id="56"] length = 0.001 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:material:shader_param/active") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:material:shader_param/active") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 0, -"values": [ true ] +"values": [true] } -[sub_resource type="Animation" id=53] +[sub_resource type="Animation" id="53"] resource_name = "Start" length = 0.2 -loop = true +loop_mode = 1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:material:shader_param/active") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:material:shader_param/active") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0, 0.1 ), -"transitions": PoolRealArray( 1, 1 ), +"times": PackedFloat32Array(0, 0.1), +"transitions": PackedFloat32Array(1, 1), "update": 1, -"values": [ true, false ] +"values": [true, false] } -[sub_resource type="Animation" id=54] +[sub_resource type="Animation" id="54"] resource_name = "Stop" length = 0.1 tracks/0/type = "value" -tracks/0/path = NodePath("Sprite:material:shader_param/active") -tracks/0/interp = 1 -tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true +tracks/0/path = NodePath("Sprite2D:material:shader_param/active") +tracks/0/interp = 1 +tracks/0/loop_wrap = true tracks/0/keys = { -"times": PoolRealArray( 0 ), -"transitions": PoolRealArray( 1 ), +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), "update": 1, -"values": [ false ] +"values": [false] } -[node name="Player" type="KinematicBody2D"] +[sub_resource type="AnimationLibrary" id="AnimationLibrary_wmxcy"] +_data = { +"RESET": SubResource("56"), +"Start": SubResource("53"), +"Stop": SubResource("54") +} + +[node name="Player" type="CharacterBody2D"] collision_layer = 2 -script = ExtResource( 1 ) +script = ExtResource("1") -[node name="ShadowSprite" type="Sprite" parent="."] -position = Vector2( 0, 1 ) -texture = ExtResource( 6 ) +[node name="ShadowSprite" type="Sprite2D" parent="."] +position = Vector2(0, 1) +texture = ExtResource("6") -[node name="Sprite" type="Sprite" parent="."] -material = SubResource( 55 ) -position = Vector2( 0, -9 ) -texture = ExtResource( 2 ) +[node name="Sprite2D" type="Sprite2D" parent="."] +material = SubResource("55") +position = Vector2(0, -9) +texture = ExtResource("2") hframes = 60 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] rotation = -1.5708 -shape = SubResource( 1 ) +shape = SubResource("1") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] -anims/AttackDown = SubResource( 27 ) -anims/AttackLeft = SubResource( 28 ) -anims/AttackRight = SubResource( 29 ) -anims/AttackUp = SubResource( 30 ) -anims/IdleDown = SubResource( 9 ) -anims/IdleLeft = SubResource( 10 ) -anims/IdleRight = SubResource( 7 ) -anims/IdleUp = SubResource( 8 ) -anims/RESET = SubResource( 2 ) -anims/RollDown = SubResource( 41 ) -anims/RollLeft = SubResource( 43 ) -anims/RollRight = SubResource( 42 ) -anims/RollUp = SubResource( 44 ) -anims/RunDown = SubResource( 6 ) -anims/RunLeft = SubResource( 4 ) -anims/RunRight = SubResource( 3 ) -anims/RunUp = SubResource( 5 ) - -[node name="AnimationTree" type="AnimationTree" parent="."] -tree_root = SubResource( 18 ) -anim_player = NodePath("../AnimationPlayer") -parameters/playback = SubResource( 19 ) -parameters/Attack/blend_position = Vector2( 0, 1 ) -parameters/Idle/blend_position = Vector2( 0, 1 ) -parameters/Roll/blend_position = Vector2( 0, 1 ) -parameters/Run/blend_position = Vector2( 0, 1 ) - -[node name="HitboxPivot" type="Position2D" parent="."] -position = Vector2( 0, -4 ) -rotation = 4.71239 -__meta__ = { -"_gizmo_extents_": 8.0 +libraries = { +"": SubResource("AnimationLibrary_64k0f") } -[node name="SwordHitbox" parent="HitboxPivot" instance=ExtResource( 3 )] -position = Vector2( 15, 0 ) +[node name="AnimationTree" type="AnimationTree" parent="."] +tree_root = SubResource("18") +anim_player = NodePath("../AnimationPlayer") +parameters/Attack/blend_position = Vector2(0, 1) +parameters/Idle/blend_position = Vector2(0, 1) +parameters/Roll/blend_position = Vector2(0, 1) +parameters/Run/blend_position = Vector2(0, 1) + +[node name="HitboxPivot" type="Marker2D" parent="."] +position = Vector2(0, -4) + +[node name="SwordHitbox" parent="HitboxPivot" instance=ExtResource("3")] +position = Vector2(15, 0) collision_mask = 8 -script = ExtResource( 4 ) +script = ExtResource("4") [node name="CollisionShape2D" parent="HitboxPivot/SwordHitbox" index="0"] -shape = SubResource( 40 ) +shape = SubResource("40") disabled = true -[node name="Hurtbox" parent="." instance=ExtResource( 5 )] +[node name="Hurtbox" parent="." instance=ExtResource("5")] collision_layer = 4 [node name="CollisionShape2D" parent="Hurtbox" index="0"] -position = Vector2( 0, -4 ) -shape = SubResource( 52 ) +position = Vector2(0, -4) +shape = SubResource("52") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] -stream = ExtResource( 8 ) [node name="BlinkAnimationPlayer" type="AnimationPlayer" parent="."] -anims/RESET = SubResource( 56 ) -anims/Start = SubResource( 53 ) -anims/Stop = SubResource( 54 ) +libraries = { +"": SubResource("AnimationLibrary_wmxcy") +} [connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"] [connection signal="invincibility_ended" from="Hurtbox" to="." method="_on_Hurtbox_invincibility_ended"] diff --git a/ActionRPG-HeartBeast/Player/PlayerHurtSound.gd b/ActionRPG-HeartBeast/Player/PlayerHurtSound.gd index 26af586..3236d40 100644 --- a/ActionRPG-HeartBeast/Player/PlayerHurtSound.gd +++ b/ActionRPG-HeartBeast/Player/PlayerHurtSound.gd @@ -8,7 +8,7 @@ extends AudioStreamPlayer # Called when the node enters the scene tree for the first time. func _ready(): - connect("finished", self, "queue_free") + connect("finished", Callable(self, "queue_free")) # Called every frame. 'delta' is the elapsed time since the previous frame. diff --git a/ActionRPG-HeartBeast/Shadows/LargeShadow.png.import b/ActionRPG-HeartBeast/Shadows/LargeShadow.png.import index 2646d2f..7a78fe7 100644 --- a/ActionRPG-HeartBeast/Shadows/LargeShadow.png.import +++ b/ActionRPG-HeartBeast/Shadows/LargeShadow.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/LargeShadow.png-f9f465d3bd6a830d0053dcccc744b5ab.stex" +type="CompressedTexture2D" +uid="uid://cgr81av5lcoki" +path="res://.godot/imported/LargeShadow.png-f9f465d3bd6a830d0053dcccc744b5ab.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Shadows/LargeShadow.png" -dest_files=[ "res://.import/LargeShadow.png-f9f465d3bd6a830d0053dcccc744b5ab.stex" ] +dest_files=["res://.godot/imported/LargeShadow.png-f9f465d3bd6a830d0053dcccc744b5ab.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Shadows/MediumShadow.png.import b/ActionRPG-HeartBeast/Shadows/MediumShadow.png.import index 49be7fe..198d361 100644 --- a/ActionRPG-HeartBeast/Shadows/MediumShadow.png.import +++ b/ActionRPG-HeartBeast/Shadows/MediumShadow.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/MediumShadow.png-a006169ce9c485f0f94bc7dc3bc8473f.stex" +type="CompressedTexture2D" +uid="uid://bb222608451qy" +path="res://.godot/imported/MediumShadow.png-a006169ce9c485f0f94bc7dc3bc8473f.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Shadows/MediumShadow.png" -dest_files=[ "res://.import/MediumShadow.png-a006169ce9c485f0f94bc7dc3bc8473f.stex" ] +dest_files=["res://.godot/imported/MediumShadow.png-a006169ce9c485f0f94bc7dc3bc8473f.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Shadows/SmallShadow.png.import b/ActionRPG-HeartBeast/Shadows/SmallShadow.png.import index 683ee6e..c1b606a 100644 --- a/ActionRPG-HeartBeast/Shadows/SmallShadow.png.import +++ b/ActionRPG-HeartBeast/Shadows/SmallShadow.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/SmallShadow.png-5e32714e38d94da2c1b597c947bda29e.stex" +type="CompressedTexture2D" +uid="uid://cp46k48acfh6k" +path="res://.godot/imported/SmallShadow.png-5e32714e38d94da2c1b597c947bda29e.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://Shadows/SmallShadow.png" -dest_files=[ "res://.import/SmallShadow.png-5e32714e38d94da2c1b597c947bda29e.stex" ] +dest_files=["res://.godot/imported/SmallShadow.png-5e32714e38d94da2c1b597c947bda29e.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/Stats.gd b/ActionRPG-HeartBeast/Stats.gd index 33a392d..fe8f96c 100644 --- a/ActionRPG-HeartBeast/Stats.gd +++ b/ActionRPG-HeartBeast/Stats.gd @@ -1,7 +1,7 @@ extends Node -export(int) var max_health = 1 setget set_max_health -var health = max_health setget set_health +@export var max_health: int = 1: set = set_max_health +var health = max_health: set = set_health signal no_health signal health_changed(value) diff --git a/ActionRPG-HeartBeast/UI/HealthUI.gd b/ActionRPG-HeartBeast/UI/HealthUI.gd index 31654e3..a090622 100644 --- a/ActionRPG-HeartBeast/UI/HealthUI.gd +++ b/ActionRPG-HeartBeast/UI/HealthUI.gd @@ -1,24 +1,24 @@ extends Control -var hearts = 4 setget set_hearts -var max_hearts = 4 setget set_max_hearts +var hearts = 4: set = set_hearts +var max_hearts = 4: set = set_max_hearts -onready var heartUIFull = $HeartUIFull -onready var heartUIEmpty = $HeartUIEmpty +@onready var heartUIFull = $HeartUIFull +@onready var heartUIEmpty = $HeartUIEmpty func set_hearts(value): hearts = clamp(value, 0, max_hearts) if heartUIFull != null: - heartUIFull.rect_size.x = hearts * 15 + heartUIFull.size.x = hearts * 15 func set_max_hearts(value): max_hearts = max(value, 1) self.hearts = min(hearts, max_hearts) if heartUIEmpty != null: - heartUIEmpty.rect_size.x = max_hearts * 15 + heartUIEmpty.size.x = max_hearts * 15 func _ready(): self.max_hearts = PlayerStats.max_health self.hearts = PlayerStats.health - PlayerStats.connect("health_changed", self, "set_hearts") - PlayerStats.connect("max_health_changed", self, "set_max_hearts") + PlayerStats.connect("health_changed", Callable(self, "set_hearts")) + PlayerStats.connect("max_health_changed", Callable(self, "set_max_hearts")) diff --git a/ActionRPG-HeartBeast/UI/HealthUI.tscn b/ActionRPG-HeartBeast/UI/HealthUI.tscn index 07b8f2c..9f4517c 100644 --- a/ActionRPG-HeartBeast/UI/HealthUI.tscn +++ b/ActionRPG-HeartBeast/UI/HealthUI.tscn @@ -1,25 +1,25 @@ [gd_scene load_steps=4 format=2] [ext_resource path="res://UI/HealthUI.gd" type="Script" id=1] -[ext_resource path="res://UI/HeartUIEmpty.png" type="Texture" id=2] -[ext_resource path="res://UI/HeartUIFull.png" type="Texture" id=3] +[ext_resource path="res://UI/HeartUIEmpty.png" type="Texture2D" id=2] +[ext_resource path="res://UI/HeartUIFull.png" type="Texture2D" id=3] [node name="HealthUI" type="Control"] -margin_left = 2.0 -margin_top = 2.0 -margin_right = 124.0 -margin_bottom = 27.0 +offset_left = 2.0 +offset_top = 2.0 +offset_right = 124.0 +offset_bottom = 27.0 script = ExtResource( 1 ) [node name="HeartUIEmpty" type="TextureRect" parent="."] -margin_right = 59.0 -margin_bottom = 12.0 +offset_right = 59.0 +offset_bottom = 12.0 texture = ExtResource( 2 ) stretch_mode = 2 [node name="HeartUIFull" type="TextureRect" parent="."] -margin_right = 60.0 -margin_bottom = 11.0 +offset_right = 60.0 +offset_bottom = 11.0 texture = ExtResource( 3 ) expand = true stretch_mode = 2 diff --git a/ActionRPG-HeartBeast/UI/HeartUIEmpty.png.import b/ActionRPG-HeartBeast/UI/HeartUIEmpty.png.import index 8651d89..36e54e5 100644 --- a/ActionRPG-HeartBeast/UI/HeartUIEmpty.png.import +++ b/ActionRPG-HeartBeast/UI/HeartUIEmpty.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/HeartUIEmpty.png-417b0a6fe975644d9dba3671413f10e5.stex" +type="CompressedTexture2D" +uid="uid://7uhcli2ilhpt" +path="res://.godot/imported/HeartUIEmpty.png-417b0a6fe975644d9dba3671413f10e5.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/HeartUIEmpty.png" -dest_files=[ "res://.import/HeartUIEmpty.png-417b0a6fe975644d9dba3671413f10e5.stex" ] +dest_files=["res://.godot/imported/HeartUIEmpty.png-417b0a6fe975644d9dba3671413f10e5.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/HeartUIFull.png.import b/ActionRPG-HeartBeast/UI/HeartUIFull.png.import index f170137..05aacbf 100644 --- a/ActionRPG-HeartBeast/UI/HeartUIFull.png.import +++ b/ActionRPG-HeartBeast/UI/HeartUIFull.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/HeartUIFull.png-e9d9ebbeee52aaa00895457d920c0f53.stex" +type="CompressedTexture2D" +uid="uid://dltt4a7gu7so4" +path="res://.godot/imported/HeartUIFull.png-e9d9ebbeee52aaa00895457d920c0f53.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/HeartUIFull.png" -dest_files=[ "res://.import/HeartUIFull.png-e9d9ebbeee52aaa00895457d920c0f53.stex" ] +dest_files=["res://.godot/imported/HeartUIFull.png-e9d9ebbeee52aaa00895457d920c0f53.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons1.png.import b/ActionRPG-HeartBeast/UI/TouchButtons1.png.import index f0601aa..9ffd217 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons1.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons1.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons1.png-61db002dc7148133f10efa981b4843c4.stex" +type="CompressedTexture2D" +uid="uid://beygnvmqonlay" +path="res://.godot/imported/TouchButtons1.png-61db002dc7148133f10efa981b4843c4.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons1.png" -dest_files=[ "res://.import/TouchButtons1.png-61db002dc7148133f10efa981b4843c4.stex" ] +dest_files=["res://.godot/imported/TouchButtons1.png-61db002dc7148133f10efa981b4843c4.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons2.png.import b/ActionRPG-HeartBeast/UI/TouchButtons2.png.import index a2b2c7d..29ca3f2 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons2.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons2.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons2.png-17acf752daaeba13c4dd892a9a83b696.stex" +type="CompressedTexture2D" +uid="uid://dkgjklvy4rgh1" +path="res://.godot/imported/TouchButtons2.png-17acf752daaeba13c4dd892a9a83b696.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons2.png" -dest_files=[ "res://.import/TouchButtons2.png-17acf752daaeba13c4dd892a9a83b696.stex" ] +dest_files=["res://.godot/imported/TouchButtons2.png-17acf752daaeba13c4dd892a9a83b696.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons3.png.import b/ActionRPG-HeartBeast/UI/TouchButtons3.png.import index 0184040..af419c7 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons3.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons3.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons3.png-8d9113c5621e05d158461a5b8587a569.stex" +type="CompressedTexture2D" +uid="uid://nvkhwbmmaln7" +path="res://.godot/imported/TouchButtons3.png-8d9113c5621e05d158461a5b8587a569.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons3.png" -dest_files=[ "res://.import/TouchButtons3.png-8d9113c5621e05d158461a5b8587a569.stex" ] +dest_files=["res://.godot/imported/TouchButtons3.png-8d9113c5621e05d158461a5b8587a569.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons4.png.import b/ActionRPG-HeartBeast/UI/TouchButtons4.png.import index db43a4b..26624e7 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons4.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons4.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons4.png-e9ab46fcaee3536074c1902761cd3845.stex" +type="CompressedTexture2D" +uid="uid://dw062qxq6lw56" +path="res://.godot/imported/TouchButtons4.png-e9ab46fcaee3536074c1902761cd3845.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons4.png" -dest_files=[ "res://.import/TouchButtons4.png-e9ab46fcaee3536074c1902761cd3845.stex" ] +dest_files=["res://.godot/imported/TouchButtons4.png-e9ab46fcaee3536074c1902761cd3845.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons5.png.import b/ActionRPG-HeartBeast/UI/TouchButtons5.png.import index 8559ef5..06e5203 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons5.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons5.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons5.png-2db35d4a57a19b391d821bb73c0a76b2.stex" +type="CompressedTexture2D" +uid="uid://csi3h5f352wsh" +path="res://.godot/imported/TouchButtons5.png-2db35d4a57a19b391d821bb73c0a76b2.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons5.png" -dest_files=[ "res://.import/TouchButtons5.png-2db35d4a57a19b391d821bb73c0a76b2.stex" ] +dest_files=["res://.godot/imported/TouchButtons5.png-2db35d4a57a19b391d821bb73c0a76b2.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/UI/TouchButtons6.png.import b/ActionRPG-HeartBeast/UI/TouchButtons6.png.import index 9f7f447..e9ea2cc 100644 --- a/ActionRPG-HeartBeast/UI/TouchButtons6.png.import +++ b/ActionRPG-HeartBeast/UI/TouchButtons6.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/TouchButtons6.png-e82b98fedffd326df041409a813c1afe.stex" +type="CompressedTexture2D" +uid="uid://bjc2hpt7n8n7" +path="res://.godot/imported/TouchButtons6.png-e82b98fedffd326df041409a813c1afe.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://UI/TouchButtons6.png" -dest_files=[ "res://.import/TouchButtons6.png-e82b98fedffd326df041409a813c1afe.stex" ] +dest_files=["res://.godot/imported/TouchButtons6.png-e82b98fedffd326df041409a813c1afe.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World.tscn b/ActionRPG-HeartBeast/World.tscn index 6ee77a9..008420d 100644 --- a/ActionRPG-HeartBeast/World.tscn +++ b/ActionRPG-HeartBeast/World.tscn @@ -1,711 +1,212 @@ -[gd_scene load_steps=65 format=2] +[gd_scene load_steps=16 format=3 uid="uid://ckanm4arl1wqs"] -[ext_resource path="res://World/Bush.tscn" type="PackedScene" id=1] -[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://World/GrassBackground.png" type="Texture" id=3] -[ext_resource path="res://World/DirtTileset.png" type="Texture" id=4] -[ext_resource path="res://World/CliffTileset.png" type="Texture" id=5] -[ext_resource path="res://World/Grass.tscn" type="PackedScene" id=6] -[ext_resource path="res://touch_controls/TouchControls.tscn" type="PackedScene" id=7] -[ext_resource path="res://Enemies/Bat.tscn" type="PackedScene" id=8] -[ext_resource path="res://UI/HealthUI.tscn" type="PackedScene" id=9] -[ext_resource path="res://World/Tree.tscn" type="PackedScene" id=10] -[ext_resource path="res://Camera2D.tscn" type="PackedScene" id=11] +[ext_resource type="PackedScene" path="res://World/Bush.tscn" id="1"] +[ext_resource type="PackedScene" uid="uid://clt214vwnqrba" path="res://Player/Player.tscn" id="2"] +[ext_resource type="Texture2D" uid="uid://cti8so4muh5ky" path="res://World/GrassBackground.png" id="3"] +[ext_resource type="Texture2D" uid="uid://b8ykt4vtn46df" path="res://World/DirtTileset.png" id="4"] +[ext_resource type="Texture2D" uid="uid://yx0d4d27sbbs" path="res://World/CliffTileset.png" id="5"] +[ext_resource type="PackedScene" path="res://World/Grass.tscn" id="6"] +[ext_resource type="PackedScene" path="res://touch_controls/TouchControls.tscn" id="7"] +[ext_resource type="PackedScene" path="res://Enemies/Bat.tscn" id="8"] +[ext_resource type="PackedScene" path="res://UI/HealthUI.tscn" id="9"] +[ext_resource type="PackedScene" path="res://World/Tree.tscn" id="10"] +[ext_resource type="PackedScene" path="res://Camera2D.tscn" id="11"] -[sub_resource type="TileSet" id=1] -0/name = "DirtTileset.png 0" -0/texture = ExtResource( 4 ) -0/tex_offset = Vector2( 0, 0 ) -0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 176, 80 ) -0/tile_mode = 1 -0/autotile/bitmask_mode = 1 -0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ] -0/autotile/icon_coordinate = Vector2( 3, 3 ) -0/autotile/tile_size = Vector2( 16, 16 ) -0/autotile/spacing = 0 -0/autotile/occluder_map = [ ] -0/autotile/navpoly_map = [ ] -0/autotile/priority_map = [ ] -0/autotile/z_index_map = [ ] -0/occluder_offset = Vector2( 0, 0 ) -0/navigation_offset = Vector2( 0, 0 ) -0/shape_offset = Vector2( 0, 0 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -0/shape_one_way = false -0/shape_one_way_margin = 0.0 -0/shapes = [ ] -0/z_index = 0 +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_kcrgu"] +texture = ExtResource("4") -[sub_resource type="ConvexPolygonShape2D" id=3] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) +[sub_resource type="TileSet" id="1"] +sources/0 = SubResource("TileSetAtlasSource_kcrgu") -[sub_resource type="ConvexPolygonShape2D" id=4] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_vvs6n"] +texture = ExtResource("5") -[sub_resource type="ConvexPolygonShape2D" id=5] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=6] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=7] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=8] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=9] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=10] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=11] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=12] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=13] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=14] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=15] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=16] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=17] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=18] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=19] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=20] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=21] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=22] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=23] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=24] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=25] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=26] -points = PoolVector2Array( 0, 32, 32, 32, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=27] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=28] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=29] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=30] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=31] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=32] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=33] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=34] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=35] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=36] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=37] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=38] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=39] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=40] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=41] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=42] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=43] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=44] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=45] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=46] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=47] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=48] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=49] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=50] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=51] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=52] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="ConvexPolygonShape2D" id=53] -points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) - -[sub_resource type="TileSet" id=2] -0/name = "CliffTileset.png 0" -0/texture = ExtResource( 5 ) -0/tex_offset = Vector2( 0, 0 ) -0/modulate = Color( 1, 1, 1, 1 ) -0/region = Rect2( 0, 0, 352, 160 ) -0/tile_mode = 1 -0/autotile/bitmask_mode = 1 -0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ] -0/autotile/icon_coordinate = Vector2( 3, 3 ) -0/autotile/tile_size = Vector2( 32, 32 ) -0/autotile/spacing = 0 -0/autotile/occluder_map = [ ] -0/autotile/navpoly_map = [ ] -0/autotile/priority_map = [ ] -0/autotile/z_index_map = [ ] -0/occluder_offset = Vector2( 0, 0 ) -0/navigation_offset = Vector2( 0, 0 ) -0/shape_offset = Vector2( 0, 0 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -0/shape = SubResource( 3 ) -0/shape_one_way = false -0/shape_one_way_margin = 1.0 -0/shapes = [ { -"autotile_coord": Vector2( 0, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 3 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 1, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 4 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 2, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 5 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 3, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 6 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 4, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 7 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 8 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 6, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 9 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 10 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 8, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 11 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 9, 0 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 12 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 0, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 13 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 1, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 14 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 2, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 15 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 3, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 16 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 4, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 17 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 18 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 6, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 19 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 20 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 8, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 21 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 9, 1 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 22 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 0, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 23 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 0, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 24 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 1, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 25 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 2, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 26 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 2, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 27 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 3, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 28 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 4, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 29 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 30 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 6, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 31 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 32 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 8, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 33 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 9, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 34 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 10, 2 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 35 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 0, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 36 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 1, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 37 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 2, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 38 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 3, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 39 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 4, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 40 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 41 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 6, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 42 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 43 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 8, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 44 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 9, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 45 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 10, 3 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 46 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 4, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 47 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 48 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 5, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 49 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 6, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 50 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 51 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 7, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 52 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -}, { -"autotile_coord": Vector2( 8, 4 ), -"one_way": false, -"one_way_margin": 1.0, -"shape": SubResource( 53 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) -} ] -0/z_index = 0 +[sub_resource type="TileSet" id="2"] +sources/0 = SubResource("TileSetAtlasSource_vvs6n") [node name="World" type="Node2D"] -[node name="Background" type="Sprite" parent="."] -position = Vector2( 160, 90 ) -texture = ExtResource( 3 ) +[node name="Background" type="Sprite2D" parent="."] +position = Vector2(160, 90) +texture = ExtResource("3") region_enabled = true -region_rect = Rect2( 0, 0, 1424, 912 ) +region_rect = Rect2(0, 0, 1424, 912) [node name="DirtPathTileMap" type="TileMap" parent="."] -tile_set = SubResource( 1 ) -cell_size = Vector2( 16, 16 ) -format = 1 -tile_data = PoolIntArray( -917480, 0, 0, -917479, 0, 1, -917478, 0, 1, -917477, 0, 1, -917476, 0, 1, -917475, 0, 1, -917474, 0, 2, -851949, 0, 0, -851948, 0, 1, -851947, 0, 1, -851946, 0, 1, -851945, 0, 1, -851944, 0, 131078, -851943, 0, 65537, -851942, 0, 65541, -851941, 0, 131073, -851940, 0, 131073, -851939, 0, 131073, -851938, 0, 9, -851937, 0, 2, -786421, 0, 0, -786420, 0, 1, -786419, 0, 5, -786418, 0, 196609, -786417, 0, 196609, -786416, 0, 196609, -786415, 0, 196609, -786414, 0, 196609, -786413, 0, 196614, -786412, 0, 131073, -786411, 0, 131073, -786410, 0, 131073, -786409, 0, 131073, -786408, 0, 131073, -786407, 0, 131073, -786406, 0, 131074, -786402, 0, 131072, -786401, 0, 196613, -786400, 0, 7, -720887, 0, 0, -720886, 0, 5, -720885, 0, 196614, -720884, 0, 131073, -720883, 0, 131074, -720864, 0, 196612, -720863, 0, 7, -655352, 0, 0, -655351, 0, 131078, -655350, 0, 65538, -655327, 0, 196612, -655326, 0, 7, -589816, 0, 65536, -589815, 0, 65537, -589814, 0, 65538, -589790, 0, 196612, -589789, 0, 7, -524280, 0, 131072, -524279, 0, 65542, -524278, 0, 65538, -524253, 0, 65539, -458743, 0, 65536, -458742, 0, 65538, -458717, 0, 65539, -393207, 0, 65536, -393206, 0, 65538, -393181, 0, 65539, -327671, 0, 65536, -327670, 0, 65538, -327645, 0, 65539, -262135, 0, 65536, -262134, 0, 65538, -262109, 0, 65539, -196599, 0, 65536, -196598, 0, 65538, -196573, 0, 65539, -131063, 0, 65536, -131062, 0, 65538, -131037, 0, 65539, -65527, 0, 65536, -65526, 0, 65538, -65502, 0, 0, -65501, 0, 131079, 9, 0, 65536, 10, 0, 65538, 34, 0, 65536, 35, 0, 65538, 65545, 0, 65536, 65546, 0, 65538, 65552, 0, 196608, 65553, 0, 7, 65570, 0, 65536, 65571, 0, 65538, 131081, 0, 65536, 131082, 0, 65538, 131089, 0, 65539, 131104, 0, 0, 131105, 0, 1, 131106, 0, 131078, 131107, 0, 131077, 131108, 0, 2, 196616, 0, 0, 196617, 0, 131078, 196618, 0, 131077, 196619, 0, 2, 196624, 0, 0, 196625, 0, 131080, 196626, 0, 1, 196627, 0, 2, 196639, 0, 0, 196640, 0, 131078, 196641, 0, 65537, 196642, 0, 65537, 196643, 0, 65537, 196644, 0, 131077, 196645, 0, 2, 262148, 0, 0, 262149, 0, 1, 262150, 0, 1, 262151, 0, 1, 262152, 0, 131078, 262153, 0, 65537, 262154, 0, 65537, 262155, 0, 131077, 262156, 0, 2, 262160, 0, 65536, 262161, 0, 65537, 262162, 0, 65537, 262163, 0, 131077, 262164, 0, 2, 262173, 0, 0, 262174, 0, 1, 262175, 0, 131078, 262176, 0, 65537, 262177, 0, 65537, 262178, 0, 65537, 262179, 0, 65537, 262180, 0, 65537, 262181, 0, 131077, 262182, 0, 1, 262183, 0, 1, 262184, 0, 5, 262185, 0, 196610, 327680, 0, 0, 327681, 0, 1, 327682, 0, 1, 327683, 0, 1, 327684, 0, 65545, 327685, 0, 131073, 327686, 0, 131073, 327687, 0, 131073, 327688, 0, 131073, 327689, 0, 65542, 327690, 0, 65537, 327691, 0, 65537, 327692, 0, 131077, 327693, 0, 1, 327694, 0, 1, 327695, 0, 1, 327696, 0, 131078, 327697, 0, 65541, 327698, 0, 131073, 327699, 0, 131073, 327700, 0, 196613, 327701, 0, 196609, 327702, 0, 196609, 327703, 0, 6, 327704, 0, 1, 327705, 0, 1, 327706, 0, 1, 327707, 0, 1, 327708, 0, 1, 327709, 0, 131078, 327710, 0, 65537, 327711, 0, 65537, 327712, 0, 65541, 327713, 0, 131073, 327714, 0, 131073, 327715, 0, 131073, 327716, 0, 131073, 327717, 0, 131073, 327718, 0, 131073, 327719, 0, 131073, 327720, 0, 131074, 393216, 0, 131072, 393217, 0, 131073, 393218, 0, 131073, 393219, 0, 131073, 393220, 0, 131074, 393225, 0, 65536, 393226, 0, 65537, 393227, 0, 65537, 393228, 0, 65537, 393229, 0, 65537, 393230, 0, 65537, 393231, 0, 65537, 393232, 0, 65541, 393233, 0, 131074, 393239, 0, 131072, 393240, 0, 131073, 393241, 0, 131073, 393242, 0, 131073, 393243, 0, 131073, 393244, 0, 131073, 393245, 0, 131073, 393246, 0, 131073, 393247, 0, 65542, 393248, 0, 65538, 458761, 0, 65536, 458762, 0, 65541, 458763, 0, 131073, 458764, 0, 131073, 458765, 0, 131073, 458766, 0, 131073, 458767, 0, 131073, 458768, 0, 131074, 458783, 0, 65536, 458784, 0, 65538, 524297, 0, 65536, 524298, 0, 65538, 524319, 0, 65536, 524320, 0, 65538, 589833, 0, 65536, 589834, 0, 65538, 589855, 0, 65536, 589856, 0, 65538, 655369, 0, 65536, 655370, 0, 65538, 655391, 0, 131072, 655392, 0, 9, 655393, 0, 2, 720903, 0, 196611, 720905, 0, 65536, 720906, 0, 65538, 720928, 0, 65536, 720929, 0, 65538, 786441, 0, 65536, 786442, 0, 65538, 786464, 0, 65540, 786465, 0, 131074, 851977, 0, 65536, 851978, 0, 65538, 852000, 0, 65539, 917513, 0, 65536, 917514, 0, 65538, 917536, 0, 65539, 983049, 0, 65536, 983050, 0, 131077, 983051, 0, 2, 983072, 0, 65539, 1048585, 0, 131072, 1048586, 0, 65542, 1048587, 0, 65538, 1048605, 0, 4, 1048606, 0, 196609, 1048607, 0, 196609, 1048608, 0, 196615, 1114122, 0, 131072, 1114123, 0, 196613, 1114124, 0, 6, 1114125, 0, 1, 1114126, 0, 2, 1114137, 0, 0, 1114138, 0, 5, 1114139, 0, 196609, 1114140, 0, 196609, 1114141, 0, 196615, 1179660, 0, 131072, 1179661, 0, 131073, 1179662, 0, 196613, 1179663, 0, 196609, 1179664, 0, 196609, 1179665, 0, 196609, 1179666, 0, 196609, 1179667, 0, 196609, 1179668, 0, 196609, 1179669, 0, 196609, 1179670, 0, 196609, 1179671, 0, 196609, 1179672, 0, 196609, 1179673, 0, 196614, 1179674, 0, 131074 ) +tile_set = SubResource("1") +format = 2 [node name="DirtCliffTileMap" type="TileMap" parent="."] -tile_set = SubResource( 2 ) -cell_size = Vector2( 32, 32 ) -collision_mask = 0 -format = 1 -tile_data = PoolIntArray( -655377, 0, 4, -655376, 0, 196609, -655375, 0, 196609, -655374, 0, 196609, -655373, 0, 196609, -655372, 0, 196609, -655371, 0, 196609, -655370, 0, 196609, -655369, 0, 196609, -655368, 0, 196609, -655367, 0, 196609, -655366, 0, 196609, -655365, 0, 196609, -655364, 0, 196609, -655363, 0, 196609, -655362, 0, 196609, -655361, 0, 8, -720896, 0, 196609, -720895, 0, 196609, -720894, 0, 196609, -720893, 0, 196609, -720892, 0, 196609, -720891, 0, 196609, -720890, 0, 6, -720889, 0, 1, -720888, 0, 1, -720887, 0, 5, -720886, 0, 196609, -720885, 0, 196609, -720884, 0, 196609, -720883, 0, 196609, -720882, 0, 196609, -720881, 0, 196609, -720880, 0, 196609, -720879, 0, 196609, -720878, 0, 196609, -720877, 0, 196609, -720876, 0, 196609, -720875, 0, 196609, -720874, 0, 196609, -720873, 0, 196609, -720872, 0, 196609, -720871, 0, 196609, -720870, 0, 7, -589841, 0, 65539, -589825, 0, 65539, -655354, 0, 131072, -655353, 0, 65542, -655352, 0, 65537, -655351, 0, 65538, -655334, 0, 65539, -524305, 0, 65539, -524289, 0, 65539, -589820, 0, 3, -589817, 0, 131072, -589816, 0, 131073, -589815, 0, 131074, -589807, 0, 196608, -589806, 0, 6, -589805, 0, 2, -589798, 0, 65539, -458769, 0, 65539, -458753, 0, 65539, -524285, 0, 0, -524284, 0, 131079, -524270, 0, 65540, -524269, 0, 131074, -524262, 0, 65539, -393233, 0, 65539, -393217, 0, 65539, -458749, 0, 65540, -458748, 0, 131074, -458734, 0, 131075, -458726, 0, 65539, -327697, 0, 65539, -327681, 0, 65539, -393213, 0, 131075, -393190, 0, 65539, -262161, 0, 65539, -262145, 0, 65539, -327658, 0, 0, -327657, 0, 1, -327656, 0, 1, -327655, 0, 1, -327654, 0, 131079, -196625, 0, 65539, -196609, 0, 65539, -262135, 0, 0, -262134, 0, 1, -262133, 0, 1, -262132, 0, 1, -262131, 0, 2, -262123, 0, 0, -262122, 0, 65545, -262121, 0, 131073, -262120, 0, 131073, -262119, 0, 131073, -262118, 0, 65543, -131089, 0, 65539, -131073, 0, 65539, -196600, 0, 196608, -196599, 0, 196614, -196598, 0, 131073, -196597, 0, 65544, -196596, 0, 131073, -196595, 0, 131074, -196588, 0, 196608, -196587, 0, 196614, -196586, 0, 131074, -196582, 0, 65539, -65553, 0, 65539, -65537, 0, 65539, -131061, 0, 65539, -131047, 0, 0, -131046, 0, 131079, -17, 0, 65539, -1, 0, 65539, -65526, 0, 4, -65525, 0, 196615, -65513, 0, 0, -65512, 0, 1, -65511, 0, 131078, -65510, 0, 65538, 65519, 0, 65539, 65535, 0, 131076, 0, 0, 5, 1, 0, 196609, 2, 0, 196609, 3, 0, 196610, 7, 0, 196608, 8, 0, 196609, 9, 0, 8, 10, 0, 196615, 22, 0, 0, 23, 0, 131078, 24, 0, 65537, 25, 0, 65537, 26, 0, 65538, 131055, 0, 65539, 131071, 0, 65540, 65536, 0, 131074, 65545, 0, 131075, 65558, 0, 65536, 65559, 0, 65537, 65560, 0, 65537, 65561, 0, 65537, 65562, 0, 65538, 196591, 0, 65539, 196607, 0, 65539, 131094, 0, 131072, 131095, 0, 65542, 131096, 0, 65537, 131097, 0, 65537, 131098, 0, 65538, 262127, 0, 65539, 262143, 0, 65539, 196611, 0, 3, 196617, 0, 3, 196631, 0, 65536, 196632, 0, 65537, 196633, 0, 65537, 196634, 0, 65538, 327663, 0, 65539, 327679, 0, 131076, 262144, 0, 1, 262145, 0, 1, 262146, 0, 1, 262147, 0, 131079, 262152, 0, 196608, 262153, 0, 131081, 262154, 0, 1, 262155, 0, 1, 262156, 0, 2, 262167, 0, 131072, 262168, 0, 65542, 262169, 0, 65537, 262170, 0, 65538, 393199, 0, 65539, 393215, 0, 65540, 327680, 0, 131073, 327681, 0, 131073, 327682, 0, 131073, 327683, 0, 131074, 327689, 0, 131072, 327690, 0, 65542, 327691, 0, 65541, 327692, 0, 131074, 327704, 0, 131072, 327705, 0, 131073, 327706, 0, 65543, 458735, 0, 65539, 458751, 0, 65539, 393226, 0, 65540, 393227, 0, 131074, 393242, 0, 65539, 524271, 0, 65539, 524287, 0, 65539, 458762, 0, 131075, 458778, 0, 65539, 589807, 0, 65539, 589823, 0, 65539, 524290, 0, 0, 524291, 0, 2, 524311, 0, 4, 524312, 0, 196609, 524313, 0, 196609, 524314, 0, 262151, 655343, 0, 65539, 655359, 0, 65539, 589826, 0, 131072, 589827, 0, 131074, 589839, 0, 0, 589840, 0, 2, 589847, 0, 65539, 589850, 0, 65539, 720879, 0, 65539, 720895, 0, 65539, 655366, 0, 3, 655374, 0, 196608, 655375, 0, 196617, 655376, 0, 131074, 655380, 0, 4, 655381, 0, 196610, 655383, 0, 131075, 655386, 0, 65539, 786415, 0, 65539, 786431, 0, 65539, 720902, 0, 262148, 720903, 0, 196610, 720911, 0, 65539, 720915, 0, 4, 720916, 0, 196615, 720921, 0, 0, 720922, 0, 131079, 851951, 0, 65539, 851967, 0, 65539, 786438, 0, 65539, 786447, 0, 131075, 786450, 0, 4, 786451, 0, 196615, 786454, 0, 196608, 786455, 0, 196609, 786456, 0, 196609, 786457, 0, 196614, 786458, 0, 65543, 917487, 0, 65539, 917503, 0, 65539, 851972, 0, 4, 851973, 0, 196609, 851974, 0, 196616, 851975, 0, 7, 851985, 0, 4, 851986, 0, 196615, 851989, 0, 196611, 851994, 0, 65539, 983023, 0, 65539, 983039, 0, 65539, 917507, 0, 0, 917508, 0, 131079, 917511, 0, 196612, 917512, 0, 196609, 917513, 0, 7, 917520, 0, 4, 917521, 0, 196615, 917526, 0, 196608, 917527, 0, 196610, 917530, 0, 65539, 1048559, 0, 65539, 1048575, 0, 65539, 983042, 0, 0, 983043, 0, 131078, 983044, 0, 65538, 983049, 0, 131076, 983050, 0, 2, 983055, 0, 0, 983056, 0, 131079, 983066, 0, 65539, 1114095, 0, 196612, 1114096, 0, 196609, 1114097, 0, 196609, 1114098, 0, 196609, 1114099, 0, 196609, 1114100, 0, 196609, 1114101, 0, 196609, 1114102, 0, 196609, 1114103, 0, 196609, 1114104, 0, 196609, 1114105, 0, 196609, 1114106, 0, 196609, 1114107, 0, 196609, 1114108, 0, 196609, 1114109, 0, 196609, 1114110, 0, 196609, 1114111, 0, 196616, 1048576, 0, 196609, 1048577, 0, 196609, 1048578, 0, 196614, 1048579, 0, 131073, 1048580, 0, 196613, 1048581, 0, 196609, 1048582, 0, 196609, 1048583, 0, 196609, 1048584, 0, 196609, 1048585, 0, 196614, 1048586, 0, 196613, 1048587, 0, 196609, 1048588, 0, 196609, 1048589, 0, 196609, 1048590, 0, 196609, 1048591, 0, 196614, 1048592, 0, 196613, 1048593, 0, 196609, 1048594, 0, 196609, 1048595, 0, 196609, 1048596, 0, 196609, 1048597, 0, 196609, 1048598, 0, 196609, 1048599, 0, 196609, 1048600, 0, 196609, 1048601, 0, 196609, 1048602, 0, 196615 ) +tile_set = SubResource("2") +format = 2 -[node name="Camera2D" parent="." instance=ExtResource( 11 )] -position = Vector2( 167, 111 ) +[node name="Camera2D" parent="." instance=ExtResource("11")] +position = Vector2(167, 111) [node name="TopLeft" parent="Camera2D/Limits" index="0"] -position = Vector2( -32, -352 ) +position = Vector2(-32, -352) [node name="BottomRight" parent="Camera2D/Limits" index="1"] -position = Vector2( 872, 544 ) +position = Vector2(872, 544) -[node name="YSort" type="YSort" parent="."] +[node name="Node2D" type="Node2D" parent="."] -[node name="Player" parent="YSort" instance=ExtResource( 2 )] -position = Vector2( 167, 111 ) +[node name="Player" parent="Node2D" instance=ExtResource("2")] +position = Vector2(167, 111) __meta__ = { "_edit_group_": true } -[node name="RemoteTransform2D" type="RemoteTransform2D" parent="YSort/Player"] +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Node2D/Player"] remote_path = NodePath("../../../Camera2D") -[node name="Bushes" type="YSort" parent="YSort"] +[node name="Bushes" type="Node2D" parent="Node2D"] -[node name="Bush" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 62, 58 ) +[node name="Bush" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(62, 58) -[node name="Bush2" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 188, 145 ) +[node name="Bush2" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(188, 145) -[node name="Bush3" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 192, 56 ) +[node name="Bush3" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(192, 56) -[node name="Bush5" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 536, 96 ) +[node name="Bush5" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(536, 96) -[node name="Bush6" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 516, 16 ) +[node name="Bush6" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(516, 16) -[node name="Bush7" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 438, 338 ) +[node name="Bush7" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(438, 338) -[node name="Bush8" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 297, 327 ) +[node name="Bush8" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(297, 327) -[node name="Bush9" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 230, 243 ) +[node name="Bush9" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(230, 243) -[node name="Bush4" parent="YSort/Bushes" instance=ExtResource( 1 )] -position = Vector2( 240, 152 ) +[node name="Bush4" parent="Node2D/Bushes" instance=ExtResource("1")] +position = Vector2(240, 152) -[node name="Grass" type="YSort" parent="YSort"] +[node name="Grass" type="Node2D" parent="Node2D"] -[node name="Grass" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 32, 32 ) +[node name="Grass" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(32, 32) -[node name="Grass2" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 209, 0 ) +[node name="Grass2" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(209, 0) -[node name="Grass3" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 272, 113 ) +[node name="Grass3" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(272, 113) -[node name="Grass4" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 255, 113 ) +[node name="Grass4" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(255, 113) -[node name="Grass5" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 271, 95 ) +[node name="Grass5" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(271, 95) -[node name="Grass6" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 81, 96 ) +[node name="Grass6" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(81, 96) -[node name="Grass7" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 80, 112 ) +[node name="Grass7" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(80, 112) -[node name="Grass8" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 64, 112 ) +[node name="Grass8" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(64, 112) -[node name="Grass9" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 48, 112 ) +[node name="Grass9" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(48, 112) -[node name="Grass10" parent="YSort/Grass" instance=ExtResource( 6 )] -position = Vector2( 128, 121 ) +[node name="Grass10" parent="Node2D/Grass" instance=ExtResource("6")] +position = Vector2(128, 121) -[node name="Trees" type="YSort" parent="YSort"] +[node name="Trees" type="Node2D" parent="Node2D"] -[node name="Tree" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 127, 40 ) +[node name="Tree" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(127, 40) -[node name="Tree2" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 441, 28 ) +[node name="Tree2" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(441, 28) -[node name="Tree3" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 482, 234 ) +[node name="Tree3" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(482, 234) -[node name="Tree6" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 385, 399 ) +[node name="Tree6" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(385, 399) -[node name="Tree7" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 606, 296 ) +[node name="Tree7" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(606, 296) -[node name="Tree4" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 633, 182 ) +[node name="Tree4" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(633, 182) -[node name="Tree5" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 661, -28 ) +[node name="Tree5" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(661, -28) -[node name="Tree8" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 695, -289 ) +[node name="Tree8" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(695, -289) -[node name="Tree9" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 723, -276 ) +[node name="Tree9" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(723, -276) -[node name="Tree10" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 750, -263 ) +[node name="Tree10" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(750, -263) -[node name="Tree11" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 773, -243 ) +[node name="Tree11" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(773, -243) -[node name="Tree12" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 800, -231 ) +[node name="Tree12" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(800, -231) -[node name="Tree13" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 822, -208 ) +[node name="Tree13" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(822, -208) -[node name="Tree14" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 677, -310 ) +[node name="Tree14" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(677, -310) -[node name="Tree15" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 744, -295 ) +[node name="Tree15" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(744, -295) -[node name="Tree16" parent="YSort/Trees" instance=ExtResource( 10 )] -position = Vector2( 792, -272 ) +[node name="Tree16" parent="Node2D/Trees" instance=ExtResource("10")] +position = Vector2(792, -272) -[node name="Bat" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 215, 34 ) +[node name="Bat" parent="Node2D" instance=ExtResource("8")] +position = Vector2(215, 34) -[node name="Bat2" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 274, 89 ) +[node name="Bat2" parent="Node2D" instance=ExtResource("8")] +position = Vector2(274, 89) -[node name="Bat3" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 37, 90 ) +[node name="Bat3" parent="Node2D" instance=ExtResource("8")] +position = Vector2(37, 90) -[node name="Bat4" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 182, 3 ) +[node name="Bat4" parent="Node2D" instance=ExtResource("8")] +position = Vector2(182, 3) -[node name="Bat5" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 448, 124 ) +[node name="Bat5" parent="Node2D" instance=ExtResource("8")] +position = Vector2(448, 124) -[node name="Bat6" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 377, 327 ) +[node name="Bat6" parent="Node2D" instance=ExtResource("8")] +position = Vector2(377, 327) -[node name="Bat7" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 549, -102 ) +[node name="Bat7" parent="Node2D" instance=ExtResource("8")] +position = Vector2(549, -102) -[node name="Bat8" parent="YSort" instance=ExtResource( 8 )] -position = Vector2( 211, -134 ) +[node name="Bat8" parent="Node2D" instance=ExtResource("8")] +position = Vector2(211, -134) [node name="Control" type="Control" parent="."] -margin_right = 40.0 -margin_bottom = 40.0 +layout_mode = 3 +anchors_preset = 0 +offset_right = 40.0 +offset_bottom = 40.0 -[node name="TouchControls" parent="Control" instance=ExtResource( 7 )] +[node name="TouchControls" parent="Control" instance=ExtResource("7")] [node name="CanvasLayer" type="CanvasLayer" parent="."] -[node name="HealthUI" parent="CanvasLayer" instance=ExtResource( 9 )] +[node name="HealthUI" parent="CanvasLayer" instance=ExtResource("9")] +layout_mode = 3 +anchors_preset = 0 [editable path="Camera2D"] diff --git a/ActionRPG-HeartBeast/World/Bush.png.import b/ActionRPG-HeartBeast/World/Bush.png.import index 6f6f428..a1ac1c1 100644 --- a/ActionRPG-HeartBeast/World/Bush.png.import +++ b/ActionRPG-HeartBeast/World/Bush.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/Bush.png-d93cca107fd3c67cf3a69a32232496ae.stex" +type="CompressedTexture2D" +uid="uid://bppe8xi57e01x" +path="res://.godot/imported/Bush.png-d93cca107fd3c67cf3a69a32232496ae.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/Bush.png" -dest_files=[ "res://.import/Bush.png-d93cca107fd3c67cf3a69a32232496ae.stex" ] +dest_files=["res://.godot/imported/Bush.png-d93cca107fd3c67cf3a69a32232496ae.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/Bush.tscn b/ActionRPG-HeartBeast/World/Bush.tscn index 86152f5..3ec9805 100644 --- a/ActionRPG-HeartBeast/World/Bush.tscn +++ b/ActionRPG-HeartBeast/World/Bush.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://World/Bush.png" type="Texture" id=1] -[ext_resource path="res://Shadows/LargeShadow.png" type="Texture" id=2] +[ext_resource path="res://World/Bush.png" type="Texture2D" id=1] +[ext_resource path="res://Shadows/LargeShadow.png" type="Texture2D" id=2] [sub_resource type="CapsuleShape2D" id=1] radius = 7.99998 @@ -9,11 +9,11 @@ height = 12.0 [node name="Bush" type="StaticBody2D"] -[node name="ShadowSprite" type="Sprite" parent="."] +[node name="ShadowSprite" type="Sprite2D" parent="."] position = Vector2( 0, 6 ) texture = ExtResource( 2 ) -[node name="Sprite" type="Sprite" parent="."] +[node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] diff --git a/ActionRPG-HeartBeast/World/CliffTileset.png.import b/ActionRPG-HeartBeast/World/CliffTileset.png.import index 9d52b4f..e89f874 100644 --- a/ActionRPG-HeartBeast/World/CliffTileset.png.import +++ b/ActionRPG-HeartBeast/World/CliffTileset.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/CliffTileset.png-beb1369a7815e4e7ee0afe974b2636cf.stex" +type="CompressedTexture2D" +uid="uid://yx0d4d27sbbs" +path="res://.godot/imported/CliffTileset.png-beb1369a7815e4e7ee0afe974b2636cf.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/CliffTileset.png" -dest_files=[ "res://.import/CliffTileset.png-beb1369a7815e4e7ee0afe974b2636cf.stex" ] +dest_files=["res://.godot/imported/CliffTileset.png-beb1369a7815e4e7ee0afe974b2636cf.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/DirtTileset.png.import b/ActionRPG-HeartBeast/World/DirtTileset.png.import index 34e6c60..048efb4 100644 --- a/ActionRPG-HeartBeast/World/DirtTileset.png.import +++ b/ActionRPG-HeartBeast/World/DirtTileset.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/DirtTileset.png-4e52e2a032d2a3147ded644a2054b3ec.stex" +type="CompressedTexture2D" +uid="uid://b8ykt4vtn46df" +path="res://.godot/imported/DirtTileset.png-4e52e2a032d2a3147ded644a2054b3ec.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/DirtTileset.png" -dest_files=[ "res://.import/DirtTileset.png-4e52e2a032d2a3147ded644a2054b3ec.stex" ] +dest_files=["res://.godot/imported/DirtTileset.png-4e52e2a032d2a3147ded644a2054b3ec.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/Grass.gd b/ActionRPG-HeartBeast/World/Grass.gd index 7f8e14a..fce7fa4 100644 --- a/ActionRPG-HeartBeast/World/Grass.gd +++ b/ActionRPG-HeartBeast/World/Grass.gd @@ -8,7 +8,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. func create_grass_effect(): #var GrassEffect = load("res://Effects/GrassEffect.tscn") - var grassEffect = GrassEffect.instance() + var grassEffect = GrassEffect.instantiate() # var world = get_tree().current_scene get_parent().add_child(grassEffect) grassEffect.global_position = global_position diff --git a/ActionRPG-HeartBeast/World/Grass.png.import b/ActionRPG-HeartBeast/World/Grass.png.import index 0969428..301bc4f 100644 --- a/ActionRPG-HeartBeast/World/Grass.png.import +++ b/ActionRPG-HeartBeast/World/Grass.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/Grass.png-c8db04a845a94a62395b8fc264a498a7.stex" +type="CompressedTexture2D" +uid="uid://dy76k7loscspo" +path="res://.godot/imported/Grass.png-c8db04a845a94a62395b8fc264a498a7.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/Grass.png" -dest_files=[ "res://.import/Grass.png-c8db04a845a94a62395b8fc264a498a7.stex" ] +dest_files=["res://.godot/imported/Grass.png-c8db04a845a94a62395b8fc264a498a7.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/Grass.tscn b/ActionRPG-HeartBeast/World/Grass.tscn index 61850c7..28b5bf3 100644 --- a/ActionRPG-HeartBeast/World/Grass.tscn +++ b/ActionRPG-HeartBeast/World/Grass.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=5 format=2] -[ext_resource path="res://World/Grass.png" type="Texture" id=1] +[ext_resource path="res://World/Grass.png" type="Texture2D" id=1] [ext_resource path="res://World/Grass.gd" type="Script" id=2] [ext_resource path="res://Overlap/Hurtbox.tscn" type="PackedScene" id=3] @@ -10,7 +10,7 @@ extents = Vector2( 7, 7 ) [node name="Grass" type="Node2D"] script = ExtResource( 2 ) -[node name="Sprite" type="Sprite" parent="."] +[node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource( 1 ) centered = false offset = Vector2( -8, -8 ) diff --git a/ActionRPG-HeartBeast/World/GrassBackground.png.import b/ActionRPG-HeartBeast/World/GrassBackground.png.import index f22dfd9..f3b2171 100644 --- a/ActionRPG-HeartBeast/World/GrassBackground.png.import +++ b/ActionRPG-HeartBeast/World/GrassBackground.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/GrassBackground.png-97f32375e80ccfc9d4addd18e4430882.stex" +type="CompressedTexture2D" +uid="uid://cti8so4muh5ky" +path="res://.godot/imported/GrassBackground.png-97f32375e80ccfc9d4addd18e4430882.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/GrassBackground.png" -dest_files=[ "res://.import/GrassBackground.png-97f32375e80ccfc9d4addd18e4430882.stex" ] +dest_files=["res://.godot/imported/GrassBackground.png-97f32375e80ccfc9d4addd18e4430882.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=1 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/Tree.png.import b/ActionRPG-HeartBeast/World/Tree.png.import index 78d197f..37c91ba 100644 --- a/ActionRPG-HeartBeast/World/Tree.png.import +++ b/ActionRPG-HeartBeast/World/Tree.png.import @@ -1,8 +1,9 @@ [remap] importer="texture" -type="StreamTexture" -path="res://.import/Tree.png-14ac646b55f931abf82a3d71f0acdb7a.stex" +type="CompressedTexture2D" +uid="uid://cilct1beq1g2w" +path="res://.godot/imported/Tree.png-14ac646b55f931abf82a3d71f0acdb7a.ctex" metadata={ "vram_texture": false } @@ -10,26 +11,24 @@ metadata={ [deps] source_file="res://World/Tree.png" -dest_files=[ "res://.import/Tree.png-14ac646b55f931abf82a3d71f0acdb7a.stex" ] +dest_files=["res://.godot/imported/Tree.png-14ac646b55f931abf82a3d71f0acdb7a.ctex"] [params] compress/mode=0 +compress/high_quality=false compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 +compress/hdr_compression=1 compress/normal_map=0 -flags/repeat=0 -flags/filter=false -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" process/fix_alpha_border=true process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ActionRPG-HeartBeast/World/Tree.tscn b/ActionRPG-HeartBeast/World/Tree.tscn index 4ed62b6..b9e5187 100644 --- a/ActionRPG-HeartBeast/World/Tree.tscn +++ b/ActionRPG-HeartBeast/World/Tree.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://Shadows/LargeShadow.png" type="Texture" id=1] -[ext_resource path="res://World/Tree.png" type="Texture" id=2] +[ext_resource path="res://Shadows/LargeShadow.png" type="Texture2D" id=1] +[ext_resource path="res://World/Tree.png" type="Texture2D" id=2] [sub_resource type="CapsuleShape2D" id=1] radius = 9.0 @@ -9,10 +9,10 @@ height = 8.0 [node name="Tree" type="StaticBody2D"] -[node name="ShadowSprite" type="Sprite" parent="."] +[node name="ShadowSprite" type="Sprite2D" parent="."] texture = ExtResource( 1 ) -[node name="Sprite" type="Sprite" parent="."] +[node name="Sprite2D" type="Sprite2D" parent="."] position = Vector2( 0, -16 ) texture = ExtResource( 2 ) diff --git a/ActionRPG-HeartBeast/build/.DS_Store b/ActionRPG-HeartBeast/build/.DS_Store index ca7ea915d4c56935d082f27504139e9d1e361511..bb0481573575a6997a9b294b1fa97b4858bb507e 100644 GIT binary patch delta 75 zcmZn(XbIThF2J~JvWGySrc`yck)fH1j)I}7L9LELwV{!Psg8n$scCI3Cx@uAzI9N1 fc1~_ye$V8G0`iQ#n;8XJ`8TsG{9@T8%FGM^K*1Gj delta 101 zcmZn(XbIThF2J~RvWGyShh%lNiLtqkf}xRFt&T#qp^=5Dj)H}$X>Bbhhp4i?bx?eE lPHtX)Hv