mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
Convert demos to Godot 4 using regular expressions in a script
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.stex"
|
||||
type="StreamTexture2D"
|
||||
path="res://.godot/imported/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://burano.png"
|
||||
dest_files=[ "res://.import/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.stex" ]
|
||||
dest_files=["res://.godot/imported/burano.png-893cff79ccbe972d7b1ad3e1845f81bf.stex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
type="StreamTexture2D"
|
||||
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://burano.png" type="Texture" id=1]
|
||||
[ext_resource path="res://splat.png" type="Texture" id=2]
|
||||
[ext_resource path="res://burano.png" type="Texture2D" id=1]
|
||||
[ext_resource path="res://splat.png" type="Texture2D" id=2]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=1]
|
||||
light_mode = 2
|
||||
@@ -16,10 +16,10 @@ tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3 ),
|
||||
"transitions": PoolRealArray( -2, -2, -2, -2 ),
|
||||
"times": PackedFloat32Array(0, 1, 2, 3),
|
||||
"transitions": PackedFloat32Array(-2, -2, -2, -2),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 601.028, 242.639 ), Vector2( 318.649, 327.353 ), Vector2( 381.263, 130.915 ), Vector2( 462.294, 389.968 ) ]
|
||||
"values": [Vector2(601.028, 242.639), Vector2(318.649, 327.353), Vector2(381.263, 130.915), Vector2(462.294, 389.968)]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("Light2:position")
|
||||
@@ -28,10 +28,10 @@ tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3 ),
|
||||
"transitions": PoolRealArray( -2, -2, -2, -2 ),
|
||||
"times": PackedFloat32Array(0, 1, 2, 3),
|
||||
"transitions": PackedFloat32Array(-2, -2, -2, -2),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 196.528, 185.139 ), Vector2( 135.142, 454.013 ), Vector2( 638.105, 334.923 ), Vector2( 331.375, 101.653 ) ]
|
||||
"values": [Vector2(196.528, 185.139), Vector2(135.142, 454.013), Vector2(638.105, 334.923), Vector2(331.375, 101.653)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/path = NodePath("Light3:position")
|
||||
@@ -40,10 +40,10 @@ tracks/2/loop_wrap = true
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/keys = {
|
||||
"times": PoolRealArray( 0, 1, 2, 3 ),
|
||||
"transitions": PoolRealArray( -2, -2, -2, -2 ),
|
||||
"times": PackedFloat32Array(0, 1, 2, 3),
|
||||
"transitions": PackedFloat32Array(-2, -2, -2, -2),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 442.528, 411.139 ), Vector2( 635.283, 236.8 ), Vector2( 216.215, 396.815 ), Vector2( 682.96, 294.708 ) ]
|
||||
"values": [Vector2(442.528, 411.139), Vector2(635.283, 236.8), Vector2(216.215, 396.815), Vector2(682.96, 294.708)]
|
||||
}
|
||||
|
||||
[node name="Lightmask" type="Control"]
|
||||
@@ -57,24 +57,24 @@ __meta__ = {
|
||||
|
||||
[node name="Burano" type="TextureRect" parent="."]
|
||||
material = SubResource( 1 )
|
||||
margin_right = 800.0
|
||||
margin_bottom = 600.0
|
||||
offset_right = 800.0
|
||||
offset_bottom = 600.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Light1" type="Light2D" parent="."]
|
||||
position = Vector2( 601.028, 242.639 )
|
||||
[node name="Light1" type="PointLight2D" parent="."]
|
||||
position = Vector2(601.028, 242.639)
|
||||
texture = ExtResource( 2 )
|
||||
mode = 2
|
||||
|
||||
[node name="Light2" type="Light2D" parent="."]
|
||||
position = Vector2( 196.528, 185.139 )
|
||||
[node name="Light2" type="PointLight2D" parent="."]
|
||||
position = Vector2(196.528, 185.139)
|
||||
texture = ExtResource( 2 )
|
||||
mode = 2
|
||||
|
||||
[node name="Light3" type="Light2D" parent="."]
|
||||
position = Vector2( 442.528, 411.139 )
|
||||
[node name="Light3" type="PointLight2D" parent="."]
|
||||
position = Vector2(442.528, 411.139)
|
||||
texture = ExtResource( 2 )
|
||||
mode = 2
|
||||
|
||||
@@ -83,5 +83,5 @@ autoplay = "maskmotion"
|
||||
anims/maskmotion = SubResource( 2 )
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
offset = Vector2( 512, 300 )
|
||||
offset = Vector2(512, 300)
|
||||
current = true
|
||||
|
||||
@@ -23,7 +23,7 @@ window/stretch/aspect="expand"
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[ ]
|
||||
singletons=[]
|
||||
|
||||
[rasterizer]
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/splat.png-a41a35966004eec2e8a20d517d1ec4bb.stex"
|
||||
type="StreamTexture2D"
|
||||
path="res://.godot/imported/splat.png-a41a35966004eec2e8a20d517d1ec4bb.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://splat.png"
|
||||
dest_files=[ "res://.import/splat.png-a41a35966004eec2e8a20d517d1ec4bb.stex" ]
|
||||
dest_files=["res://.godot/imported/splat.png-a41a35966004eec2e8a20d517d1ec4bb.stex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user