diff options
| -rw-r--r-- | assets/definitions/actor/omal.tres | 19 | ||||
| -rw-r--r-- | assets/sprites/actors/bixo.png | bin | 0 -> 348 bytes | |||
| -rw-r--r-- | assets/sprites/actors/bixo.png.import | 40 | ||||
| -rw-r--r-- | scripts/Entities/Actors/EnemyDefinition.cs | 2 | ||||
| -rw-r--r-- | scripts/Map/DungeonGenerator.cs | 1 |
5 files changed, 61 insertions, 1 deletions
diff --git a/assets/definitions/actor/omal.tres b/assets/definitions/actor/omal.tres new file mode 100644 index 0000000..a23e4d2 --- /dev/null +++ b/assets/definitions/actor/omal.tres @@ -0,0 +1,19 @@ +[gd_resource type="Resource" script_class="EnemyDefinition" load_steps=4 format=3 uid="uid://302hatscl8gd"] + +[ext_resource type="Script" uid="uid://dkfdm2m2scyks" path="res://scripts/Entities/Actors/EnemyDefinition.cs" id="1_6andn"] +[ext_resource type="Texture2D" uid="uid://w0808ug4al66" path="res://assets/sprites/actors/generic_grave.png" id="1_fbs0n"] +[ext_resource type="Texture2D" uid="uid://bx1ryvgqxx2co" path="res://assets/sprites/actors/bixo.png" id="3_fbs0n"] + +[resource] +script = ExtResource("1_6andn") +AI = 1 +deathTexture = ExtResource("1_fbs0n") +Speed = 8 +Hp = 40 +Mp = 2 +Atk = 2 +Men = 5 +name = "Omal" +texture = ExtResource("3_fbs0n") +Type = 2 +metadata/_custom_type_script = "uid://dkfdm2m2scyks" diff --git a/assets/sprites/actors/bixo.png b/assets/sprites/actors/bixo.png Binary files differnew file mode 100644 index 0000000..90130ac --- /dev/null +++ b/assets/sprites/actors/bixo.png diff --git a/assets/sprites/actors/bixo.png.import b/assets/sprites/actors/bixo.png.import new file mode 100644 index 0000000..cb452b3 --- /dev/null +++ b/assets/sprites/actors/bixo.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bx1ryvgqxx2co" +path="res://.godot/imported/bixo.png-c13557e97964eb56fce5dc54f8df80fc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/sprites/actors/bixo.png" +dest_files=["res://.godot/imported/bixo.png-c13557e97964eb56fce5dc54f8df80fc.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 diff --git a/scripts/Entities/Actors/EnemyDefinition.cs b/scripts/Entities/Actors/EnemyDefinition.cs index 97f8f13..4aa8d82 100644 --- a/scripts/Entities/Actors/EnemyDefinition.cs +++ b/scripts/Entities/Actors/EnemyDefinition.cs @@ -12,4 +12,4 @@ public partial class EnemyDefinition : ActorDefinition [ExportCategory("AI")] [Export] public AIType AI; -}
\ No newline at end of file +} diff --git a/scripts/Map/DungeonGenerator.cs b/scripts/Map/DungeonGenerator.cs index d9585a7..cce693a 100644 --- a/scripts/Map/DungeonGenerator.cs +++ b/scripts/Map/DungeonGenerator.cs @@ -44,6 +44,7 @@ public partial class DungeonGenerator : Node GD.Load<EnemyDefinition>("res://assets/definitions/actor/Skeleton.tres"), GD.Load<EnemyDefinition>("res://assets/definitions/actor/morcegao.tres"), GD.Load<EnemyDefinition>("res://assets/definitions/actor/Shadow.tres"), + GD.Load<EnemyDefinition>("res://assets/definitions/actor/omal.tres"), GD.Load<EnemyDefinition>("res://assets/definitions/actor/toilet.tres") ]; |
