This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.tscn
215 lines (182 loc) · 6.14 KB
/
Main.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Viewport.gd" type="Script" id=1]
[ext_resource path="res://Scene3D.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scene3DMovingCamera.tscn" type="PackedScene" id=3]
[ext_resource path="res://default_env.tres" type="Environment" id=4]
[ext_resource path="res://Scene3DMovingSpheres.tscn" type="PackedScene" id=5]
[ext_resource path="res://Scene2D.tscn" type="PackedScene" id=6]
[ext_resource path="res://Scene2DMovingCamera.tscn" type="PackedScene" id=7]
[ext_resource path="res://Scene2DMovingSprites.tscn" type="PackedScene" id=8]
[sub_resource type="World" id=1]
environment = ExtResource( 4 )
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 12.0
mouse_filter = 1
[node name="GridContainer" type="GridContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/vseparation = 16
custom_constants/hseparation = 16
columns = 3
[node name="Label" type="Label" parent="GridContainer"]
margin_right = 330.0
margin_bottom = 48.0
size_flags_vertical = 1
text = "Red between mouse_entered and mouse_exited
The right one is capturable
Default world"
align = 1
valign = 1
[node name="Label2" type="Label" parent="GridContainer"]
margin_left = 346.0
margin_right = 676.0
margin_bottom = 48.0
size_flags_vertical = 1
text = "Camera moving
own_world = true + environment in camera"
align = 1
valign = 1
[node name="Label3" type="Label" parent="GridContainer"]
margin_left = 692.0
margin_right = 1022.0
margin_bottom = 48.0
size_flags_vertical = 1
text = "Spheres moving
world = World resource"
align = 1
valign = 1
[node name="ViewportContainer" type="ViewportContainer" parent="GridContainer"]
margin_top = 64.0
margin_right = 330.0
margin_bottom = 303.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer"]
size = Vector2( 330, 239 )
handle_input_locally = false
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene3D" parent="GridContainer/ViewportContainer/Viewport" instance=ExtResource( 2 )]
[node name="ViewportContainer2" type="ViewportContainer" parent="GridContainer"]
margin_left = 346.0
margin_top = 64.0
margin_right = 676.0
margin_bottom = 303.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer2"]
size = Vector2( 330, 239 )
own_world = true
handle_input_locally = false
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene3DMovingCamera" parent="GridContainer/ViewportContainer2/Viewport" instance=ExtResource( 3 )]
[node name="Camera" parent="GridContainer/ViewportContainer2/Viewport/Scene3DMovingCamera" index="2"]
environment = ExtResource( 4 )
current = true
[node name="ViewportContainer3" type="ViewportContainer" parent="GridContainer"]
margin_left = 692.0
margin_top = 64.0
margin_right = 1022.0
margin_bottom = 303.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer3"]
size = Vector2( 330, 239 )
world = SubResource( 1 )
handle_input_locally = false
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene3DMovingSpheres" parent="GridContainer/ViewportContainer3/Viewport" instance=ExtResource( 5 )]
[node name="Label5" type="Label" parent="GridContainer"]
margin_top = 319.0
margin_right = 330.0
margin_bottom = 333.0
size_flags_vertical = 1
text = "Two plus two more on a CanvasLayer"
align = 1
valign = 1
[node name="Label4" type="Label" parent="GridContainer"]
margin_left = 346.0
margin_top = 319.0
margin_right = 676.0
margin_bottom = 333.0
size_flags_vertical = 1
text = "Camera moving"
align = 1
valign = 1
[node name="Label6" type="Label" parent="GridContainer"]
margin_left = 692.0
margin_top = 319.0
margin_right = 1022.0
margin_bottom = 333.0
size_flags_vertical = 1
text = "Sprites moving"
align = 1
valign = 1
[node name="ViewportContainer4" type="ViewportContainer" parent="GridContainer"]
margin_top = 349.0
margin_right = 330.0
margin_bottom = 588.0
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer4"]
size = Vector2( 330, 239 )
handle_input_locally = false
disable_3d = true
usage = 0
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene2D" parent="GridContainer/ViewportContainer4/Viewport" instance=ExtResource( 6 )]
[node name="CanvasLayer" type="CanvasLayer" parent="GridContainer/ViewportContainer4/Viewport"]
offset = Vector2( 0, -100 )
transform = Transform2D( 1, 0, 0, 1, 0, -100 )
[node name="Scene2D" parent="GridContainer/ViewportContainer4/Viewport/CanvasLayer" instance=ExtResource( 6 )]
[node name="ViewportContainer5" type="ViewportContainer" parent="GridContainer"]
margin_left = 346.0
margin_top = 349.0
margin_right = 676.0
margin_bottom = 588.0
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer5"]
size = Vector2( 330, 239 )
handle_input_locally = false
disable_3d = true
usage = 0
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene2DMovingCamera" parent="GridContainer/ViewportContainer5/Viewport" instance=ExtResource( 7 )]
[node name="ViewportContainer6" type="ViewportContainer" parent="GridContainer"]
margin_left = 692.0
margin_top = 349.0
margin_right = 1022.0
margin_bottom = 588.0
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GridContainer/ViewportContainer6"]
size = Vector2( 330, 239 )
handle_input_locally = false
disable_3d = true
usage = 0
render_target_update_mode = 3
physics_object_picking = true
script = ExtResource( 1 )
[node name="Scene2DMovingSprites" parent="GridContainer/ViewportContainer6/Viewport" instance=ExtResource( 8 )]
[editable path="GridContainer/ViewportContainer2/Viewport/Scene3DMovingCamera"]