29 lines
768 B
Plaintext
29 lines
768 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://entities/ufo/ufo.png" type="Texture" id=1]
|
|
[ext_resource path="res://entities/ufo/ufo.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 9.50289
|
|
|
|
[node name="ufo" type="KinematicBody2D" groups=[
|
|
"Enemies",
|
|
]]
|
|
collision_layer = 4
|
|
collision_mask = 3
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
health = 5.0
|
|
points = 100
|
|
|
|
[node name="texture" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="visiblity_notifier" type="VisibilityNotifier2D" parent="."]
|
|
[connection signal="screen_exited" from="visiblity_notifier" to="." method="_on_visiblity_notifier_screen_exited"]
|