feat: added HUD object
This commit is contained in:
parent
3ceabd50eb
commit
7e3afd6c64
9 changed files with 64 additions and 20 deletions
24
project/guis/heads_up_display.tscn
Normal file
24
project/guis/heads_up_display.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://dqo1pfy3r00ai"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dc26l1ync7env" path="res://assets/gui/reticle.svg" id="1_1o2rr"]
|
||||
|
||||
[node name="HeadsUpDisplay" type="HeadsUpDisplay"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
mouse_behavior_recursive = 1
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="CenterContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_1o2rr")
|
||||
Loading…
Add table
Add a link
Reference in a new issue