finally built the crosshair of my dreams
This commit is contained in:
40
assets/crosshair.tscn
Normal file
40
assets/crosshair.tscn
Normal file
@@ -0,0 +1,40 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://8kmjybgrobj1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dumgg4fq1ngbj" path="res://assets/UI/Crosshair/SVG/reticle_outer.svg" id="1_5bf65"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpe2ehq1vtj25" path="res://assets/UI/Crosshair/SVG/reticle_inner.svg" id="2_yawbq"]
|
||||
[ext_resource type="Texture2D" uid="uid://h2tp42xntorm" path="res://assets/UI/Crosshair/SVG/Stamina_White.svg" id="3_spf5y"]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ytfhs"]
|
||||
|
||||
[node name="Crosshair" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Crosshair" type="TextureRect" parent="." groups=["hud"]]
|
||||
layout_mode = 0
|
||||
offset_right = 396.0
|
||||
offset_bottom = 396.0
|
||||
texture = ExtResource("1_5bf65")
|
||||
expand_mode = 3
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="CrosshairCenter" type="TextureRect" parent="." groups=["hud"]]
|
||||
layout_mode = 0
|
||||
offset_right = 396.0
|
||||
offset_bottom = 396.0
|
||||
scale = Vector2(0.02, 0.02)
|
||||
texture = ExtResource("2_yawbq")
|
||||
expand_mode = 3
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="StaminaBar" type="TextureProgressBar" parent="."]
|
||||
material = SubResource("CanvasItemMaterial_ytfhs")
|
||||
layout_mode = 0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 370.0
|
||||
scale = Vector2(0.3, 0.3)
|
||||
value = 49.0
|
||||
fill_mode = 5
|
||||
texture_progress = ExtResource("3_spf5y")
|
||||
Reference in New Issue
Block a user