This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues/pull-requests.
evospace/entities/ufo/ufo.tscn

29 lines
768 B
Plaintext
Raw Permalink Normal View History

2020-09-06 23:02:19 +03:00
[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"]