mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
FSM Selector with sound
This commit is contained in:
parent
f6d159b9c4
commit
ee09c50dbd
20 changed files with 330 additions and 28 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=19 format=4 uid="uid://dqyfnby0t7gu1"]
|
||||
[gd_scene load_steps=22 format=4 uid="uid://dqyfnby0t7gu1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://doxmbokehw8ci" path="res://Scripts/GameManager.cs" id="1_c3v4x"]
|
||||
[ext_resource type="PackedScene" uid="uid://bghghp5ep4w2j" path="res://Scenes/player.tscn" id="2_w1v1g"]
|
||||
|
|
@ -10,13 +10,16 @@
|
|||
[ext_resource type="Script" uid="uid://krean0uywtms" path="res://Scripts/TilemapAvoidance.cs" id="6_yyg8m"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4pr2707hbeph" path="res://Scenes/Actors/fsm_player.tscn" id="8_c3v4x"]
|
||||
[ext_resource type="Script" uid="uid://cfya7sndh7vy2" path="res://Scenes/CameraController.gd" id="9_dj0ui"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmr6fclttrpkb" path="res://Scenes/Items/Ammo1.tscn" id="10_6314l"]
|
||||
[ext_resource type="Script" uid="uid://c5nxsq3tyxcx6" path="res://Scripts/InventoryManager.cs" id="10_qmakk"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="11_hmqao"]
|
||||
[ext_resource type="Script" uid="uid://bdshph801ac2i" path="res://Scenes/CameraTarget.gd" id="12_8to53"]
|
||||
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="13_8fnge"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0gpbkxdfbnjh" path="res://Scenes/Actors/ForceField_Horizontal.tscn" id="13_mljl7"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3tyacxxw88lx" path="res://Scenes/Utils/StreamPlayerWithName.tscn" id="14_q7rh4"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd36ch65jijg0" path="res://Scenes/Activable/BulletEmitter.tscn" id="15_b3hxm"]
|
||||
[ext_resource type="Resource" uid="uid://bj331rcsq65es" path="res://Resources/Bullets/EmitterTestBullet.tres" id="16_u1i8n"]
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="20_0knpf"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_u1i8n")
|
||||
|
|
@ -58,6 +61,17 @@ metadata/_edit_lock_ = true
|
|||
[node name="FSMPlayer" parent="Tilemaps/Actors" instance=ExtResource("8_c3v4x")]
|
||||
position = Vector2(76, 295)
|
||||
|
||||
[node name="Ammo1" parent="Tilemaps/Actors" instance=ExtResource("10_6314l")]
|
||||
position = Vector2(163, 302)
|
||||
|
||||
[node name="BulletEmitter" parent="Tilemaps/Actors" instance=ExtResource("15_b3hxm")]
|
||||
position = Vector2(59.7855, 263.59)
|
||||
BulletResource = ExtResource("16_u1i8n")
|
||||
EmitOnStart = true
|
||||
|
||||
[node name="HorizontalForceField" parent="Tilemaps/Actors" instance=ExtResource("13_mljl7")]
|
||||
position = Vector2(304, 303)
|
||||
|
||||
[node name="CameraController" type="Camera2D" parent="."]
|
||||
process_mode = 1
|
||||
script = ExtResource("9_dj0ui")
|
||||
|
|
@ -76,11 +90,11 @@ script = ExtResource("10_qmakk")
|
|||
[node name="HUD" parent="." instance=ExtResource("11_hmqao")]
|
||||
|
||||
[node name="CameraTarget" type="Node2D" parent="."]
|
||||
position = Vector2(115, 328)
|
||||
position = Vector2(124, 338)
|
||||
script = ExtResource("12_8to53")
|
||||
|
||||
[node name="PlayerStartPosition" type="Marker2D" parent="."]
|
||||
position = Vector2(111, 305)
|
||||
position = Vector2(155, 370)
|
||||
|
||||
[node name="AlarmManager" type="Node2D" parent="."]
|
||||
process_mode = 1
|
||||
|
|
@ -90,7 +104,6 @@ script = ExtResource("13_8fnge")
|
|||
process_mode = 3
|
||||
autoplay = true
|
||||
|
||||
[node name="BulletEmitter" parent="." instance=ExtResource("15_b3hxm")]
|
||||
position = Vector2(59.7855, 263.59)
|
||||
BulletResource = ExtResource("16_u1i8n")
|
||||
EmitOnStart = true
|
||||
[node name="ControlPad" parent="." node_paths=PackedStringArray("Targets") instance=ExtResource("20_0knpf")]
|
||||
position = Vector2(279, 306)
|
||||
Targets = [NodePath("../Tilemaps/Actors/HorizontalForceField")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue