settings, small fixes

This commit is contained in:
Daniel Kauss Serna 2026-02-15 16:17:51 +01:00
parent b12c193636
commit e08e3ebb13
174 changed files with 997 additions and 1040 deletions

147
scenes/credits.tscn Normal file
View file

@ -0,0 +1,147 @@
[gd_scene load_steps=9 format=3 uid="uid://b8f6fhfp1pb58"]
[ext_resource type="Script" uid="uid://b178407fwlyvs" path="res://scripts/credits.gd" id="1_5em78"]
[ext_resource type="Texture2D" uid="uid://d3abeekjumqyb" path="res://assets/player/maske1.png" id="1_nm7lk"]
[ext_resource type="Theme" uid="uid://d3iyu7ukwsn1p" path="res://ui/default_theme.tres" id="2_c1t8d"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="2_g4wvt"]
[ext_resource type="Script" uid="uid://bhgj68nop1igc" path="res://scripts/floattt.gd" id="2_pjc1l"]
[ext_resource type="Texture2D" uid="uid://dgd8u7jrpy1v5" path="res://assets/player/maske2.png" id="3_4av4j"]
[ext_resource type="Texture2D" uid="uid://d3h6wl5cnf8ba" path="res://assets/player/maske3.png" id="4_5em78"]
[sub_resource type="SpriteFrames" id="SpriteFrames_h30m1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_nm7lk")
}, {
"duration": 1.0,
"texture": ExtResource("3_4av4j")
}, {
"duration": 1.0,
"texture": ExtResource("4_5em78")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_5em78")
[node name="ColorRect" type="ColorRect" parent="."]
z_index = -10
offset_left = -685.0
offset_top = -704.0
offset_right = -645.0
offset_bottom = -664.0
scale = Vector2(36.570084, 36.570084)
color = Color(0.08235294, 0.09803922, 0.89411765, 1)
[node name="Shadow" type="Node2D" parent="."]
z_index = -1
position = Vector2(1, 99)
script = ExtResource("2_g4wvt")
metadata/_custom_type_script = "uid://synocbtvgrf4"
[node name="Maske1" type="AnimatedSprite2D" parent="."]
position = Vector2(0, 65)
sprite_frames = SubResource("SpriteFrames_h30m1")
autoplay = "default"
script = ExtResource("2_pjc1l")
float_offset = 65.0
[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(2, 2)
[node name="Label" type="Label" parent="."]
offset_left = -54.0
offset_top = 114.0
offset_right = 61.0
offset_bottom = 139.0
theme = ExtResource("2_c1t8d")
text = "Daniel Kauss
Claudia Francisco"
[node name="Label2" type="Label" parent="."]
offset_left = -277.0
offset_top = -151.0
offset_right = -122.0
offset_bottom = 70.0
theme = ExtResource("2_c1t8d")
text = "ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR"
[node name="Label3" type="Label" parent="."]
offset_left = -115.0
offset_top = -151.0
offset_right = 40.0
offset_bottom = 70.0
theme = ExtResource("2_c1t8d")
text = "ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR"
[node name="Label4" type="Label" parent="."]
offset_left = 43.0
offset_top = -151.0
offset_right = 198.0
offset_bottom = 70.0
theme = ExtResource("2_c1t8d")
text = "ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR"
[node name="Label5" type="Label" parent="."]
offset_left = 204.0
offset_top = -151.0
offset_right = 359.0
offset_bottom = 70.0
theme = ExtResource("2_c1t8d")
text = "ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR
ERROR ERROR ERROR ERROR"

View file

@ -1,12 +1,9 @@
[gd_scene load_steps=12 format=3 uid="uid://dvlr5hamruqrd"]
[gd_scene load_steps=9 format=3 uid="uid://dvlr5hamruqrd"]
[ext_resource type="Script" uid="uid://b1t0k6dfubsmk" path="res://enemy.gd" id="1_fr7lv"]
[ext_resource type="PackedScene" uid="uid://bgpha7wiajw6q" path="res://scenes/mask_drop.tscn" id="2_3ysdf"]
[ext_resource type="Script" uid="uid://b1t0k6dfubsmk" path="res://scripts/enemy.gd" id="1_fr7lv"]
[ext_resource type="Resource" uid="uid://cf7x0uuj6wnil" path="res://resources/scythe.tres" id="2_j1ss0"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="2_vv3x1"]
[ext_resource type="PackedScene" uid="uid://c8l24d01bm2sg" path="res://scenes/enemy_explosion.tscn" id="3_esqeu"]
[ext_resource type="PackedScene" uid="uid://0n57icfpulmc" path="res://scenes/hearts.tscn" id="4_yt5vg"]
[ext_resource type="PackedScene" uid="uid://bmwgnwqj3scm5" path="res://scenes/scithe_attack.tscn" id="5_7t5mr"]
[ext_resource type="PackedScene" uid="uid://dfad6rsacpogt" path="res://scenes/spit.tscn" id="6_y8vm1"]
[sub_resource type="CircleShape2D" id="CircleShape2D_sw0xa"]
radius = 21.151093
@ -35,14 +32,8 @@ animations = [{
collision_layer = 2
motion_mode = 1
script = ExtResource("1_fr7lv")
mask_drop = ExtResource("2_3ysdf")
death_explosion = ExtResource("3_esqeu")
heart_attack = ExtResource("4_yt5vg")
scithe_attack = ExtResource("5_7t5mr")
spit_attack = ExtResource("6_y8vm1")
charge_time = 0.6
flee_range = 10
movement_speed = 35.0
current_mask_data = ExtResource("2_j1ss0")
death_scene = ExtResource("3_esqeu")
[node name="Shadow" type="Node2D" parent="."]
position = Vector2(0, 15)

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=8 format=3 uid="uid://c8l24d01bm2sg"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/particles/death.png" id="1_bpht7"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/vfx/death.png" id="1_bpht7"]
[ext_resource type="Script" uid="uid://b6f7w4uftych8" path="res://scripts/enemy_explosion.gd" id="2_bpht7"]
[sub_resource type="Curve" id="Curve_qx6bo"]

View file

@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://kyh2wu0jwdwd" path="res://scripts/enemy_spawn.gd" id="1_8pwvm"]
[ext_resource type="PackedScene" uid="uid://dvlr5hamruqrd" path="res://scenes/enemy_base.tscn" id="2_vav55"]
[ext_resource type="PackedScene" uid="uid://ya6jfltqnl1b" path="res://scenes/ranged_enemy.tscn" id="3_4ll2w"]
[ext_resource type="PackedScene" uid="uid://dbgsb7uyh2e5k" path="res://spit_dragon.tscn" id="4_muh2a"]
[ext_resource type="PackedScene" uid="uid://dbgsb7uyh2e5k" path="res://scenes/spit_dragon.tscn" id="4_muh2a"]
[node name="EnemySpawn" type="Node2D"]
z_index = 1

View file

@ -1,8 +1,8 @@
[gd_scene load_steps=11 format=3 uid="uid://0n57icfpulmc"]
[ext_resource type="Texture2D" uid="uid://beefpuq6vu475" path="res://assets/particles/heart.png" id="1_hugpe"]
[ext_resource type="Texture2D" uid="uid://beefpuq6vu475" path="res://assets/vfx/heart.png" id="1_hugpe"]
[ext_resource type="Script" uid="uid://dyyqm52cwjimy" path="res://scripts/hearts.gd" id="2_q6mno"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://hitbox.tscn" id="3_hugpe"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://scenes/hitbox.tscn" id="3_hugpe"]
[sub_resource type="CanvasTexture" id="CanvasTexture_7sc4i"]
diffuse_texture = ExtResource("1_hugpe")

12
scenes/hitbox.tscn Normal file
View file

@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://crptu0w0l57dd"]
[ext_resource type="Script" uid="uid://ejd25ul4j5pp" path="res://scripts/hitbox.gd" id="1_orx6n"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_orx6n"]
[node name="Hitbox" type="Area2D"]
collision_mask = 3
script = ExtResource("1_orx6n")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_orx6n")

View file

@ -1,11 +1,9 @@
[gd_scene load_steps=9 format=3 uid="uid://bgpha7wiajw6q"]
[gd_scene load_steps=6 format=3 uid="uid://bgpha7wiajw6q"]
[ext_resource type="Script" uid="uid://c576b1a6s5vw" path="res://scripts/mask_drop.gd" id="2_4rvbi"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="2_m0s44"]
[ext_resource type="Texture2D" uid="uid://brti1euuui0tv" path="res://assets/pick_up.png" id="3_tsd5b"]
[ext_resource type="Texture2D" uid="uid://brti1euuui0tv" path="res://ui/pick_up.png" id="3_tsd5b"]
[ext_resource type="Shader" uid="uid://bfgw43365hrv6" path="res://shaders/outline.gdshader" id="4_p81p2"]
[ext_resource type="Texture2D" uid="uid://jdf7lep07uov" path="res://assets/maske_melee_drop.png" id="5_3mwkh"]
[ext_resource type="Texture2D" uid="uid://kw0b4c52lx2" path="res://assets/maske_spit_drop.png" id="6_p81p2"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_601wb"]
shader = ExtResource("4_p81p2")
@ -15,9 +13,6 @@ shader_parameter/pattern = 0
shader_parameter/inside = false
shader_parameter/add_margins = true
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_4rvbi"]
load_path = "res://.godot/imported/maske_ranged_drop.png-ee4e4824ad53db596cba463459262e62.ctex"
[node name="Mask" type="Node2D" groups=["mask"]]
z_index = 2
scale = Vector2(2, 2)
@ -34,17 +29,8 @@ position = Vector2(0, -23)
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_tsd5b")
[node name="MeleeMask" type="Sprite2D" parent="."]
[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_601wb")
position = Vector2(0, 5)
texture = ExtResource("5_3mwkh")
[node name="RangedMask" type="Sprite2D" parent="."]
visible = false
texture = SubResource("CompressedTexture2D_4rvbi")
[node name="SpitMask" type="Sprite2D" parent="."]
visible = false
texture = ExtResource("6_p81p2")
[node name="Timer" type="Timer" parent="."]

View file

@ -1,12 +1,17 @@
[gd_scene load_steps=13 format=3 uid="uid://ncgwx0yjn2gt"]
[gd_scene load_steps=16 format=3 uid="uid://ncgwx0yjn2gt"]
[ext_resource type="Script" uid="uid://sbseykg05177" path="res://player.gd" id="1_ur7pv"]
[ext_resource type="Script" uid="uid://sbseykg05177" path="res://scripts/player.gd" id="1_ur7pv"]
[ext_resource type="Resource" uid="uid://cf7x0uuj6wnil" path="res://resources/scythe.tres" id="2_ur7pv"]
[ext_resource type="PackedScene" uid="uid://bp45yth1y3ia5" path="res://scenes/player_explosion.tscn" id="3_3v2ag"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="4_3v2ag"]
[ext_resource type="Texture2D" uid="uid://d3abeekjumqyb" path="res://assets/maske1.png" id="5_jej6c"]
[ext_resource type="Texture2D" uid="uid://dgd8u7jrpy1v5" path="res://assets/maske2.png" id="6_f1ej7"]
[ext_resource type="Texture2D" uid="uid://d3abeekjumqyb" path="res://assets/player/maske1.png" id="5_jej6c"]
[ext_resource type="Texture2D" uid="uid://dgd8u7jrpy1v5" path="res://assets/player/maske2.png" id="6_f1ej7"]
[ext_resource type="Texture2D" uid="uid://ftfnn5v1swc1" path="res://ui/arrow.png" id="7_fjrip"]
[ext_resource type="Texture2D" uid="uid://d3h6wl5cnf8ba" path="res://assets/maske3.png" id="7_oprun"]
[ext_resource type="Texture2D" uid="uid://d3h6wl5cnf8ba" path="res://assets/player/maske3.png" id="7_oprun"]
[ext_resource type="Script" uid="uid://c0e4uacrlcrk8" path="res://scripts/AnimSprite.gd" id="8_a8ls1"]
[ext_resource type="Script" uid="uid://dn6ro2vef1qps" path="res://scripts/arrow.gd" id="8_smehm"]
[ext_resource type="PackedScene" uid="uid://bq8ig7s8gxia4" path="res://ui/ui_layer.tscn" id="10_y4r1p"]
[ext_resource type="PackedScene" uid="uid://dv8l318cesr8e" path="res://scenes/main_cam.tscn" id="11_d2wvv"]
[sub_resource type="SpriteFrames" id="SpriteFrames_e36ub"]
animations = [{
@ -33,29 +38,27 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_vaj68"]
load_path = "res://.godot/imported/maske_ranged.png-4c1779df049f2398346f002d8c8d7de7.ctex"
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f1jbl"]
load_path = "res://.godot/imported/maske_melee.png-683f1c3cec32a2b5aa545d35da87a46b.ctex"
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_xa8c5"]
load_path = "res://.godot/imported/maske_spit.png-3ce67eb7b0fddb8e80161ab20605961e.ctex"
[sub_resource type="CircleShape2D" id="CircleShape2D_215e1"]
radius = 10.049875
[node name="Player" type="CharacterBody2D"]
[node name="Player" type="CharacterBody2D" groups=["player"]]
y_sort_enabled = true
collision_layer = 2
motion_mode = 1
script = ExtResource("1_ur7pv")
current_mask_data = ExtResource("2_ur7pv")
death_scene = ExtResource("3_3v2ag")
[node name="UILayer" parent="." instance=ExtResource("10_y4r1p")]
[node name="Shadow" type="Node2D" parent="."]
position = Vector2(0, 19)
script = ExtResource("4_3v2ag")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
[node name="PlayerSprite" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -30)
sprite_frames = SubResource("SpriteFrames_e36ub")
animation = &"idle"
@ -64,18 +67,10 @@ script = ExtResource("8_a8ls1")
float_str = 3.0
float_time = 3.0
[node name="RangedMask" type="Sprite2D" parent="AnimatedSprite2D"]
visible = false
texture = SubResource("CompressedTexture2D_vaj68")
[node name="MeleeMask" type="Sprite2D" parent="AnimatedSprite2D"]
[node name="MaskSprite" type="Sprite2D" parent="PlayerSprite"]
position = Vector2(0, 1)
texture = SubResource("CompressedTexture2D_f1jbl")
[node name="SpitMask" type="Sprite2D" parent="AnimatedSprite2D"]
visible = false
texture = SubResource("CompressedTexture2D_xa8c5")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 12)
shape = SubResource("CircleShape2D_215e1")
@ -84,3 +79,10 @@ shape = SubResource("CircleShape2D_215e1")
scale = Vector2(2.468657, 2.468657)
texture = ExtResource("7_fjrip")
offset = Vector2(28.12, 0)
script = ExtResource("8_smehm")
[node name="MainCam" parent="." node_paths=PackedStringArray("ui_layer") instance=ExtResource("11_d2wvv")]
process_mode = 3
z_index = 10
target_res = Vector2(640, 360)
ui_layer = NodePath("../UILayer")

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=8 format=3 uid="uid://bp45yth1y3ia5"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/particles/death.png" id="1_dkjut"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/vfx/death.png" id="1_dkjut"]
[ext_resource type="Script" uid="uid://b6f7w4uftych8" path="res://scripts/enemy_explosion.gd" id="2_rf25u"]
[sub_resource type="Curve" id="Curve_qx6bo"]

View file

@ -1,15 +1,12 @@
[gd_scene load_steps=13 format=3 uid="uid://ya6jfltqnl1b"]
[gd_scene load_steps=10 format=3 uid="uid://ya6jfltqnl1b"]
[ext_resource type="Script" uid="uid://buamdls133c2e" path="res://scripts/ranged_enemy.gd" id="1_rs3ab"]
[ext_resource type="PackedScene" uid="uid://bgpha7wiajw6q" path="res://scenes/mask_drop.tscn" id="2_6r77u"]
[ext_resource type="Resource" uid="uid://jar2mye8do0c" path="res://resources/hearts.tres" id="2_nqoy7"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="2_v0fr6"]
[ext_resource type="PackedScene" uid="uid://c8l24d01bm2sg" path="res://scenes/enemy_explosion.tscn" id="3_g3aa2"]
[ext_resource type="Texture2D" uid="uid://c0e666ifvdck6" path="res://assets/cerdipulpo_1.png" id="3_v0fr6"]
[ext_resource type="PackedScene" uid="uid://0n57icfpulmc" path="res://scenes/hearts.tscn" id="4_11j8y"]
[ext_resource type="Texture2D" uid="uid://cinexqxlsuwnj" path="res://assets/cerdipulpo_2.png" id="4_nqoy7"]
[ext_resource type="Texture2D" uid="uid://cy034lyy4w74p" path="res://assets/cerdipulpo_3.png" id="5_2ls4a"]
[ext_resource type="PackedScene" uid="uid://bmwgnwqj3scm5" path="res://scenes/scithe_attack.tscn" id="5_xk0lc"]
[ext_resource type="PackedScene" uid="uid://dfad6rsacpogt" path="res://scenes/spit.tscn" id="6_t2vsf"]
[ext_resource type="Texture2D" uid="uid://c0e666ifvdck6" path="res://assets/enemies/cerdipulpo_1.png" id="3_v0fr6"]
[ext_resource type="Texture2D" uid="uid://cinexqxlsuwnj" path="res://assets/enemies/cerdipulpo_2.png" id="4_nqoy7"]
[ext_resource type="Texture2D" uid="uid://cy034lyy4w74p" path="res://assets/enemies/cerdipulpo_3.png" id="5_2ls4a"]
[sub_resource type="CircleShape2D" id="CircleShape2D_rs3ab"]
@ -33,16 +30,8 @@ animations = [{
[node name="RangedEnemy" type="CharacterBody2D" groups=["enemy"]]
collision_layer = 2
script = ExtResource("1_rs3ab")
mask_drop = ExtResource("2_6r77u")
death_explosion = ExtResource("3_g3aa2")
heart_attack = ExtResource("4_11j8y")
scithe_attack = ExtResource("5_xk0lc")
spit_attack = ExtResource("6_t2vsf")
charge_time = 0.9
flee_range = 100
aproach_range = 200
current_mask = 1
movement_speed = 22.0
current_mask_data = ExtResource("2_nqoy7")
death_scene = ExtResource("3_g3aa2")
[node name="Shadow" type="Node2D" parent="."]
position = Vector2(0, 16)

View file

@ -1,14 +1,15 @@
[gd_scene load_steps=10 format=3 uid="uid://bmwgnwqj3scm5"]
[ext_resource type="Shader" uid="uid://bwcmfh6twfdpi" path="res://shaders/fade_in.gdshader" id="1_0m7gt"]
[ext_resource type="Script" uid="uid://c1anp8np0aw0" path="res://scripts/scithe_attack.gd" id="1_lx8lr"]
[ext_resource type="Texture2D" uid="uid://divkl7rteoscg" path="res://assets/scithe_load.png" id="2_lx8lr"]
[ext_resource type="Texture2D" uid="uid://cskpxmrlwc0gg" path="res://assets/lavender_scythe.png" id="4_6xgjh"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://hitbox.tscn" id="5_6xgjh"]
[ext_resource type="Script" uid="uid://c1anp8np0aw0" path="res://scripts/scythe_attack.gd" id="1_p6kik"]
[ext_resource type="Shader" uid="uid://bwcmfh6twfdpi" path="res://shaders/fade_in.gdshader" id="2_aw0er"]
[ext_resource type="Texture2D" uid="uid://cskpxmrlwc0gg" path="res://assets/masks/lavender_scythe.png" id="3_5mjrn"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://scenes/hitbox.tscn" id="4_ek4qm"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_2r5ap"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5b14r"]
shader = ExtResource("1_0m7gt")
shader_parameter/mask = ExtResource("2_lx8lr")
shader = ExtResource("2_aw0er")
shader_parameter/mask = SubResource("CompressedTexture2D_2r5ap")
shader_parameter/progress = 1.0
[sub_resource type="Animation" id="Animation_lx8lr"]
@ -73,20 +74,20 @@ _data = {
}
[node name="ScitheAttack" type="Node2D"]
script = ExtResource("1_lx8lr")
script = ExtResource("1_p6kik")
[node name="Anchor" type="Node2D" parent="."]
[node name="Scithe" type="Sprite2D" parent="Anchor"]
material = SubResource("ShaderMaterial_5b14r")
scale = Vector2(0.904629, 0.904629)
texture = ExtResource("4_6xgjh")
texture = ExtResource("3_5mjrn")
flip_h = true
[node name="Hitbox" parent="Anchor/Scithe" instance=ExtResource("5_6xgjh")]
position = Vector2(-6.410257, -8.012821)
rotation = 0.965108
scale = Vector2(1.5881884, 4.2732244)
[node name="Hitbox" parent="Anchor/Scithe" instance=ExtResource("4_ek4qm")]
position = Vector2(-17.68681, -3.3162766)
rotation = 0.79253083
scale = Vector2(0.77211297, 3.2192266)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Anchor/Scithe")

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://dfad6rsacpogt"]
[ext_resource type="Script" uid="uid://ctninfm8hkbp2" path="res://scripts/spit.gd" id="1_1fhrs"]
[ext_resource type="Texture2D" uid="uid://br8dx2f3mfxcd" path="res://assets/bomba.png" id="2_1fhrs"]
[ext_resource type="Texture2D" uid="uid://br8dx2f3mfxcd" path="res://assets/masks/bomba.png" id="2_1fhrs"]
[ext_resource type="PackedScene" uid="uid://bbqgdjgil7nwx" path="res://scenes/spit_payload.tscn" id="4_03rlv"]
[node name="Spit" type="Node2D"]

77
scenes/spit_dragon.tscn Normal file
View file

@ -0,0 +1,77 @@
[gd_scene load_steps=16 format=3 uid="uid://dbgsb7uyh2e5k"]
[ext_resource type="Script" uid="uid://bpabecs0hf676" path="res://scripts/spit_dragon.gd" id="1_6aivh"]
[ext_resource type="Texture2D" uid="uid://b5ty5fqjdnlfu" path="res://assets/enemies/huronverde_1.png" id="2_3h3g6"]
[ext_resource type="Script" uid="uid://synocbtvgrf4" path="res://scripts/shadow.gd" id="2_6qa8c"]
[ext_resource type="PackedScene" uid="uid://bgpha7wiajw6q" path="res://scenes/mask_drop.tscn" id="2_new7s"]
[ext_resource type="Texture2D" uid="uid://crwb7susv0apj" path="res://assets/enemies/huronverde_2.png" id="3_6qa8c"]
[ext_resource type="PackedScene" uid="uid://c8l24d01bm2sg" path="res://scenes/enemy_explosion.tscn" id="3_r5vkq"]
[ext_resource type="Texture2D" uid="uid://c2oa1go8kc5pv" path="res://assets/enemies/huronverde_3.png" id="4_6si3t"]
[ext_resource type="PackedScene" uid="uid://0n57icfpulmc" path="res://scenes/hearts.tscn" id="4_a2jab"]
[ext_resource type="PackedScene" uid="uid://bmwgnwqj3scm5" path="res://scenes/scythe_attack.tscn" id="5_5psll"]
[ext_resource type="Texture2D" uid="uid://b451nklnl5d3v" path="res://assets/enemies/huronverde_4.png" id="5_pjesh"]
[ext_resource type="PackedScene" uid="uid://dfad6rsacpogt" path="res://scenes/spit.tscn" id="6_gtnbv"]
[ext_resource type="Texture2D" uid="uid://bld52vfos65qa" path="res://assets/enemies/huronverde_5.png" id="6_l0832"]
[ext_resource type="Texture2D" uid="uid://dgpuc3ej8t6s1" path="res://assets/enemies/huronverde_6.png" id="7_new7s"]
[sub_resource type="CircleShape2D" id="CircleShape2D_6si3t"]
radius = 16.03122
[sub_resource type="SpriteFrames" id="SpriteFrames_r5vkq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_3h3g6")
}, {
"duration": 1.0,
"texture": ExtResource("3_6qa8c")
}, {
"duration": 1.0,
"texture": ExtResource("4_6si3t")
}],
"loop": true,
"name": &"attack",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_pjesh")
}, {
"duration": 1.0,
"texture": ExtResource("6_l0832")
}, {
"duration": 1.0,
"texture": ExtResource("7_new7s")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="SpitDragon" type="CharacterBody2D" groups=["enemy"]]
script = ExtResource("1_6aivh")
mask_drop = ExtResource("2_new7s")
death_explosion = ExtResource("3_r5vkq")
heart_attack = ExtResource("4_a2jab")
scithe_attack = ExtResource("5_5psll")
spit_attack = ExtResource("6_gtnbv")
flee_range = 50
aproach_range = 150
current_mask = 2
[node name="Shadow" type="Node2D" parent="."]
position = Vector2(4, 24)
script = ExtResource("2_6qa8c")
shadow_size = 16.425
metadata/_custom_type_script = "uid://synocbtvgrf4"
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 8)
shape = SubResource("CircleShape2D_6si3t")
[node name="Anim" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_r5vkq")
autoplay = "default"
frame_progress = 0.56712055

View file

@ -1,8 +1,8 @@
[gd_scene load_steps=6 format=3 uid="uid://bbqgdjgil7nwx"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/particles/death.png" id="1_pi6vg"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/vfx/death.png" id="1_pi6vg"]
[ext_resource type="Script" uid="uid://8bsq7kvqky3d" path="res://scripts/spit_payload.gd" id="2_61mym"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://hitbox.tscn" id="3_pi6vg"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://scenes/hitbox.tscn" id="3_pi6vg"]
[sub_resource type="Gradient" id="Gradient_bnpwn"]
offsets = PackedFloat32Array(0, 0.60958904, 1)

35445
scenes/stage1.tscn Normal file

File diff suppressed because one or more lines are too long

45267
scenes/stage2.tscn Normal file

File diff suppressed because it is too large Load diff

45268
scenes/stage3.tscn Normal file

File diff suppressed because it is too large Load diff

216
scenes/start_menu.tscn Normal file
View file

@ -0,0 +1,216 @@
[gd_scene load_steps=14 format=3 uid="uid://crecxacda45j3"]
[ext_resource type="Script" uid="uid://nf16c5x6khy6" path="res://scripts/start_menu.gd" id="1_ia0g5"]
[ext_resource type="PackedScene" uid="uid://bvp37ljy8eaba" path="res://ui/texture_container.tscn" id="1_jwbto"]
[ext_resource type="Texture2D" uid="uid://ddvyrpgjh4o3c" path="res://ui/title.png" id="3_ppfnh"]
[ext_resource type="Theme" uid="uid://d3iyu7ukwsn1p" path="res://ui/default_theme.tres" id="3_v2mkm"]
[ext_resource type="Script" uid="uid://c62xd44e27oki" path="res://scripts/settings_menu.gd" id="4_ctwoq"]
[ext_resource type="PackedScene" uid="uid://dv8l318cesr8e" path="res://scenes/main_cam.tscn" id="5_ctwoq"]
[ext_resource type="Script" uid="uid://llka3aa044jo" path="res://scripts/click.gd" id="6_acoh7"]
[ext_resource type="Texture2D" uid="uid://di3mn2tr6dnac" path="res://ui/button.png" id="6_pgi0o"]
[ext_resource type="Texture2D" uid="uid://dv7ll7ej5y5gl" path="res://ui/button-2.png" id="7_73a2t"]
[ext_resource type="Texture2D" uid="uid://dsjg5nn2s1fv3" path="res://ui/button-3.png" id="8_xsckg"]
[ext_resource type="Texture2D" uid="uid://d0ydt84235pua" path="res://ui/button-4.png" id="9_gfl6h"]
[ext_resource type="Texture2D" uid="uid://c7mdtwpckl7nr" path="res://ui/button-5.png" id="10_kefd2"]
[ext_resource type="Texture2D" uid="uid://bt6r7jlshl680" path="res://ui/button-6.png" id="11_acoh7"]
[node name="StartMenu" type="Node2D" node_paths=PackedStringArray("settings")]
script = ExtResource("1_ia0g5")
settings = NodePath("CanvasLayer/Control/SettingsMenu")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
process_mode = 3
[node name="Control" type="TextureRect" parent="CanvasLayer"]
offset_right = 480.0
offset_bottom = 270.0
theme = ExtResource("3_v2mkm")
texture = ExtResource("3_ppfnh")
[node name="StartButton" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 0
offset_left = 16.0
offset_top = 72.0
offset_right = 138.0
offset_bottom = 112.0
texture_normal = ExtResource("6_pgi0o")
texture_pressed = ExtResource("6_pgi0o")
texture_hover = ExtResource("7_73a2t")
script = ExtResource("6_acoh7")
[node name="Label" type="Label" parent="CanvasLayer/Control/StartButton"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -32.0
offset_top = -16.0
offset_right = 32.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Start Game"
[node name="Settings" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 0
offset_left = 136.0
offset_top = 116.0
offset_right = 258.0
offset_bottom = 156.0
texture_normal = ExtResource("8_xsckg")
texture_pressed = ExtResource("8_xsckg")
texture_hover = ExtResource("9_gfl6h")
script = ExtResource("6_acoh7")
[node name="Label" type="Label" parent="CanvasLayer/Control/Settings"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -27.0
offset_top = -16.0
offset_right = 37.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Settings"
[node name="Exit" type="TextureButton" parent="CanvasLayer/Control"]
layout_mode = 0
offset_left = 91.0
offset_top = 20.0
offset_right = 213.0
offset_bottom = 60.0
texture_normal = ExtResource("10_kefd2")
texture_pressed = ExtResource("10_kefd2")
texture_hover = ExtResource("11_acoh7")
script = ExtResource("6_acoh7")
[node name="Exit" type="Label" parent="CanvasLayer/Control/Exit"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -14.0
offset_top = -16.0
offset_right = 50.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Exit"
[node name="SettingsMenu" parent="CanvasLayer/Control" node_paths=PackedStringArray("volume_slider", "fullscreen_check", "vsync_check") instance=ExtResource("1_jwbto")]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.5625
offset_top = -100.5625
offset_right = 100.5625
offset_bottom = 100.5625
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_v2mkm")
axis_stretch_horizontal = 1
axis_stretch_vertical = 1
script = ExtResource("4_ctwoq")
volume_slider = NodePath("MarginContainer/VBoxContainer/HBoxContainer/Volume")
fullscreen_check = NodePath("MarginContainer/VBoxContainer/Fullscreen/CheckBox")
vsync_check = NodePath("MarginContainer/VBoxContainer/Vsync/CheckBox")
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/Control/SettingsMenu"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_v2mkm")
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer"]
layout_mode = 2
theme = ExtResource("3_v2mkm")
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Volume"
[node name="Volume" type="HSlider" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_v2mkm")
max_value = 1.0
step = 0.01
tick_count = 5
ticks_on_borders = true
ticks_position = 3
[node name="Fullscreen" type="HBoxContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen"]
layout_mode = 2
size_flags_horizontal = 0
text = "Fullscreen"
[node name="CheckBox" type="CheckBox" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen"]
layout_mode = 2
size_flags_horizontal = 10
[node name="Vsync" type="HBoxContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Vsync"]
layout_mode = 2
size_flags_horizontal = 0
text = "Vsync"
[node name="CheckBox" type="CheckBox" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Vsync"]
layout_mode = 2
size_flags_horizontal = 10
[node name="Buttons" type="MarginContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 10
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Buttons"]
layout_mode = 2
size_flags_vertical = 10
[node name="ExitButton" type="Button" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 0
text = "Exit"
[node name="ContinueButton" type="Button" parent="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 10
text = "Continue"
[node name="MainCam2" parent="." node_paths=PackedStringArray("ui_layer") instance=ExtResource("5_ctwoq")]
process_mode = 3
z_index = 10
ui_layer = NodePath("../CanvasLayer")
[connection signal="pressed" from="CanvasLayer/Control/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/Exit" to="." method="_on_exit_pressed"]
[connection signal="value_changed" from="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/HBoxContainer/Volume" to="CanvasLayer/Control/SettingsMenu" method="_on_volume_changed"]
[connection signal="toggled" from="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Fullscreen/CheckBox" to="CanvasLayer/Control/SettingsMenu" method="_on_fullscreen_toggled"]
[connection signal="toggled" from="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Vsync/CheckBox" to="CanvasLayer/Control/SettingsMenu" method="_on_vsync_toggled"]
[connection signal="pressed" from="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2/ExitButton" to="CanvasLayer/Control/SettingsMenu" method="_on_exit_button_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/SettingsMenu/MarginContainer/VBoxContainer/Buttons/HBoxContainer2/ContinueButton" to="CanvasLayer/Control/SettingsMenu" method="_on_continue_button_pressed"]

31343
scenes/tutorial.tscn Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,9 @@
extends WorldEnvironment
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
EventBus.change_glow.connect(_change_glow)
func _change_glow(new : bool):
environment.glow_enabled = new

View file

@ -0,0 +1 @@
uid://piw1gyigkax8