pegchamp/ControlElements/KillzoneArea.tscn

20 lines
594 B
Text
Raw Normal View History

2021-09-08 08:27:14 +00:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://ControlElements/Killzone.gd" type="Script" id=1]
[ext_resource path="res://Effects/stars.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 195, 7 )
[node name="Killzone" type="Area2D"]
position = Vector2( 192, 0 )
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
[connection signal="body_entered" from="." to="." method="_on_Killzone_body_entered"]