-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathship.tscn
25 lines (17 loc) · 954 Bytes
/
ship.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[gd_scene load_steps=5 format=3 uid="uid://dwsbokp3bacig"]
[ext_resource type="Texture2D" uid="uid://xqb747musdjy" path="res://PNG/ship.png" id="1_gkndp"]
[ext_resource type="Script" path="res://ship.gd" id="1_hb214"]
[ext_resource type="AudioStream" uid="uid://fkmm0ak3p63i" path="res://music/inecraft_death (mp3cut.net).mp3" id="3_l8qqq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qp7fh"]
[node name="ship" type="Node2D"]
script = ExtResource("1_hb214")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.2, 0.2)
texture = ExtResource("1_gkndp")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_qp7fh")
[node name="damaged" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_l8qqq")
volume_db = 17.718
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]