Boss in Main Scene Fixed
This commit is contained in:
parent
07e54a2cdf
commit
36666f4e78
2 changed files with 8 additions and 5 deletions
11
main.tscn
11
main.tscn
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://cxo6bq26huau7"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://cxo6bq26huau7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cmaovvr15b3qk" path="res://player/player.tscn" id="2_1bvp3"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3fpq76anm4t7" path="res://world/Background Prototype/Background prototype.png" id="3_kek77"]
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
[ext_resource type="Script" uid="uid://3k6r3jnko4hg" path="res://show_fps.gd" id="8_5vw27"]
|
||||
[ext_resource type="PackedScene" uid="uid://b62xcg0dd3vct" path="res://enemies/leech.tscn" id="9_kek77"]
|
||||
[ext_resource type="PackedScene" uid="uid://ca5ndobertnp4" path="res://water/water.tscn" id="10_4c57u"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpe4s6vsn0ujd" path="res://boss.tscn" id="11_efxa6"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
|
||||
|
|
@ -68,16 +69,15 @@ script = ExtResource("8_5vw27")
|
|||
[node name="Leech" parent="." instance=ExtResource("9_kek77")]
|
||||
position = Vector2(0, -3015)
|
||||
|
||||
[node name="Boss" parent="." instance=ExtResource("10_4c57u")]
|
||||
position = Vector2(0, -3500)
|
||||
|
||||
[node name="Water" parent="." instance=ExtResource("10_4c57u")]
|
||||
z_index = 15
|
||||
|
||||
[node name="CanvasLayer-1" type="CanvasLayer" parent="."]
|
||||
layer = -1
|
||||
visible = false
|
||||
|
||||
[node name="ColorRect" type="TextureRect" parent="CanvasLayer-1"]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
|
@ -85,6 +85,9 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
texture = ExtResource("3_kek77")
|
||||
|
||||
[node name="Boss" parent="." instance=ExtResource("11_efxa6")]
|
||||
position = Vector2(0, -3500)
|
||||
|
||||
[connection signal="active_item_changed" from="Player" to="CanvasLayer1/ItemUI" method="_on_player_active_item_changed"]
|
||||
[connection signal="health_changed" from="Player" to="CanvasLayer1/Healthbar" method="_on_player_health_changed"]
|
||||
[connection signal="max_hp_changed" from="Player" to="CanvasLayer1/Healthbar" method="_on_player_max_hp_changed"]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ config_version=5
|
|||
|
||||
config/name="The Dark Side of Earth"
|
||||
run/main_scene="uid://cxo6bq26huau7"
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/features=PackedStringArray("4.5", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[display]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue