mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-02 19:01:16 +00:00
FPS counter
This commit is contained in:
parent
a9abec3573
commit
d25696425b
6 changed files with 48 additions and 21 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=24 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
[gd_scene load_steps=25 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://baf6pxbvhqmjk" path="res://Scripts/Hud.cs" id="1_m0hb0"]
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_0xmx2"]
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
[ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="10_f3h51"]
|
||||
[ext_resource type="Script" uid="uid://bobo5f4ud60qw" path="res://Scripts/UI/ItemsMenu.cs" id="10_oflr6"]
|
||||
[ext_resource type="Script" uid="uid://com5b4ffsmj7s" path="res://Scripts/UI/InventoryMenu.cs" id="11_7pulb"]
|
||||
[ext_resource type="Script" uid="uid://cwd3sksjqpuy3" path="res://Scripts/Utils/FpsCounterLabel.cs" id="15_x61tu"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_a7f6n"]
|
||||
font = ExtResource("2_0xmx2")
|
||||
|
|
@ -260,3 +261,16 @@ layout_mode = 2
|
|||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
text = "Status"
|
||||
|
||||
[node name="FPS" type="Label" parent="."]
|
||||
z_index = 10
|
||||
z_as_relative = false
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -40.0
|
||||
offset_bottom = 23.0
|
||||
grow_horizontal = 0
|
||||
text = "1234"
|
||||
label_settings = ExtResource("2_x7kl7")
|
||||
script = ExtResource("15_x61tu")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue