🍱 Retexture the enemies
This commit is contained in:
BIN
Scenes/Entities/Enemy.png
Normal file
BIN
Scenes/Entities/Enemy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 807 KiB |
@@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://dlhpiyxtmp707"
|
uid="uid://x4u6oatvsm8y"
|
||||||
path="res://.godot/imported/Enemy.jpg-862b79047d7834ee48aa6bbd7e126824.ctex"
|
path="res://.godot/imported/Enemy.png-7a121c0bc2e7a40a7fe012e488d00452.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Scenes/Entities/Enemy.jpg"
|
source_file="res://Scenes/Entities/Enemy.png"
|
||||||
dest_files=["res://.godot/imported/Enemy.jpg-862b79047d7834ee48aa6bbd7e126824.ctex"]
|
dest_files=["res://.godot/imported/Enemy.png-7a121c0bc2e7a40a7fe012e488d00452.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
@@ -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"]
|
[ext_resource type="Script" uid="uid://cvsmy820b8dwl" path="res://Scripts/Entities/Enemy.cs" id="1_jajit"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://x4u6oatvsm8y" path="res://Scenes/Entities/Enemy.png" id="2_jajit"]
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jajit"]
|
|
||||||
size = Vector2(60, 74)
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wmvnc"]
|
|
||||||
size = Vector2(70, 84)
|
|
||||||
|
|
||||||
[node name="Enemy" type="CharacterBody2D"]
|
[node name="Enemy" type="CharacterBody2D"]
|
||||||
collision_layer = 2
|
collision_layer = 2
|
||||||
collision_mask = 3
|
collision_mask = 3
|
||||||
script = ExtResource("1_jajit")
|
script = ExtResource("1_jajit")
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="."]
|
||||||
shape = SubResource("RectangleShape2D_jajit")
|
polygon = PackedVector2Array(-2, -21, 3, -21, 24, 6, 24, 10, 20, 14, -21, 14, -24, 11, -24, 7)
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
scale = Vector2(0.1, 0.1)
|
scale = Vector2(0.05, 0.05)
|
||||||
texture = ExtResource("1_8q37v")
|
texture = ExtResource("2_jajit")
|
||||||
|
|
||||||
[node name="AttackArea" type="Area2D" parent="."]
|
[node name="AttackArea" type="Area2D" parent="."]
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea"]
|
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="AttackArea"]
|
||||||
shape = SubResource("RectangleShape2D_wmvnc")
|
polygon = PackedVector2Array(-3, -24, 4, -24, 27, 5, 27, 14, 20, 19, -21, 19, -27, 14, -27, 5)
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://dup2su0s3ybcy"]
|
[gd_scene load_steps=5 format=3 uid="uid://dup2su0s3ybcy"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://26hl5mk4mqur" path="res://Scripts/Tiles/EnemyPortalTile.cs" id="1_o543x"]
|
[ext_resource type="Script" uid="uid://26hl5mk4mqur" path="res://Scripts/Tiles/EnemyPortalTile.cs" id="1_o543x"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b3ffcucytwmk" path="res://Scenes/Entities/Enemy.tscn" id="2_nh7ff"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dv2xwfyshxdtp" path="res://Scenes/Tiles/EnemyPortalTile.png" id="3_i4us4"]
|
[ext_resource type="Texture2D" uid="uid://dv2xwfyshxdtp" path="res://Scenes/Tiles/EnemyPortalTile.png" id="3_i4us4"]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_id484"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_id484"]
|
||||||
@@ -10,6 +11,7 @@ size = Vector2(54, 79)
|
|||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
script = ExtResource("1_o543x")
|
script = ExtResource("1_o543x")
|
||||||
|
EnemyScene = ExtResource("2_nh7ff")
|
||||||
TileId = "enemy_portal"
|
TileId = "enemy_portal"
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
Reference in New Issue
Block a user