mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
- 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.
54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://qfdnp4pliele"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b1m28vixtwkx0" path="res://play_system_button_hl.png" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://bvcb3q4c3414p" path="res://play_sound_button.png" id="2"]
|
|
[ext_resource type="FontFile" uid="uid://dh3iuml41q2uq" path="res://lcd.ttf" id="2_wyi3x"]
|
|
[ext_resource type="AudioStream" uid="uid://dumjxbamq37fe" path="res://the_comeback2.ogg" id="3"]
|
|
[ext_resource type="Texture2D" uid="uid://y41g3g5d88f3" path="res://play_sound_button_hl.png" id="4"]
|
|
[ext_resource type="Texture2D" uid="uid://cdpaolglwepko" path="res://play_system_button.png" id="5"]
|
|
[ext_resource type="Script" path="res://bpm_sync.gd" id="7"]
|
|
|
|
[node name="BPMSync" type="Panel"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
script = ExtResource("7")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 106.895
|
|
offset_top = 427.158
|
|
offset_right = 914.895
|
|
offset_bottom = 488.158
|
|
theme_override_fonts/font = ExtResource("2_wyi3x")
|
|
|
|
[node name="Player" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("3")
|
|
|
|
[node name="PlaySystem" type="TextureButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 214.737
|
|
offset_top = 187.368
|
|
offset_right = 342.737
|
|
offset_bottom = 315.368
|
|
texture_normal = ExtResource("5")
|
|
texture_pressed = ExtResource("5")
|
|
texture_hover = ExtResource("1")
|
|
|
|
[node name="PlaySound" type="TextureButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 622.105
|
|
offset_top = 183.158
|
|
offset_right = 750.105
|
|
offset_bottom = 311.158
|
|
texture_normal = ExtResource("2")
|
|
texture_pressed = ExtResource("2")
|
|
texture_hover = ExtResource("4")
|
|
|
|
[connection signal="pressed" from="PlaySystem" to="." method="_on_PlaySystem_pressed"]
|
|
[connection signal="pressed" from="PlaySound" to="." method="_on_PlaySound_pressed"]
|