This repository was archived by the owner on Oct 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainViewport.tscn
82 lines (70 loc) · 2.25 KB
/
MainViewport.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Scenes/Levels/TestLevel.tscn" type="PackedScene" id=1]
[ext_resource path="res://Utilities/MainViewport.cs" type="Script" id=2]
[ext_resource path="res://Assets/Shaders/PostProcess/RetroShader.tres" type="Material" id=3]
[ext_resource path="res://Assets/Fonts/FontData/consola.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://Scripts/UI/FPSLabel.cs" type="Script" id=5]
[ext_resource path="res://Scenes/UI/HUD/PlayerUI.tscn" type="PackedScene" id=6]
[sub_resource type="DynamicFont" id=1]
size = 28
outline_size = 2
outline_color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
font_data = ExtResource( 4 )
[node name="MainViewport" type="ViewportContainer"]
pause_mode = 2
material = ExtResource( 3 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
stretch = true
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 1920, 1080 )
handle_input_locally = false
render_target_update_mode = 3
audio_listener_enable_3d = true
physics_object_picking = true
shadow_atlas_size = 4096
shadow_atlas_quad_1 = 3
shadow_atlas_quad_2 = 4
shadow_atlas_quad_3 = 5
[node name="LevelHolder" type="Node" parent="Viewport"]
pause_mode = 1
[node name="TestLevel" parent="Viewport/LevelHolder" instance=ExtResource( 1 )]
[node name="UIHolder" type="Node" parent="."]
[node name="UI" type="ViewportContainer" parent="UIHolder"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -0.00012207
mouse_filter = 2
stretch = true
stretch_shrink = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Viewport" type="Viewport" parent="UIHolder/UI"]
size = Vector2( 959, 540 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 3
[node name="PlayerUI" parent="UIHolder/UI/Viewport" instance=ExtResource( 6 )]
[node name="Control" type="Control" parent="UIHolder/UI"]
mouse_filter = 2
__meta__ = {
"_edit_lock_": true
}
[node name="Label" type="Label" parent="UIHolder/UI/Control"]
modulate = Color( 1, 1, 1, 0.219608 )
margin_left = 12.0
margin_top = 1048.0
margin_right = 222.0
margin_bottom = 1103.0
custom_fonts/font = SubResource( 1 )
text = "fps: 666"
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}