mirror of
https://github.com/DerTyp7/TopDownShooter-Godot.git
synced 2025-10-28 12:22:10 +01:00
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://dkbgu7ghl048y"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dafsi3dqavgnb" path="res://Untitled.png" id="1_026jc"]
|
|
[ext_resource type="Script" path="res://Enemy.gd" id="1_cnaxx"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aukek"]
|
|
size = Vector2(10, 10)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_53hbt"]
|
|
size = Vector2(0.203555, 2.52986)
|
|
|
|
[node name="Enemy" type="CharacterBody2D"]
|
|
script = ExtResource("1_cnaxx")
|
|
metadata/dead = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_aukek")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
modulate = Color(0.94902, 0, 0, 1)
|
|
texture = ExtResource("1_026jc")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(1.19209e-07, 5.96046e-08)
|
|
rotation = -3.14159
|
|
scale = Vector2(58.952, -4.74335)
|
|
shape = SubResource("RectangleShape2D_53hbt")
|
|
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|