16 lines
558 B
Plaintext
16 lines
558 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://b1x2qqok7xafr"]
|
|
|
|
[ext_resource type="Script" uid="uid://dypu0r4iadf8u" path="res://scripts/game/maps/entities/map_entity.gd" id="1_4euqm"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_agn4j"]
|
|
size = Vector2(4, 4)
|
|
|
|
[node name="MapEntity" type="Area2D"]
|
|
script = ExtResource("1_4euqm")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(8, 8)
|
|
shape = SubResource("RectangleShape2D_agn4j")
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|