Functional prototype

This commit is contained in:
2025-02-02 23:55:33 -05:00
parent 1eb408b1c8
commit 7b9a0ea032
15 changed files with 9341 additions and 56 deletions

5
core/tools/fps_label.gd Normal file
View File

@@ -0,0 +1,5 @@
extends Label
func _process(delta):
text = str(Engine.get_frames_per_second()) + " FPS"

21
core/tools/fps_label.tscn Normal file
View File

@@ -0,0 +1,21 @@
[gd_scene load_steps=2 format=3 uid="uid://c6w6axh4l4w8d"]
[ext_resource type="Script" path="res://core/tools/fps_label.gd" id="1_i0we7"]
[node name="MarginContainer" type="MarginContainer"]
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -69.0
offset_bottom = 40.0
grow_horizontal = 0
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20
[node name="FPSLabel" type="Label" parent="."]
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "120 fps"
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("1_i0we7")