Added player and a basic test level

This commit is contained in:
2026-02-06 16:00:03 -05:00
parent 1b0f1c9080
commit 83a4a8f374
104 changed files with 6897 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cmp35xmgh574d"
path="res://.godot/imported/partical_effect.png-23e9c8e07c2d3280dbfc54e912b820da.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Entities/Player/player_death_effect/art/partical_effect.png"
dest_files=["res://.godot/imported/partical_effect.png-23e9c8e07c2d3280dbfc54e912b820da.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cwwrpe5wfh7ds"
path="res://.godot/imported/spark.png-d0c63d49c6c40935b4755a0ea93391d2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Entities/Player/player_death_effect/art/spark.png"
dest_files=["res://.godot/imported/spark.png-d0c63d49c6c40935b4755a0ea93391d2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,5 @@
extends Node2D
func _on_animated_sprite_2d_animation_finished() -> void:
queue_free()

View File

@@ -0,0 +1 @@
uid://3g2l2xhvoxj8

View File

@@ -0,0 +1,109 @@
[gd_scene load_steps=15 format=3 uid="uid://dm4oirxl6bpnn"]
[ext_resource type="Texture2D" uid="uid://cwwrpe5wfh7ds" path="res://entities/player/player_death_effect/art/spark.png" id="1_335v7"]
[ext_resource type="Script" uid="uid://3g2l2xhvoxj8" path="res://entities/player/player_death_effect/player_death_effect.gd" id="1_i0k0j"]
[ext_resource type="Texture2D" uid="uid://cmp35xmgh574d" path="res://entities/player/player_death_effect/art/partical_effect.png" id="2_ann6r"]
[sub_resource type="Gradient" id="Gradient_t8ru6"]
colors = PackedColorArray(0, 1, 1, 1, 0, 0, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_hhxfb"]
gradient = SubResource("Gradient_t8ru6")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_644o4"]
particle_flag_disable_z = true
emission_shape = 1
emission_sphere_radius = 35.0
angular_velocity_min = -1.60933e-05
angular_velocity_max = -1.60933e-05
radial_velocity_min = -2.23517e-05
radial_velocity_max = 30.0
gravity = Vector3(0, -0.5, 0)
linear_accel_min = 15.0
linear_accel_max = 30.0
radial_accel_min = -2.23517e-06
radial_accel_max = -2.23517e-06
scale_min = 0.1
scale_max = 0.5
color_ramp = SubResource("GradientTexture1D_hhxfb")
[sub_resource type="AtlasTexture" id="AtlasTexture_fidmw"]
atlas = ExtResource("1_335v7")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_i0k0j"]
atlas = ExtResource("1_335v7")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ann6r"]
atlas = ExtResource("1_335v7")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_t8ru6"]
atlas = ExtResource("1_335v7")
region = Rect2(96, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_hhxfb"]
atlas = ExtResource("1_335v7")
region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_644o4"]
atlas = ExtResource("1_335v7")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e74oy"]
atlas = ExtResource("1_335v7")
region = Rect2(192, 0, 32, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_tvjs0"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fidmw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i0k0j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ann6r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_t8ru6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hhxfb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_644o4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e74oy")
}, {
"duration": 1.0,
"texture": null
}],
"loop": false,
"name": &"deathEffect",
"speed": 12.0
}]
[node name="PlayerDeathEffect" type="Node2D"]
script = ExtResource("1_i0k0j")
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
position = Vector2(0, -18)
amount = 100
texture = ExtResource("2_ann6r")
speed_scale = 1.5
explosiveness = 0.5
process_material = SubResource("ParticleProcessMaterial_644o4")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -19)
sprite_frames = SubResource("SpriteFrames_tvjs0")
animation = &"deathEffect"
autoplay = "deathEffect"
frame = 7
frame_progress = 1.0
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]