diff options
| author | alex <[email protected]> | 2026-07-25 16:46:32 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-25 16:46:32 +0200 |
| commit | 023c4f003d58c27cd2677307abe2c65bb09c2681 (patch) | |
| tree | d4e67206dadaf5a6433669297bef406b45056afc /enemy.tscn | |
| parent | 91fd5d80808fd177f97c4cc7e78b704efb5d6ce3 (diff) | |
| download | godot-testing-023c4f003d58c27cd2677307abe2c65bb09c2681.tar.xz godot-testing-023c4f003d58c27cd2677307abe2c65bb09c2681.zip | |
added enemy scene and piercing booleans for bullets, will be later refactored to work based on player stats
Diffstat (limited to 'enemy.tscn')
| -rw-r--r-- | enemy.tscn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/enemy.tscn b/enemy.tscn new file mode 100644 index 0000000..c4eb0d9 --- /dev/null +++ b/enemy.tscn @@ -0,0 +1,18 @@ +[gd_scene format=3 uid="uid://cg808l58igcrq"] + +[ext_resource type="Script" uid="uid://cml2xy7flhfn6" path="res://scripts/Enemy.cs" id="1_4gyqm"] +[ext_resource type="Texture2D" uid="uid://mxuhmaj6nqfw" path="res://2D Pixel Dungeon Asset Pack/Character_animation/monsters_idle/vampire/v2/vampire_v2_1.png" id="2_qi2p4"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_ovjgd"] +size = Vector2(12, 14) + +[node name="Enemy" type="CharacterBody2D" unique_id=575877799] +collision_layer = 4 +collision_mask = 7 +script = ExtResource("1_4gyqm") + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2046016517] +texture = ExtResource("2_qi2p4") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1799666271] +shape = SubResource("RectangleShape2D_ovjgd") |
