mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dtro3f26hajqb"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d8u6vcuje44o" path="res://cubes.tscn" id="2"]
|
|
[ext_resource type="Script" uid="uid://cm236apu6dd1m" path="res://hud.gd" id="3"]
|
|
|
|
[sub_resource type="Theme" id="2"]
|
|
|
|
[node name="HUD" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = SubResource("2")
|
|
script = ExtResource("3")
|
|
|
|
[node name="Cubes" parent="." instance=ExtResource("2")]
|
|
|
|
[node name="Help" type="Label" parent="."]
|
|
layout_mode = 0
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 16.0
|
|
offset_top = -106.0
|
|
offset_right = 554.0
|
|
offset_bottom = -16.0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
text = "This text will always render at the native resolution.
|
|
Press Space to adjust the 3D viewport's resolution scaling.
|
|
Press Enter to cycle filtering modes."
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 16.0
|
|
offset_top = 16.0
|
|
offset_right = 124.0
|
|
offset_bottom = 76.0
|
|
|
|
[node name="Scale" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
text = "Scale: 100%"
|
|
|
|
[node name="Filter" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 4
|
|
text = "Scaling 3D Mode: Bilinear"
|