First builds and stuff done yipewaho

This commit is contained in:
2026-02-01 05:32:22 +02:00
parent 12c1360ae7
commit d910018b7b
62 changed files with 1886 additions and 37 deletions
+16 -4
View File
@@ -1,9 +1,11 @@
[gd_scene load_steps=11 format=3 uid="uid://c37hbbbx8wje"]
[gd_scene load_steps=13 format=3 uid="uid://c37hbbbx8wje"]
[ext_resource type="Script" uid="uid://bj52mq7uip7di" path="res://Scripts/Enemies/Enemy.cs" id="1_rmkli"]
[ext_resource type="Texture2D" uid="uid://dab3cq4y0d2pm" path="res://Assets/Sprites/Characters/Enemies/water-Sheet.png" id="2_rmkli"]
[ext_resource type="Script" uid="uid://cu37tswrk107q" path="res://Scripts/Enemies/EnemyMovement.cs" id="3_t8by4"]
[ext_resource type="Script" uid="uid://dvkd1keu854so" path="res://Scripts/Components/Health.cs" id="4_cyy2q"]
[ext_resource type="Script" uid="uid://c247m8m3qmlk0" path="res://Scripts/Enemies/EnemyArea.cs" id="5_frtie"]
[ext_resource type="AudioStream" uid="uid://d3x711iom306x" path="res://Assets/Sounds/Sfx/liquidhit.wav" id="6_t8by4"]
[sub_resource type="AtlasTexture" id="AtlasTexture_frtie"]
atlas = ExtResource("2_rmkli")
@@ -44,21 +46,25 @@ animations = [{
[sub_resource type="CircleShape2D" id="CircleShape2D_7puah"]
radius = 12.0
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health")]
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health", "_audio")]
rotates = false
loop = false
script = ExtResource("1_rmkli")
Type = 2
Health = NodePath("Scripts/Health")
_audio = NodePath("AudioStreamPlayer2D")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_ewbju")
autoplay = "default"
offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_pathFollow2D")]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_enemy", "_pathFollow2D")]
script = ExtResource("3_t8by4")
_enemy = NodePath("../..")
_pathFollow2D = NodePath("../..")
_speed = 25.0
@@ -66,10 +72,16 @@ _speed = 25.0
script = ExtResource("4_cyy2q")
_baseMaxHp = 50.0
[node name="HitBox" type="Area2D" parent="."]
[node name="HitBox" type="Area2D" parent="." node_paths=PackedStringArray("Enemy")]
collision_layer = 4
collision_mask = 0
script = ExtResource("5_frtie")
Enemy = NodePath("..")
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox"]
position = Vector2(-1, -9)
shape = SubResource("CircleShape2D_7puah")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_t8by4")
volume_db = -20.0
+61 -3
View File
@@ -1,10 +1,12 @@
[gd_scene load_steps=15 format=3 uid="uid://y54cvugsx75b"]
[gd_scene load_steps=23 format=3 uid="uid://y54cvugsx75b"]
[ext_resource type="Script" uid="uid://bj52mq7uip7di" path="res://Scripts/Enemies/Enemy.cs" id="1_qqq3s"]
[ext_resource type="Texture2D" uid="uid://cm8gnfvfysyyl" path="res://Assets/Sprites/Characters/Enemies/stone-Sheet.png" id="2_ymaxx"]
[ext_resource type="Texture2D" uid="uid://cpyntpwy5riy8" path="res://Assets/Sprites/Characters/Enemies/stone_walk-Sheet.png" id="3_njiku"]
[ext_resource type="Script" uid="uid://cu37tswrk107q" path="res://Scripts/Enemies/EnemyMovement.cs" id="3_pbvk1"]
[ext_resource type="Script" uid="uid://dvkd1keu854so" path="res://Scripts/Components/Health.cs" id="4_njiku"]
[ext_resource type="Script" uid="uid://c247m8m3qmlk0" path="res://Scripts/Enemies/EnemyArea.cs" id="5_ymaxx"]
[ext_resource type="AudioStream" uid="uid://cjc3oi8xonu6q" path="res://Assets/Sounds/Sfx/stonehit.wav" id="6_pbvk1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ldgsr"]
atlas = ExtResource("2_ymaxx")
@@ -34,6 +36,30 @@ region = Rect2(160, 0, 32, 32)
atlas = ExtResource("2_ymaxx")
region = Rect2(192, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gkxry"]
atlas = ExtResource("3_njiku")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_0k7sk"]
atlas = ExtResource("3_njiku")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g3mu5"]
atlas = ExtResource("3_njiku")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nlfdx"]
atlas = ExtResource("3_njiku")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_km1he"]
atlas = ExtResource("3_njiku")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xa2pf"]
atlas = ExtResource("3_njiku")
region = Rect2(160, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ewbju"]
animations = [{
"frames": [{
@@ -61,27 +87,55 @@ animations = [{
"loop": true,
"name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gkxry")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0k7sk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g3mu5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nlfdx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_km1he")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xa2pf")
}],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_7puah"]
radius = 12.0
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health")]
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health", "_audio")]
rotates = false
loop = false
script = ExtResource("1_qqq3s")
Health = NodePath("Scripts/Health")
_audio = NodePath("AudioStreamPlayer2D")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_ewbju")
animation = &"walk"
autoplay = "walk"
frame_progress = 0.2934902
offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_pathFollow2D")]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_enemy", "_pathFollow2D")]
script = ExtResource("3_pbvk1")
_enemy = NodePath("../..")
_pathFollow2D = NodePath("../..")
_speed = 25.0
@@ -98,3 +152,7 @@ Enemy = NodePath("..")
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox"]
position = Vector2(0, -14)
shape = SubResource("CircleShape2D_7puah")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_pbvk1")
volume_db = -20.0
+15 -4
View File
@@ -1,9 +1,11 @@
[gd_scene load_steps=15 format=3 uid="uid://bawoevqlooah0"]
[gd_scene load_steps=17 format=3 uid="uid://bawoevqlooah0"]
[ext_resource type="Script" uid="uid://bj52mq7uip7di" path="res://Scripts/Enemies/Enemy.cs" id="1_0paat"]
[ext_resource type="Texture2D" uid="uid://blkxqlgahm4al" path="res://Assets/Sprites/Characters/Enemies/stump-Sheet.png" id="2_0paat"]
[ext_resource type="Script" uid="uid://cu37tswrk107q" path="res://Scripts/Enemies/EnemyMovement.cs" id="3_8v58s"]
[ext_resource type="Script" uid="uid://dvkd1keu854so" path="res://Scripts/Components/Health.cs" id="4_04dlg"]
[ext_resource type="Script" uid="uid://c247m8m3qmlk0" path="res://Scripts/Enemies/EnemyArea.cs" id="5_pitds"]
[ext_resource type="AudioStream" uid="uid://qx5kenslqkk6" path="res://Assets/Sounds/Sfx/stumphit.wav" id="6_8v58s"]
[sub_resource type="AtlasTexture" id="AtlasTexture_pitds"]
atlas = ExtResource("2_0paat")
@@ -72,24 +74,27 @@ animations = [{
[sub_resource type="CircleShape2D" id="CircleShape2D_7puah"]
radius = 12.0
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health")]
[node name="enemy" type="PathFollow2D" node_paths=PackedStringArray("Health", "_audio")]
rotates = false
loop = false
script = ExtResource("1_0paat")
Type = 1
Health = NodePath("Scripts/Health")
_audio = NodePath("AudioStreamPlayer2D")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_ewbju")
autoplay = "default"
frame = 1
frame_progress = 0.31093782
offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_pathFollow2D")]
[node name="Movement" type="Node" parent="Scripts" node_paths=PackedStringArray("_enemy", "_pathFollow2D")]
script = ExtResource("3_8v58s")
_enemy = NodePath("../..")
_pathFollow2D = NodePath("../..")
_speed = 25.0
@@ -97,10 +102,16 @@ _speed = 25.0
script = ExtResource("4_04dlg")
_baseMaxHp = 50.0
[node name="HitBox" type="Area2D" parent="."]
[node name="HitBox" type="Area2D" parent="." node_paths=PackedStringArray("Enemy")]
collision_layer = 4
collision_mask = 0
script = ExtResource("5_pitds")
Enemy = NodePath("..")
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox"]
position = Vector2(0, -14)
shape = SubResource("CircleShape2D_7puah")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_8v58s")
volume_db = -20.0
+66
View File
@@ -0,0 +1,66 @@
[gd_scene load_steps=9 format=3 uid="uid://wucwxtp1w12q"]
[ext_resource type="Script" uid="uid://ln2lt16fi47q" path="res://Scripts/Projectiles/Projectile.cs" id="1_yxym4"]
[ext_resource type="Texture2D" uid="uid://dxon2g2sn48jq" path="res://Assets/Sprites/Projectiles/blueflame.png" id="2_yxym4"]
[sub_resource type="CircleShape2D" id="CircleShape2D_llqe1"]
radius = 8.062258
[sub_resource type="AtlasTexture" id="AtlasTexture_opdl0"]
atlas = ExtResource("2_yxym4")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_baewk"]
atlas = ExtResource("2_yxym4")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_laj71"]
atlas = ExtResource("2_yxym4")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e8kgl"]
atlas = ExtResource("2_yxym4")
region = Rect2(48, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_0qapt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_opdl0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_baewk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_laj71")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e8kgl")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
scale = Vector2(0.75, 0.75)
script = ExtResource("1_yxym4")
_superEffective = Array[int]([2])
_baseDamage = 25.0
_speed = 250.0
_hurtBox = NodePath("Hurtbox")
[node name="Hurtbox" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("CircleShape2D_llqe1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
rotation = -1.5707964
sprite_frames = SubResource("SpriteFrames_0qapt")
autoplay = "default"
offset = Vector2(0, -8)
+2
View File
@@ -44,6 +44,7 @@ animations = [{
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
scale = Vector2(0.75, 0.75)
script = ExtResource("1_llqe1")
_superEffective = Array[int]([1])
_baseDamage = 25.0
@@ -61,4 +62,5 @@ shape = SubResource("CircleShape2D_llqe1")
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
rotation = -1.5707964
sprite_frames = SubResource("SpriteFrames_0qapt")
autoplay = "default"
offset = Vector2(0, -8)
+59
View File
@@ -0,0 +1,59 @@
[gd_scene load_steps=8 format=3 uid="uid://deud430j2w18n"]
[ext_resource type="Script" uid="uid://ln2lt16fi47q" path="res://Scripts/Projectiles/Projectile.cs" id="1_g5vj3"]
[ext_resource type="Texture2D" uid="uid://bfclgdy7dusmg" path="res://Assets/Sprites/Projectiles/projectile_green-Sheet.png" id="2_g5vj3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_llqe1"]
radius = 8.062258
[sub_resource type="AtlasTexture" id="AtlasTexture_pj5bm"]
atlas = ExtResource("2_g5vj3")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_8cpk0"]
atlas = ExtResource("2_g5vj3")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nbvp2"]
atlas = ExtResource("2_g5vj3")
region = Rect2(32, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_0qapt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_pj5bm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8cpk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nbvp2")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
scale = Vector2(0.75, 0.75)
script = ExtResource("1_g5vj3")
_superEffective = Array[int]([0])
_baseDamage = 25.0
_speed = 250.0
_hurtBox = NodePath("Hurtbox")
[node name="Hurtbox" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("CircleShape2D_llqe1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
rotation = -1.5707964
sprite_frames = SubResource("SpriteFrames_0qapt")
autoplay = "default"
offset = Vector2(0, -8)
@@ -0,0 +1,85 @@
[gd_scene load_steps=12 format=3 uid="uid://8230dpmp7mic"]
[ext_resource type="Texture2D" uid="uid://be7hl01iuo5af" path="res://Assets/Sprites/Characters/Player/kitsune-Sheet.png" id="1_8pa4j"]
[ext_resource type="Script" uid="uid://c4764ubjc3tan" path="res://Scripts/Turrets/TurretPlaceholder.cs" id="1_m8yif"]
[sub_resource type="AtlasTexture" id="AtlasTexture_m8yif"]
atlas = ExtResource("1_8pa4j")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_mxl7p"]
atlas = ExtResource("1_8pa4j")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_5c7uc"]
atlas = ExtResource("1_8pa4j")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_27ihx"]
atlas = ExtResource("1_8pa4j")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_rkws8"]
atlas = ExtResource("1_8pa4j")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ppr0o"]
atlas = ExtResource("1_8pa4j")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_m8yif")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mxl7p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5c7uc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_27ihx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rkws8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ppr0o")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[node name="Turret" type="Node2D" node_paths=PackedStringArray("_placementChecker")]
y_sort_enabled = true
texture_filter = 1
script = ExtResource("1_m8yif")
_placementChecker = NodePath("PlacementCollider")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1, 1, 1, 0.49803922)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.66817015
offset = Vector2(0, -16)
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
+85
View File
@@ -0,0 +1,85 @@
[gd_scene load_steps=12 format=3 uid="uid://dmyv5hki78wf7"]
[ext_resource type="Script" uid="uid://c4764ubjc3tan" path="res://Scripts/Turrets/TurretPlaceholder.cs" id="1_eybvl"]
[ext_resource type="Texture2D" uid="uid://c6dl0tlkdtis1" path="res://Assets/Sprites/Characters/Player/oniSheet.png" id="2_eybvl"]
[sub_resource type="AtlasTexture" id="AtlasTexture_o7til"]
atlas = ExtResource("2_eybvl")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_d2vfx"]
atlas = ExtResource("2_eybvl")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_oap50"]
atlas = ExtResource("2_eybvl")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_8du7j"]
atlas = ExtResource("2_eybvl")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_q65kb"]
atlas = ExtResource("2_eybvl")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tw2se"]
atlas = ExtResource("2_eybvl")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_o7til")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d2vfx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oap50")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8du7j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_q65kb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tw2se")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[node name="Turret" type="Node2D" node_paths=PackedStringArray("_placementChecker")]
y_sort_enabled = true
texture_filter = 1
script = ExtResource("1_eybvl")
_placementChecker = NodePath("PlacementCollider")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1, 1, 1, 0.49803922)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.66817015
offset = Vector2(0, -16)
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
@@ -0,0 +1,85 @@
[gd_scene load_steps=12 format=3 uid="uid://dqyr3m6o0e3i"]
[ext_resource type="Script" uid="uid://c4764ubjc3tan" path="res://Scripts/Turrets/TurretPlaceholder.cs" id="1_1ptjx"]
[ext_resource type="Texture2D" uid="uid://codbtra5i6ara" path="res://Assets/Sprites/Characters/Player/tengu-Sheet.png" id="2_1ptjx"]
[sub_resource type="AtlasTexture" id="AtlasTexture_a6rco"]
atlas = ExtResource("2_1ptjx")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_42avh"]
atlas = ExtResource("2_1ptjx")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e075m"]
atlas = ExtResource("2_1ptjx")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tmypy"]
atlas = ExtResource("2_1ptjx")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lgt5p"]
atlas = ExtResource("2_1ptjx")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_66d3b"]
atlas = ExtResource("2_1ptjx")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_a6rco")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_42avh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e075m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tmypy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lgt5p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_66d3b")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[node name="Turret" type="Node2D" node_paths=PackedStringArray("_placementChecker")]
y_sort_enabled = true
texture_filter = 1
script = ExtResource("1_1ptjx")
_placementChecker = NodePath("PlacementCollider")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1, 1, 1, 0.49803922)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.8244228
offset = Vector2(0, -16)
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
+31 -3
View File
@@ -1,9 +1,11 @@
[gd_scene load_steps=15 format=3 uid="uid://cx7gr555b1gov"]
[gd_scene load_steps=18 format=3 uid="uid://cx7gr555b1gov"]
[ext_resource type="Texture2D" uid="uid://be7hl01iuo5af" path="res://Assets/Sprites/Characters/Player/kitsune-Sheet.png" id="1_0bpay"]
[ext_resource type="Script" uid="uid://cxrhl65cjw4yr" path="res://Scripts/Turrets/Turret.cs" id="2_jjtgc"]
[ext_resource type="Script" uid="uid://cy00plvsi6vkn" path="res://Scripts/Projectiles/ProjectilePool.cs" id="3_d0rgn"]
[ext_resource type="PackedScene" uid="uid://cr6shokga0dy6" path="res://Prefabs/Projectiles/Fireball.tscn" id="4_jjtgc"]
[ext_resource type="PackedScene" uid="uid://wucwxtp1w12q" path="res://Prefabs/Projectiles/Blueflame.tscn" id="4_jjtgc"]
[ext_resource type="Script" uid="uid://bpqof3jshxnug" path="res://Scripts/Turrets/DragMover.cs" id="5_d0rgn"]
[ext_resource type="AudioStream" uid="uid://dt18fd3icyuxu" path="res://Assets/Sounds/Sfx/kitsune.wav" id="6_cnydl"]
[sub_resource type="AtlasTexture" id="AtlasTexture_3dryh"]
atlas = ExtResource("1_0bpay")
@@ -61,6 +63,9 @@ radius = 50.0
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jjtgc"]
size = Vector2(32, 16)
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
@@ -78,33 +83,56 @@ offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Turret" type="Node" parent="Scripts" node_paths=PackedStringArray("_Attackrange", "_parent", "_projectilePool")]
[node name="Turret" type="Node" parent="Scripts" node_paths=PackedStringArray("_Attackrange", "_parent", "_projectilePool", "_audio")]
script = ExtResource("2_jjtgc")
_Attackrange = NodePath("../../ShootArea")
_fireRate = 1.0
_parent = NodePath("../..")
_projectilePool = NodePath("../ProjectilePool")
_audio = NodePath("../../AudioStreamPlayer2D")
[node name="ProjectilePool" type="Node" parent="Scripts"]
script = ExtResource("3_d0rgn")
_scene = ExtResource("4_jjtgc")
_poolSize = 10
[node name="DragMover" type="Node" parent="Scripts" node_paths=PackedStringArray("Parent", "DragArea", "CheckArea", "ShootArea")]
script = ExtResource("5_d0rgn")
Parent = NodePath("../..")
DragArea = NodePath("../../DragCollider")
CheckArea = NodePath("../../PlacementCollider")
ShootArea = NodePath("../../ShootArea")
[node name="ShootArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
input_pickable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="ShootArea"]
rotation = 1.5707964
shape = SubResource("CircleShape2D_5wxv7")
[node name="PlacementCollider" type="Area2D" parent="."]
input_pickable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="DragCollider" type="Area2D" parent="."]
collision_layer = 2147483648
collision_mask = 2147483648
[node name="CollisionShape2D" type="CollisionShape2D" parent="DragCollider"]
position = Vector2(0, -16)
rotation = 1.5707964
shape = SubResource("RectangleShape2D_jjtgc")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_cnydl")
volume_db = -20.0
+136
View File
@@ -0,0 +1,136 @@
[gd_scene load_steps=18 format=3 uid="uid://8fsvnmto0ckj"]
[ext_resource type="Texture2D" uid="uid://c6dl0tlkdtis1" path="res://Assets/Sprites/Characters/Player/oniSheet.png" id="1_rg6xk"]
[ext_resource type="Script" uid="uid://cxrhl65cjw4yr" path="res://Scripts/Turrets/Turret.cs" id="2_hi1ge"]
[ext_resource type="Script" uid="uid://cy00plvsi6vkn" path="res://Scripts/Projectiles/ProjectilePool.cs" id="3_if52b"]
[ext_resource type="PackedScene" uid="uid://deud430j2w18n" path="res://Prefabs/Projectiles/GreenFist.tscn" id="4_rg6xk"]
[ext_resource type="Script" uid="uid://bpqof3jshxnug" path="res://Scripts/Turrets/DragMover.cs" id="5_hi1ge"]
[ext_resource type="AudioStream" uid="uid://ce5vqm3tts58o" path="res://Assets/Sounds/Sfx/oni.wav" id="6_if52b"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hi1ge"]
atlas = ExtResource("1_rg6xk")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_if52b"]
atlas = ExtResource("1_rg6xk")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_aqbic"]
atlas = ExtResource("1_rg6xk")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nxpwl"]
atlas = ExtResource("1_rg6xk")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_tmcq1"]
atlas = ExtResource("1_rg6xk")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ahiq0"]
atlas = ExtResource("1_rg6xk")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_hi1ge")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_if52b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_aqbic")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nxpwl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_tmcq1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ahiq0")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_5wxv7"]
radius = 50.0
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rg6xk"]
size = Vector2(32, 16)
[node name="Turret" type="Node2D"]
y_sort_enabled = true
texture_filter = 1
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.8244228
offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Turret" type="Node" parent="Scripts" node_paths=PackedStringArray("_Attackrange", "_parent", "_projectilePool", "_audio")]
script = ExtResource("2_hi1ge")
_Attackrange = NodePath("../../ShootArea")
_fireRate = 1.0
_parent = NodePath("../..")
_projectilePool = NodePath("../ProjectilePool")
_audio = NodePath("../../AudioStreamPlayer2D")
[node name="ProjectilePool" type="Node" parent="Scripts"]
script = ExtResource("3_if52b")
_scene = ExtResource("4_rg6xk")
_poolSize = 10
[node name="DragMover" type="Node" parent="Scripts" node_paths=PackedStringArray("Parent", "DragArea", "CheckArea", "ShootArea")]
script = ExtResource("5_hi1ge")
Parent = NodePath("../..")
DragArea = NodePath("../../DragCollider")
CheckArea = NodePath("../../PlacementCollider")
ShootArea = NodePath("../../ShootArea")
[node name="ShootArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="ShootArea"]
rotation = 1.5707964
shape = SubResource("CircleShape2D_5wxv7")
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
[node name="DragCollider" type="Area2D" parent="."]
collision_layer = 2147483648
collision_mask = 2147483648
[node name="CollisionShape2D" type="CollisionShape2D" parent="DragCollider"]
position = Vector2(0, -16)
rotation = 1.5707964
shape = SubResource("RectangleShape2D_rg6xk")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_if52b")
volume_db = -20.0
+136
View File
@@ -0,0 +1,136 @@
[gd_scene load_steps=18 format=3 uid="uid://cthdcnxhbyad2"]
[ext_resource type="Texture2D" uid="uid://codbtra5i6ara" path="res://Assets/Sprites/Characters/Player/tengu-Sheet.png" id="1_3e4v5"]
[ext_resource type="Script" uid="uid://cxrhl65cjw4yr" path="res://Scripts/Turrets/Turret.cs" id="2_ahbvo"]
[ext_resource type="Script" uid="uid://cy00plvsi6vkn" path="res://Scripts/Projectiles/ProjectilePool.cs" id="3_466qr"]
[ext_resource type="PackedScene" uid="uid://cr6shokga0dy6" path="res://Prefabs/Projectiles/Fireball.tscn" id="4_mtyrr"]
[ext_resource type="Script" uid="uid://bpqof3jshxnug" path="res://Scripts/Turrets/DragMover.cs" id="5_ahbvo"]
[ext_resource type="AudioStream" uid="uid://wvrhsssfi7w3" path="res://Assets/Sounds/Sfx/tengu.wav" id="6_466qr"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ahbvo"]
atlas = ExtResource("1_3e4v5")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_466qr"]
atlas = ExtResource("1_3e4v5")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_mtyrr"]
atlas = ExtResource("1_3e4v5")
region = Rect2(32, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_wfhqm"]
atlas = ExtResource("1_3e4v5")
region = Rect2(48, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_1ekx4"]
atlas = ExtResource("1_3e4v5")
region = Rect2(64, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_u8dw0"]
atlas = ExtResource("1_3e4v5")
region = Rect2(80, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_ebmjs"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ahbvo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_466qr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mtyrr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wfhqm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1ekx4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u8dw0")
}],
"loop": true,
"name": &"idle",
"speed": 8.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_5wxv7"]
radius = 50.0
[sub_resource type="CircleShape2D" id="CircleShape2D_y5hcb"]
radius = 7.0
[sub_resource type="QuadMesh" id="QuadMesh_5wxv7"]
size = Vector2(100, 100)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3e4v5"]
size = Vector2(32, 16)
[node name="Turret" type="Node2D"]
y_sort_enabled = true
texture_filter = 1
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
sprite_frames = SubResource("SpriteFrames_ebmjs")
animation = &"idle"
autoplay = "idle"
frame_progress = 0.8244228
offset = Vector2(0, -16)
[node name="Scripts" type="Node" parent="."]
[node name="Turret" type="Node" parent="Scripts" node_paths=PackedStringArray("_Attackrange", "_parent", "_projectilePool", "_audio")]
script = ExtResource("2_ahbvo")
_Attackrange = NodePath("../../ShootArea")
_fireRate = 1.0
_parent = NodePath("../..")
_projectilePool = NodePath("../ProjectilePool")
_audio = NodePath("../../AudioStreamPlayer2D")
[node name="ProjectilePool" type="Node" parent="Scripts"]
script = ExtResource("3_466qr")
_scene = ExtResource("4_mtyrr")
_poolSize = 10
[node name="DragMover" type="Node" parent="Scripts" node_paths=PackedStringArray("Parent", "DragArea", "CheckArea", "ShootArea")]
script = ExtResource("5_ahbvo")
Parent = NodePath("../..")
DragArea = NodePath("../../DragCollider")
CheckArea = NodePath("../../PlacementCollider")
ShootArea = NodePath("../../ShootArea")
[node name="ShootArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="ShootArea"]
rotation = 1.5707964
shape = SubResource("CircleShape2D_5wxv7")
[node name="PlacementCollider" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlacementCollider"]
position = Vector2(0, -5)
rotation = 1.5707964
shape = SubResource("CircleShape2D_y5hcb")
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
visible = false
mesh = SubResource("QuadMesh_5wxv7")
[node name="DragCollider" type="Area2D" parent="."]
collision_layer = 2147483648
collision_mask = 2147483648
[node name="CollisionShape2D" type="CollisionShape2D" parent="DragCollider"]
position = Vector2(0, -16)
rotation = 1.5707964
shape = SubResource("RectangleShape2D_3e4v5")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_466qr")
volume_db = -20.0