Mag gen & work towards AI
This commit is contained in:
21
nodes/v2/creatures/enemies/basic_enemy.tscn
Normal file
21
nodes/v2/creatures/enemies/basic_enemy.tscn
Normal file
@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bgdkduh2uevft"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/v2/enemy.gd" id="1_jfeur"]
|
||||
[ext_resource type="Texture2D" uid="uid://iewpb4eaydo1" path="res://assets/art/Enemies/basic_enemy1.png" id="2_g0kyc"]
|
||||
[ext_resource type="AudioStream" uid="uid://btf1rlmxtf4bg" path="res://assets/sound/Bomb_Explosion.wav" id="2_pspk3"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_htsfi"]
|
||||
radius = 3.0
|
||||
height = 16.0
|
||||
|
||||
[node name="BasicEnemy" type="CharacterBody2D"]
|
||||
script = ExtResource("1_jfeur")
|
||||
max_hp = 3
|
||||
death_sound = ExtResource("2_pspk3")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_g0kyc")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CapsuleShape2D_htsfi")
|
Reference in New Issue
Block a user