42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
[gd_scene load_steps=6 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/game/ship_controller.gd" id="1_controller"]
|
|
[ext_resource type="Script" path="res://scripts/items/ship_inventory.gd" id="2_inventory"]
|
|
[ext_resource type="Script" path="res://scripts/game/weapon_controller.gd" id="3_weapons"]
|
|
[ext_resource type="Script" path="res://scripts/game/shield_visual.gd" id="4_shield"]
|
|
[ext_resource type="Script" path="res://scripts/game/ship_engine_audio.gd" id="5_engine_audio"]
|
|
[ext_resource type="Script" path="res://scripts/game/engine_visual.gd" id="6_engine_visual"]
|
|
|
|
[sub_resource type="CircleShape2D" id="ShipCollision"]
|
|
radius = 18.0
|
|
|
|
[node name="PlayerShip" type="CharacterBody2D"]
|
|
collision_layer = 2
|
|
collision_mask = 5
|
|
script = ExtResource("1_controller")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
|
|
[node name="ShieldVisual" type="Node2D" parent="."]
|
|
z_index = 2
|
|
script = ExtResource("4_shield")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("ShipCollision")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position_smoothing_enabled = false
|
|
|
|
[node name="ShipInventory" type="Node" parent="."]
|
|
script = ExtResource("2_inventory")
|
|
|
|
[node name="WeaponController" type="Node" parent="."]
|
|
script = ExtResource("3_weapons")
|
|
|
|
[node name="EngineAudio" type="AudioStreamPlayer" parent="."]
|
|
script = ExtResource("5_engine_audio")
|
|
|
|
[node name="EngineVisual" type="Node2D" parent="."]
|
|
script = ExtResource("6_engine_visual")
|