Added kamikaze states and star system border (both don't working properly)
This commit is contained in:
parent
bda9232e72
commit
ac263a1e65
6 changed files with 112 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://pev6k21vqaem"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://pev6k21vqaem"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Ship/ship.gd" id="1_82bba"]
|
||||
[ext_resource type="PackedScene" uid="uid://bkd4gyhlota7l" path="res://scenes/Ships/Modules/Hulls/kamikaze_hull.tscn" id="2_165nu"]
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://bunboi5ouscw8" path="res://scenes/Ships/Modules/Shields/shield.tscn" id="4_aos8x"]
|
||||
[ext_resource type="Script" path="res://scripts/State Machine/tree.gd" id="5_m8m3f"]
|
||||
[ext_resource type="Script" path="res://scripts/State Machine/Kamikaze/WanderingState.gd" id="6_emcj1"]
|
||||
[ext_resource type="Script" path="res://scripts/State Machine/Kamikaze/AttackState.gd" id="7_ilmkp"]
|
||||
|
||||
[node name="KamikazeShip" type="Node2D"]
|
||||
script = ExtResource("1_82bba")
|
||||
|
|
@ -32,4 +33,7 @@ script = ExtResource("6_emcj1")
|
|||
[node name="UpdateDestination" type="Timer" parent="StateTree/WanderingState"]
|
||||
wait_time = 10.0
|
||||
|
||||
[node name="AttackState" type="Node" parent="StateTree"]
|
||||
script = ExtResource("7_ilmkp")
|
||||
|
||||
[connection signal="timeout" from="StateTree/WanderingState/UpdateDestination" to="StateTree/WanderingState" method="update_destination"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue