Files
godot-demo-projects/loading/load_threaded/load_threaded.tscn
Hugo Locurcio 31d1c0c112 Remove old and unused project settings, update various demos for 4.2 (#1024)
- Move all demo projects that don't require Forward+/Mobile-only features
  to the Compatibility rendering method. This improves performance significantly
  on low-end devices and ensures visuals are identical to a web export
  of the demo.
- Set deadzone on all inputs to 0.2 for better gamepad usability.
- Remove reliance on `default_env.tres` to use built-in Environment
  resources in the main scene instead (which follows the preview environment
  workflow).
- Remove notices pointing to GDNative or VisualScript, since both were
  removed in 4.0.
- Various bug fixes and usability tweaks to 10+ demos.
2024-03-26 18:01:58 +01:00

109 lines
2.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[gd_scene load_steps=2 format=3 uid="uid://gc6pbdkdi7xt"]
[ext_resource type="Script" path="res://load_threaded.gd" id="1_5o27a"]
[node name="LoadThreaded" type="VBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_5o27a")
[node name="Paintings" type="HBoxContainer" parent="."]
layout_mode = 2
size_flags_vertical = 3
[node name="Babel" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="LasMeninas" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="MonaLisa" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="OldGuitarist" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="Parasol" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="Swing" type="TextureRect" parent="Paintings"]
texture_filter = 4
layout_mode = 2
size_flags_horizontal = 3
expand_mode = 1
stretch_mode = 5
[node name="StartLoading" type="Button" parent="."]
layout_mode = 2
text = "Start Loading"
[node name="GetLoaded" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="Babel" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "The Tower of Babel"
[node name="LasMeninas" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Las Meninas"
[node name="MonaLisa" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Mona Lisa"
[node name="OldGuitarist" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "The Old Guitarist"
[node name="Parasol" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Woman with a Parasol Madame Monet and Her Son"
[node name="Swing" type="Button" parent="GetLoaded"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "The Swing"
[connection signal="pressed" from="StartLoading" to="." method="_on_start_loading_pressed"]
[connection signal="pressed" from="GetLoaded/Babel" to="." method="_on_babel_pressed"]
[connection signal="pressed" from="GetLoaded/LasMeninas" to="." method="_on_las_meninas_pressed"]
[connection signal="pressed" from="GetLoaded/MonaLisa" to="." method="_on_mona_lisa_pressed"]
[connection signal="pressed" from="GetLoaded/OldGuitarist" to="." method="_on_old_guitarist_pressed"]
[connection signal="pressed" from="GetLoaded/Parasol" to="." method="_on_parasol_pressed"]
[connection signal="pressed" from="GetLoaded/Swing" to="." method="_on_swing_pressed"]