Implement boss room

This commit is contained in:
2024-09-16 02:48:14 -07:00
parent 55c521db3a
commit d0c78e54a7
119 changed files with 795 additions and 2080 deletions

View File

@@ -263,7 +263,9 @@ public partial class Game : Node3D, IGame
private void Map_DungeonFinishedGenerating()
{
GameRepo.SetPlayerGlobalPosition(Map.GetPlayerSpawnPosition());
var transform = Map.GetPlayerSpawnPosition();
GameRepo.SetPlayerGlobalPosition(transform.Origin);
GameRepo.SetPlayerGlobalTransform(transform);
GameLogic.Input(new GameLogic.Input.HideFloorClearMenu());
}

View File

@@ -1,9 +1,8 @@
[gd_scene load_steps=12 format=3 uid="uid://33ek675mfb5n"]
[gd_scene load_steps=11 format=3 uid="uid://33ek675mfb5n"]
[ext_resource type="Script" path="res://src/game/Game.cs" id="1_ytcii"]
[ext_resource type="PackedScene" uid="uid://by67pn7fdsg1m" path="res://src/map/Map.tscn" id="3_d8awv"]
[ext_resource type="PackedScene" uid="uid://cfecvvav8kkp6" path="res://src/player/Player.tscn" id="3_kk6ly"]
[ext_resource type="Script" path="res://src/map/Map.cs" id="4_f5pye"]
[ext_resource type="PackedScene" uid="uid://b1muxus5qdbeu" path="res://src/ui/in_game_ui/InGameUI.tscn" id="5_lxtnp"]
[ext_resource type="PackedScene" uid="uid://b16ejcwanod72" path="res://src/audio/InGameAudio.tscn" id="6_qc71l"]
[ext_resource type="Script" path="res://src/game/DialogueController.cs" id="10_58pbt"]
@@ -28,7 +27,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.74459, 1.22144)
[node name="Map" parent="PauseContainer" instance=ExtResource("3_d8awv")]
unique_name_in_owner = true
process_mode = 1
script = ExtResource("4_f5pye")
[node name="InGameUI" parent="." instance=ExtResource("5_lxtnp")]
unique_name_in_owner = true