1
0
Fork 0
1bit-godot-course/space-shooter/Scenes/Objects/Ship.tscn

16 lines
789 B
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Ship.png" type="Texture" id=1]
[ext_resource path="res://Scenes/Objects/Ship.gd" type="Script" id=2]
[node name="Ship" type="Area2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Collision" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -7, -4, -5, -4, -5, -3, -4, -3, -4, -7, -2, -7, -2, -6, -1, -6, -1, -5, 0, -5, 0, -4, 1, -4, 1, -3, 2, -3, 2, -2, 5, -2, 5, -1, 7, -1, 7, 1, 5, 1, 5, 2, 2, 2, 2, 3, 1, 3, 1, 4, 0, 4, 0, 5, -1, 5, -1, 6, -2, 6, -2, 7, -4, 7, -4, 3, -5, 3, -5, 4, -7, 4, -7, 2, -6, 2, -6, 1, -7, 1, -7, -1, -6, -1, -6, -2, -7, -2 )
[connection signal="area_entered" from="." to="." method="_on_Ship_area_entered"]