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