Complete C# rewrite with working game in Editor (#6)
* Refactor collectable components to C# and update resource scripts for consistency * Update resource paths and refactor properties for consistency * Refactor UI components to inherit from Control and update node paths for consistency * Update node paths and group assignments for consistency across scenes * Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling * Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration * Refactor skill components and update resource paths for consistency; enhance skill management in scenes * Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling * Add next level command and refactor player retrieval in GameManager; update scene files for consistency * Add skill upgrade system and refactor skill components for enhanced functionality; update resource paths and configurations * Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states * Refactor ChargeProgressBar and SkillManager; update skill handling and improve component interactions * Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=24 format=4 uid="uid://bol7g83v2accs"]
|
||||
[gd_scene load_steps=22 format=4 uid="uid://bol7g83v2accs"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bqi5s710xb1ju" path="res://objects/entities/brick_player.tscn" id="1_dnj2y"]
|
||||
[ext_resource type="PackedScene" uid="uid://cawlpch2lk3a2" path="res://objects/level/world_environment.tscn" id="2_1vw1j"]
|
||||
@@ -12,8 +12,6 @@
|
||||
[ext_resource type="TileSet" uid="uid://cu2sx7qigrqnv" path="res://resources/tilesets/village/terain.tres" id="9_ttvjm"]
|
||||
[ext_resource type="TileSet" uid="uid://bc5a20s6kuy8e" path="res://resources/tilesets/village/entities.tres" id="10_ei558"]
|
||||
[ext_resource type="TileSet" uid="uid://bbppo0irxdmqy" path="res://resources/tilesets/village/foreground.tres" id="11_w7c5i"]
|
||||
[ext_resource type="Script" uid="uid://8r1y8elyw7kt" path="res://scripts/console_management.gd" id="12_2tg3u"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqom4cm7r18db" path="res://objects/entities/killzone.tscn" id="13_tvdre"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0s2abysa86rq" path="res://objects/entities/child.tscn" id="15_vqevu"]
|
||||
[ext_resource type="PackedScene" uid="uid://12jnkdygpxwc" path="res://objects/entities/exit_level.tscn" id="16_chnw1"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4pdt1gv2ymyi" path="res://objects/tooltip.tscn" id="18_4bhfj"]
|
||||
@@ -59,23 +57,30 @@ ease = 2
|
||||
[node name="Brick Player" parent="." instance=ExtResource("1_dnj2y")]
|
||||
z_index = 10
|
||||
|
||||
[node name="HitParticles" parent="Brick Player" index="27"]
|
||||
[node name="HitParticles" parent="Brick Player" index="26"]
|
||||
process_material = SubResource("ParticleProcessMaterial_lgb3u")
|
||||
|
||||
[node name="WorldEnvironment" parent="." instance=ExtResource("2_1vw1j")]
|
||||
|
||||
[node name="UI Layer" parent="." instance=ExtResource("3_4fsls")]
|
||||
|
||||
[node name="HUD" parent="UI Layer" index="0" node_paths=PackedStringArray("player_health")]
|
||||
player_health = NodePath("../../Brick Player/HealthComponent")
|
||||
[node name="HUD" parent="UI Layer" index="0" node_paths=PackedStringArray("Health")]
|
||||
Health = NodePath("../../Brick Player/HealthComponent")
|
||||
|
||||
[node name="DeathScreen" parent="UI Layer" index="1" node_paths=PackedStringArray("nodes_to_disable")]
|
||||
current_level = ExtResource("4_onnch")
|
||||
nodes_to_disable = [NodePath("../../Brick Player")]
|
||||
[node name="DeathScreen" parent="UI Layer" index="1" node_paths=PackedStringArray("NodesToDisable")]
|
||||
CurrentLevel = ExtResource("4_onnch")
|
||||
NodesToDisable = [NodePath("../../Brick Player")]
|
||||
|
||||
[node name="Marketplace" parent="UI Layer" index="3" node_paths=PackedStringArray("skill_unlocker", "components_to_disable")]
|
||||
skill_unlocker = NodePath("../../Brick Player/SkillUnlockerComponent")
|
||||
components_to_disable = [NodePath("../../Brick Player")]
|
||||
[node name="Marketplace" parent="UI Layer" index="3" node_paths=PackedStringArray("SkillUnlockerComponent", "ComponentsToDisable")]
|
||||
SkillUnlockerComponent = NodePath("../../Brick Player/SkillUnlockerComponent")
|
||||
ComponentsToDisable = [NodePath("../../Brick Player")]
|
||||
|
||||
[node name="Pause menu" parent="UI Layer" index="4" node_paths=PackedStringArray("SettingsControl")]
|
||||
SettingsControl = NodePath("../Settings menu")
|
||||
|
||||
[node name="Settings menu" parent="UI Layer" index="5" node_paths=PackedStringArray("InputSettingsControl", "AudioSettingsControl")]
|
||||
InputSettingsControl = NodePath("../Input Settings")
|
||||
AudioSettingsControl = NodePath("../Audio settings")
|
||||
|
||||
[node name="Global Light" parent="." instance=ExtResource("4_mc58c")]
|
||||
|
||||
@@ -111,16 +116,6 @@ tile_set = ExtResource("10_ei558")
|
||||
[node name="Foreground layer" type="TileMapLayer" parent="."]
|
||||
tile_set = ExtResource("11_w7c5i")
|
||||
|
||||
[node name="ConsoleManagement" type="Node" parent="." node_paths=PackedStringArray("player_health", "skill_unlocker", "skill_manager")]
|
||||
script = ExtResource("12_2tg3u")
|
||||
player_health = NodePath("../Brick Player/HealthComponent")
|
||||
skill_unlocker = NodePath("../Brick Player/SkillUnlockerComponent")
|
||||
skill_manager = NodePath("../Brick Player/SkillManager")
|
||||
metadata/_custom_type_script = "uid://8r1y8elyw7kt"
|
||||
|
||||
[node name="Killzone" parent="." instance=ExtResource("13_tvdre")]
|
||||
position = Vector2(215, 324)
|
||||
|
||||
[node name="Child" parent="." instance=ExtResource("15_vqevu")]
|
||||
position = Vector2(-162, -256)
|
||||
|
||||
@@ -129,18 +124,18 @@ position = Vector2(1485, 25)
|
||||
|
||||
[node name="Tooltip" parent="." instance=ExtResource("18_4bhfj")]
|
||||
position = Vector2(712, -343)
|
||||
text = "LEVEL_1_TOOLTIP_1"
|
||||
Text = "LEVEL_1_TOOLTIP_1"
|
||||
|
||||
[node name="Tooltip2" parent="." instance=ExtResource("18_4bhfj")]
|
||||
position = Vector2(552, 25)
|
||||
text = "LEVEL_1_TOOLTIP_2"
|
||||
Text = "LEVEL_1_TOOLTIP_2"
|
||||
|
||||
[node name="Tooltip3" parent="." instance=ExtResource("18_4bhfj")]
|
||||
position = Vector2(-59, -247)
|
||||
text = "LEVEL_1_TOOLTIP_3"
|
||||
Text = "LEVEL_1_TOOLTIP_3"
|
||||
|
||||
[connection signal="on_death" from="Brick Player/HealthComponent" to="UI Layer/DeathScreen" method="on_player_death"]
|
||||
[connection signal="on_death" from="Brick Player/HealthComponent" to="UI Layer/GameOverScreen" method="on_player_death"]
|
||||
[connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/DeathScreen" method="OnPlayerDeath"]
|
||||
[connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/GameOverScreen" method="OnPlayerDeath"]
|
||||
|
||||
[editable path="Brick Player"]
|
||||
[editable path="UI Layer"]
|
||||
|
Reference in New Issue
Block a user