Shadows on candles
This commit is contained in:
34
Scenes/Player/UI/player_ui.tscn
Normal file
34
Scenes/Player/UI/player_ui.tscn
Normal file
@@ -0,0 +1,34 @@
|
||||
[gd_scene format=3 uid="uid://dmvukn3rl6gbx"]
|
||||
|
||||
[node name="PlayerUI" type="CanvasLayer"]
|
||||
|
||||
[node name="UIRoot" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchor_top = 0.874
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 9.0
|
||||
offset_top = 9.0
|
||||
offset_right = -9.0
|
||||
offset_bottom = -13.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="ControlPanel" type="HBoxContainer" parent="UIRoot"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="StatPanel" type="Control" parent="UIRoot/ControlPanel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="ButtonPanel" type="HBoxContainer" parent="UIRoot/ControlPanel"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 4
|
21
Scenes/Player/UI/spawnable_button.tscn
Normal file
21
Scenes/Player/UI/spawnable_button.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://f7n8gd1wlv4v"]
|
||||
|
||||
[sub_resource type="AnimatedTexture" id="AnimatedTexture_iksd1"]
|
||||
|
||||
[node name="SpawnableButton" type="Button"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Animation" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = SubResource("AnimatedTexture_iksd1")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Animation"]
|
@@ -1,8 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://0onqgygm832d"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://0onqgygm832d"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Player/player.gd" id="1_63swt"]
|
||||
[ext_resource type="PackedScene" uid="uid://brnx3xyyd0e71" path="res://Scenes/Spawnables/bat_spawnable.tscn" id="2_fd41r"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmvukn3rl6gbx" path="res://Scenes/Player/UI/player_ui.tscn" id="3_nbue7"]
|
||||
|
||||
[node name="Player" type="Node2D"]
|
||||
script = ExtResource("1_63swt")
|
||||
batTemplatePath = ExtResource("2_fd41r")
|
||||
|
||||
[node name="PlayerUI" parent="." instance=ExtResource("3_nbue7")]
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
Reference in New Issue
Block a user