🍱 Retexture the enemies
This commit is contained in:
@@ -1,27 +1,21 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b3ffcucytwmk"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b3ffcucytwmk"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dlhpiyxtmp707" path="res://Scenes/Entities/Enemy.jpg" id="1_8q37v"]
|
||||
[ext_resource type="Script" uid="uid://cvsmy820b8dwl" path="res://Scripts/Entities/Enemy.cs" id="1_jajit"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jajit"]
|
||||
size = Vector2(60, 74)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wmvnc"]
|
||||
size = Vector2(70, 84)
|
||||
[ext_resource type="Texture2D" uid="uid://x4u6oatvsm8y" path="res://Scenes/Entities/Enemy.png" id="2_jajit"]
|
||||
|
||||
[node name="Enemy" type="CharacterBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_jajit")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_jajit")
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-2, -21, 3, -21, 24, 6, 24, 10, 20, 14, -21, 14, -24, 11, -24, 7)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.1, 0.1)
|
||||
texture = ExtResource("1_8q37v")
|
||||
scale = Vector2(0.05, 0.05)
|
||||
texture = ExtResource("2_jajit")
|
||||
|
||||
[node name="AttackArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea"]
|
||||
shape = SubResource("RectangleShape2D_wmvnc")
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="AttackArea"]
|
||||
polygon = PackedVector2Array(-3, -24, 4, -24, 27, 5, 27, 14, 20, 19, -21, 19, -27, 14, -27, 5)
|
||||
|
Reference in New Issue
Block a user