Enemy sprites

This commit is contained in:
Marco 2025-02-07 13:51:31 +01:00
commit 91e063c01b
10 changed files with 118 additions and 9 deletions

View file

@ -33,7 +33,14 @@ overrides = {}
[sub_resource type="Resource" id="Resource_6e5ca"]
script = ExtResource("1_47mos")
scene = ExtResource("5_bks8v")
overrides = {}
overrides = {
"box_margin_bottom": "1.0",
"box_size": "Vector2(300, 50)",
"name_label_custom_font_size": "8.0",
"name_label_use_global_font_size": "false",
"text_size": "6.0",
"text_use_global_size": "false"
}
[sub_resource type="Resource" id="Resource_30jrk"]
script = ExtResource("1_47mos")

View file

@ -1,3 +1,6 @@
[style name="VN"]
join Cirno left
join Rumia right
Cirno: Rumia? Why are you here?
Rumia: I have no idea, I was flying through the forest in my darkness bubble and I ended up here
Cirno: Great, now follow me, I can protect you from the people here

View file

@ -1,14 +1,32 @@
[gd_scene load_steps=11 format=3 uid="uid://v8s3kubgb2qg"]
[gd_scene load_steps=13 format=3 uid="uid://v8s3kubgb2qg"]
[ext_resource type="Texture2D" uid="uid://b4ynnb14mb4uq" path="res://Sprites/Reisen.png" id="1_4w8mj"]
[ext_resource type="Script" path="res://Scripts/Enemy.cs" id="1_lpwdj"]
[ext_resource type="Texture2D" uid="uid://buwohektt3k00" path="res://Sprites/Actors/Robot1.png" id="2_hqnpo"]
[ext_resource type="PackedScene" uid="uid://cuixq5ex0j40h" path="res://Scenes/enemyBullet.tscn" id="2_ogldd"]
[ext_resource type="Script" path="res://Scripts/Components/ProximityPlayerDetection.cs" id="3_1nqn5"]
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="4_2k1dv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2brqc"]
atlas = ExtResource("1_4w8mj")
region = Rect2(0, 0, 8, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_d7fe2"]
atlas = ExtResource("2_hqnpo")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_r6ku6"]
atlas = ExtResource("2_hqnpo")
region = Rect2(16, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_xl1qg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_d7fe2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r6ku6")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_8gtts"]
radius = 7.0
@ -31,8 +49,9 @@ _playerDetection = NodePath("PlayerDetection")
_navigationEnabled = true
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_2brqc")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_xl1qg")
frame_progress = 0.280415
[node name="Damage_HitBox" type="CollisionShape2D" parent="."]
visible = false

File diff suppressed because one or more lines are too long

BIN
Sprites/Actors/Robot1.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Actors/Robot1.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://buwohektt3k00"
path="res://.godot/imported/Robot1.png-6c51b6e7176df684a35c3775b6e3c30e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Actors/Robot1.png"
dest_files=["res://.godot/imported/Robot1.png-6c51b6e7176df684a35c3775b6e3c30e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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

BIN
Sprites/Actors/Robot2.aseprite (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Sprites/Actors/Robot2.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b7kwstavr73pe"
path="res://.godot/imported/Robot2.png-2764a205b83862f89feb4889b24c1e35.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Actors/Robot2.png"
dest_files=["res://.godot/imported/Robot2.png-2764a205b83862f89feb4889b24c1e35.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
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/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