20 lines
836 B
Text
20 lines
836 B
Text
[gd_scene format=3 uid="uid://coix5dqblmu7r"]
|
|
|
|
[ext_resource type="Script" uid="uid://otm88638j7f8" path="res://scripts/player.gd" id="1_g2els"]
|
|
[ext_resource type="Texture2D" uid="uid://cq4we1m1yv22s" path="res://graphics/ship.png" id="2_qhqgy"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dqkch"]
|
|
|
|
[node name="Player" type="Area2D" unique_id=652131079]
|
|
script = ExtResource("1_g2els")
|
|
|
|
[node name="Ship" type="Sprite2D" parent="." unique_id=1155866924]
|
|
unique_name_in_owner = true
|
|
texture = ExtResource("2_qhqgy")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=485826453]
|
|
shape = SubResource("RectangleShape2D_dqkch")
|
|
|
|
[node name="WeaponCooldown" type="Timer" parent="." unique_id=269678170]
|
|
|
|
[connection signal="timeout" from="WeaponCooldown" to="." method="_on_weapon_cooldown_timeout"]
|