starcheese/spaceship.tscn

31 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://dej58eek7fudd"]
[ext_resource type="Script" path="res://spaceship.gd" id="1_bwnho"]
[ext_resource type="PackedScene" uid="uid://kke1bgv1bvht" path="res://src/vessels/weapons/beams/mining/mining_beam_turret.tscn" id="2_4ub4i"]
[ext_resource type="Texture2D" uid="uid://cran7fr1i2qou" path="res://images/spaceship-placeholder.png" id="3_xxo2y"]
[ext_resource type="Script" path="res://src/vessels/systems/weapons_system.gd" id="4_w4ss2"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_3vtwu"]
radius = 48.0
height = 102.0
[node name="spaceship" type="CharacterBody2D"]
position = Vector2(956, 623)
collision_layer = 2
motion_mode = 1
script = ExtResource("1_bwnho")
[node name="WeaponsSystem" type="Node" parent="."]
script = ExtResource("4_w4ss2")
[node name="mining_beam_turret" parent="." instance=ExtResource("2_4ub4i")]
position = Vector2(53, 0)
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = 1
rotation = 1.5708
texture = ExtResource("3_xxo2y")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_3vtwu")