Initial reorganization of shmup prroject; temp player sprites added.
This commit is contained in:
parent
02d14e913c
commit
accc463791
116 changed files with 298 additions and 177 deletions
43
scenes/ui.tscn
Normal file
43
scenes/ui.tscn
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://s6wf3egdqtmh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d11molrkdjjh5" path="res://_graphics/bar_background.png" id="1_m6e0p"]
|
||||
[ext_resource type="Script" uid="uid://b544c65halgk4" path="res://scenes/ui.gd" id="1_nltto"]
|
||||
[ext_resource type="Texture2D" uid="uid://bsl3pxvxiuoqg" path="res://_graphics/bar_foreground.png" id="2_27fn8"]
|
||||
[ext_resource type="Shader" uid="uid://dfywtah53il1m" path="res://shaders/player_hit.gdshader" id="2_ibotj"]
|
||||
[ext_resource type="PackedScene" uid="uid://5qkcf1cpre32" path="res://scenes/score_counter.tscn" id="4_ibotj"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_n5ude"]
|
||||
shader = ExtResource("2_ibotj")
|
||||
shader_parameter/toggle = 0.0
|
||||
|
||||
[node name="UI" type="MarginContainer"]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
script = ExtResource("1_nltto")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ShieldBar" type="TextureProgressBar" parent="HBoxContainer"]
|
||||
material = SubResource("ShaderMaterial_n5ude")
|
||||
custom_minimum_size = Vector2(80, 16)
|
||||
layout_mode = 2
|
||||
step = 0.0
|
||||
nine_patch_stretch = true
|
||||
stretch_margin_left = 3
|
||||
stretch_margin_top = 3
|
||||
stretch_margin_right = 3
|
||||
stretch_margin_bottom = 3
|
||||
texture_under = ExtResource("1_m6e0p")
|
||||
texture_progress = ExtResource("2_27fn8")
|
||||
|
||||
[node name="ScoreCounter" parent="HBoxContainer" instance=ExtResource("4_ibotj")]
|
||||
layout_mode = 2
|
||||
|
||||
[connection signal="value_changed" from="HBoxContainer/ShieldBar" to="." method="_on_shield_bar_value_changed"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue