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/meteorite/meteorite.tscn

29 lines
810 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://entities/meteorite/meteor_big_1.png" type="Texture" id=1]
[ext_resource path="res://entities/meteorite/meteorite.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 6.0
[node name="meteorite" type="KinematicBody2D" groups=[
"Enemies",
]]
collision_layer = 4
collision_mask = 3
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
points = 10
powerup_drop_chance = 0.01
[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"]