23 lines
966 B
Plaintext
23 lines
966 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://chbsiw6lpm0d2"]
|
|
|
|
[ext_resource type="Script" path="res://meteor.gd" id="1_hsdcx"]
|
|
[ext_resource type="Texture2D" uid="uid://baifmn2j7f820" path="res://assets/PNG/Meteors/meteorBrown_big1.png" id="1_m5pls"]
|
|
[ext_resource type="AudioStream" uid="uid://kyo8r8q8qf4l" path="res://assets/Bonus/sfx_twoTone.ogg" id="3_lhjw1"]
|
|
|
|
[node name="Meteor" type="Area2D"]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
script = ExtResource("1_hsdcx")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_m5pls")
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
|
polygon = PackedVector2Array(-33, -40, 23, -40, 48, -1, 34, 31, 10, 29, -23, 40, -50, 10)
|
|
|
|
[node name="ExplosionSound" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("3_lhjw1")
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|