101 lines
2.7 KiB
Plaintext
101 lines
2.7 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://viewer.gd" type="Script" id=1]
|
|
[ext_resource path="res://player/Player.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="CubeMesh" id=1]
|
|
|
|
[node name="Node" type="Node"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Tabs" type="Tabs" parent="."]
|
|
margin_right = 1024.0
|
|
margin_bottom = 44.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ItemList" type="ItemList" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = 68.0
|
|
margin_right = -699.0
|
|
margin_bottom = -3.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ViewportContainer" type="ViewportContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 325.0
|
|
margin_top = 48.0
|
|
margin_right = 1.0
|
|
margin_bottom = -3.0
|
|
stretch = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Viewport" type="Viewport" parent="ViewportContainer"]
|
|
size = Vector2( 700, 681 )
|
|
handle_input_locally = false
|
|
render_target_update_mode = 3
|
|
|
|
[node name="Player" parent="ViewportContainer/Viewport" instance=ExtResource( 2 )]
|
|
|
|
[node name="CurrentObject" type="MeshInstance" parent="."]
|
|
transform = Transform( 0.999955, 0.00945954, 0, -0.00945954, 0.999955, 0, 0, 0, 1, 0, 0, -2.5736 )
|
|
mesh = SubResource( 1 )
|
|
material/0 = null
|
|
|
|
[node name="TextureList" type="ItemList" parent="."]
|
|
visible = false
|
|
margin_top = 44.0
|
|
margin_right = 325.0
|
|
margin_bottom = 724.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 330, 55 )
|
|
centered = false
|
|
|
|
[node name="SearchModel" type="LineEdit" parent="."]
|
|
margin_top = 44.0
|
|
margin_right = 325.0
|
|
margin_bottom = 68.0
|
|
placeholder_text = "Search for textures..."
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Loader" type="Panel" parent="."]
|
|
visible = false
|
|
margin_right = 1025.0
|
|
margin_bottom = 732.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="Loader"]
|
|
margin_top = 4.0
|
|
margin_right = 205.0
|
|
margin_bottom = 149.0
|
|
rect_scale = Vector2( 5, 5 )
|
|
text = "Loading..."
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="ready" from="." to="." method="_on_Node_ready"]
|
|
[connection signal="tab_changed" from="Tabs" to="." method="_on_Tabs_tab_changed"]
|
|
[connection signal="item_selected" from="ItemList" to="." method="_on_ItemList_item_selected"]
|
|
[connection signal="mouse_entered" from="ViewportContainer" to="." method="_on_ViewportContainer_mouse_entered"]
|
|
[connection signal="mouse_exited" from="ViewportContainer" to="." method="_on_ViewportContainer_mouse_exited"]
|
|
[connection signal="item_selected" from="TextureList" to="." method="_on_TextureList_item_selected"]
|
|
[connection signal="text_changed" from="SearchModel" to="." method="_on_SearchModel_text_changed"]
|