mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +01:00
Update demos for Godot 4.4
- Resave all files with Godot 4.4 to make use of script/shader UIDs. - Use AgX tonemapping in all demos that used a tonemapper other than Linear.
This commit is contained in:
1
loading/autoload/global.gd.uid
Normal file
1
loading/autoload/global.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ckpav307n5x6t
|
||||
@@ -14,7 +14,7 @@ config/name="Autoload (Singletons)"
|
||||
config/description="This demo shows how to use autoloads to change between scenes."
|
||||
config/tags=PackedStringArray("best_practices", "demo", "official")
|
||||
run/main_scene="res://scene_a.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
run/low_processor_mode=true
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
|
||||
1
loading/autoload/scene_a.gd.uid
Normal file
1
loading/autoload/scene_a.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://q7akmme21y0k
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://6xgdg1bmya7c"]
|
||||
|
||||
[ext_resource type="Script" path="res://scene_a.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://q7akmme21y0k" path="res://scene_a.gd" id="1"]
|
||||
|
||||
[node name="SceneA" type="Panel"]
|
||||
anchors_preset = 15
|
||||
|
||||
1
loading/autoload/scene_b.gd.uid
Normal file
1
loading/autoload/scene_b.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://b1mph1gwcg8l8
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cmu1caqo7k7wy"]
|
||||
|
||||
[ext_resource type="Script" path="res://scene_b.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://b1mph1gwcg8l8" path="res://scene_b.gd" id="1"]
|
||||
|
||||
[node name="SceneB" type="Panel"]
|
||||
anchors_preset = 15
|
||||
|
||||
1
loading/load_threaded/load_threaded.gd.uid
Normal file
1
loading/load_threaded/load_threaded.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bi2wuwmxb7hqd
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://gc6pbdkdi7xt"]
|
||||
|
||||
[ext_resource type="Script" path="res://load_threaded.gd" id="1_5o27a"]
|
||||
[ext_resource type="Script" uid="uid://bi2wuwmxb7hqd" path="res://load_threaded.gd" id="1_5o27a"]
|
||||
|
||||
[node name="LoadThreaded" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
|
||||
@@ -14,7 +14,7 @@ config/name="Threaded Loading"
|
||||
config/description="This demo demonstrates how to use ResourceLoader for background loading."
|
||||
config/tags=PackedStringArray("best_practices", "demo", "official", "performance")
|
||||
run/main_scene="res://load_threaded.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
run/low_processor_mode=true
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ run-time such as user-generated content, without requiring users to generate a
|
||||
PCK file through Godot."
|
||||
config/tags=PackedStringArray("demo", "filesystem", "official")
|
||||
run/main_scene="res://runtime_save_load.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
run/low_processor_mode=true
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
|
||||
1
loading/runtime_save_load/runtime_save_load.gd.uid
Normal file
1
loading/runtime_save_load/runtime_save_load.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dsuhasj84j4ri
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ca0d8q5aicxfr"]
|
||||
|
||||
[ext_resource type="Script" path="res://runtime_save_load.gd" id="1_2gu2h"]
|
||||
[ext_resource type="Script" uid="uid://dsuhasj84j4ri" path="res://runtime_save_load.gd" id="1_2gu2h"]
|
||||
|
||||
[node name="RuntimeLoadSave" type="Control"]
|
||||
layout_mode = 3
|
||||
|
||||
@@ -14,7 +14,7 @@ config/name="Scene Changer"
|
||||
config/description="This uses functions in SceneTree to switch between two scenes."
|
||||
config/tags=PackedStringArray("demo", "official")
|
||||
run/main_scene="res://scene_a.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
run/low_processor_mode=true
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
|
||||
1
loading/scene_changer/scene_a.gd.uid
Normal file
1
loading/scene_changer/scene_a.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bgbatdeargkvp
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dnveeke63vq8x"]
|
||||
|
||||
[ext_resource type="Script" path="res://scene_a.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://bgbatdeargkvp" path="res://scene_a.gd" id="1"]
|
||||
|
||||
[node name="SceneA" type="Panel"]
|
||||
anchors_preset = 15
|
||||
|
||||
1
loading/scene_changer/scene_b.gd.uid
Normal file
1
loading/scene_changer/scene_b.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://r2k3l8t7gk2m
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c71ureg6hk2u1"]
|
||||
|
||||
[ext_resource type="Script" path="res://scene_b.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://r2k3l8t7gk2m" path="res://scene_b.gd" id="1"]
|
||||
|
||||
[node name="SceneB" type="Panel"]
|
||||
anchors_preset = 15
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
[gd_resource type="Environment" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="Sky" id=1]
|
||||
|
||||
[resource]
|
||||
background_mode = 2
|
||||
background_sky = SubResource( 1 )
|
||||
1
loading/serialization/enemy.gd.uid
Normal file
1
loading/serialization/enemy.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dr7lme16ugvqt
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b166gomfp2kwq"]
|
||||
|
||||
[ext_resource type="Script" path="res://enemy.gd" id="1"]
|
||||
[ext_resource type="Texture2D" path="res://enemy_crab.png" id="2_7p8lv"]
|
||||
[ext_resource type="Script" uid="uid://dr7lme16ugvqt" path="res://enemy.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://btwwc5scaqp55" path="res://enemy_crab.png" id="2_7p8lv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="2"]
|
||||
size = Vector2(76, 76)
|
||||
|
||||
1
loading/serialization/gui.gd.uid
Normal file
1
loading/serialization/gui.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dq5aa2ilo5725
|
||||
1
loading/serialization/player.gd.uid
Normal file
1
loading/serialization/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bfynknbvp647c
|
||||
@@ -18,7 +18,7 @@ For more information, see this documentation article:
|
||||
https://docs.godotengine.org/en/latest/tutorials/io/saving_games.html"
|
||||
config/tags=PackedStringArray("demo", "filesystem", "official")
|
||||
run/main_scene="res://save_load.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[debug]
|
||||
@@ -33,36 +33,36 @@ window/stretch/mode="canvas_items"
|
||||
|
||||
move_up={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194446,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194446,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_down={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194440,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194440,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_left={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194442,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194442,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194444,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194444,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://w7nl5fe4vheb"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://enemy.tscn" id="1"]
|
||||
[ext_resource type="Script" path="res://gui.gd" id="2"]
|
||||
[ext_resource type="PackedScene" uid="uid://b166gomfp2kwq" path="res://enemy.tscn" id="1"]
|
||||
[ext_resource type="Script" uid="uid://dq5aa2ilo5725" path="res://gui.gd" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpm1oolm8wr02" path="res://sea_turtle.png" id="2_g2wd8"]
|
||||
[ext_resource type="Script" path="res://save_load_json.gd" id="3"]
|
||||
[ext_resource type="Script" path="res://save_load_config_file.gd" id="4"]
|
||||
[ext_resource type="Script" path="res://player.gd" id="6"]
|
||||
[ext_resource type="Script" uid="uid://dftj1bvu5ppwa" path="res://save_load_json.gd" id="3"]
|
||||
[ext_resource type="Script" uid="uid://cmb05q2q85h1c" path="res://save_load_config_file.gd" id="4"]
|
||||
[ext_resource type="Script" uid="uid://bfynknbvp647c" path="res://player.gd" id="6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="1"]
|
||||
size = Vector2(64, 64)
|
||||
|
||||
1
loading/serialization/save_load_config_file.gd.uid
Normal file
1
loading/serialization/save_load_config_file.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cmb05q2q85h1c
|
||||
1
loading/serialization/save_load_json.gd.uid
Normal file
1
loading/serialization/save_load_json.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dftj1bvu5ppwa
|
||||
@@ -14,7 +14,7 @@ config/name="Loading in a Thread"
|
||||
config/description="An example using a thread to load an image."
|
||||
config/tags=PackedStringArray("best_practices", "demo", "official", "performance")
|
||||
run/main_scene="res://thread.tscn"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/features=PackedStringArray("4.4")
|
||||
run/low_processor_mode=true
|
||||
config/icon="res://icon.webp"
|
||||
run/stretch/aspect="expand"
|
||||
|
||||
1
loading/threads/thread.gd.uid
Normal file
1
loading/threads/thread.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://chmblcpy328ih
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://df1dmjx4ny0gd"]
|
||||
|
||||
[ext_resource type="Script" path="res://thread.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://chmblcpy328ih" path="res://thread.gd" id="1"]
|
||||
|
||||
[node name="Thread" type="Control"]
|
||||
layout_mode = 3
|
||||
|
||||
Reference in New Issue
Block a user