Implemented state machine & added NPC ship template
This commit is contained in:
parent
2d4eb92751
commit
bda9232e72
15 changed files with 284 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bsnrcw64qr2hr"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bsnrcw64qr2hr"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/star_system.gd" id="1_xx8w2"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpggye27ln436" path="res://scenes/Star Systems/Required Scenes/star_generator.tscn" id="2_iqrn0"]
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
[ext_resource type="Material" uid="uid://bawhivm5cr2w" path="res://shaders/materials/nebula_shader.tres" id="4_o0ld7"]
|
||||
[ext_resource type="Script" path="res://scripts/nebula.gd" id="5_la84n"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7is7y341f6wa" path="res://scenes/Star Systems/Required Scenes/pause_controller.tscn" id="6_61vq5"]
|
||||
[ext_resource type="Script" path="res://scripts/faction.gd" id="7_wm3vi"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_4yoh5"]
|
||||
resource_name = "version_label"
|
||||
|
|
@ -57,3 +58,19 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
script = ExtResource("5_la84n")
|
||||
color_background = Color(0.36, 0.18612, 0.1116, 1)
|
||||
|
||||
[node name="FactionPlayer" type="Node" parent="."]
|
||||
script = ExtResource("7_wm3vi")
|
||||
faction = 1
|
||||
|
||||
[node name="FactionPeaceful" type="Node" parent="."]
|
||||
script = ExtResource("7_wm3vi")
|
||||
faction = 2
|
||||
|
||||
[node name="FactionNeutral" type="Node" parent="."]
|
||||
script = ExtResource("7_wm3vi")
|
||||
faction = 3
|
||||
|
||||
[node name="FactionAggressive" type="Node" parent="."]
|
||||
script = ExtResource("7_wm3vi")
|
||||
faction = 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue