mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 23:10:08 +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/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]
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ window/stretch/aspect="expand"
|
||||
|
||||
[gdnative]
|
||||
|
||||
singletons=[ ]
|
||||
singletons=[]
|
||||
|
||||
[memory]
|
||||
|
||||
@@ -34,4 +34,4 @@ multithread/thread_rid_pool_prealloc=60
|
||||
quality/driver/driver_name="GLES2"
|
||||
vram_compression/import_etc=true
|
||||
vram_compression/import_etc2=false
|
||||
environment/default_clear_color=Color( 0.145098, 0.145098, 0.164706, 1 )
|
||||
environment/default_clear_color=Color(0.145098, 0.145098, 0.164706, 1)
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://rich_text_bbcode.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Titillium-BoldItalic.otf" type="DynamicFontData" id=2]
|
||||
[ext_resource path="res://Titillium-RegularItalic.otf" type="DynamicFontData" id=3]
|
||||
[ext_resource path="res://Titillium-Bold.otf" type="DynamicFontData" id=4]
|
||||
[ext_resource path="res://Titillium-Regular.otf" type="DynamicFontData" id=5]
|
||||
[ext_resource path="res://Titillium-BoldItalic.otf" type="FontData" id=2]
|
||||
[ext_resource path="res://Titillium-RegularItalic.otf" type="FontData" id=3]
|
||||
[ext_resource path="res://Titillium-Bold.otf" type="FontData" id=4]
|
||||
[ext_resource path="res://Titillium-Regular.otf" type="FontData" id=5]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
[sub_resource type="Font" id=1]
|
||||
size = 20
|
||||
font_data = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
[sub_resource type="Font" id=2]
|
||||
size = 20
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
[sub_resource type="Font" id=3]
|
||||
size = 20
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
[sub_resource type="Font" id=4]
|
||||
size = 20
|
||||
font_data = ExtResource( 5 )
|
||||
|
||||
@@ -27,10 +27,10 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -512.0
|
||||
margin_top = -300.0
|
||||
margin_right = 512.0
|
||||
margin_bottom = 300.0
|
||||
offset_left = -512.0
|
||||
offset_top = -300.0
|
||||
offset_right = 512.0
|
||||
offset_bottom = 300.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
script = ExtResource( 1 )
|
||||
@@ -38,10 +38,10 @@ script = ExtResource( 1 )
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 49.0
|
||||
margin_top = 55.0
|
||||
margin_right = -48.0
|
||||
margin_bottom = -62.0
|
||||
offset_left = 49.0
|
||||
offset_top = 55.0
|
||||
offset_right = -48.0
|
||||
offset_bottom = -62.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
custom_fonts/bold_italics_font = SubResource( 1 )
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/unicorn_icon.png-7e6ed0493ce9bae1105057e782fcd0de.stex"
|
||||
type="StreamTexture2D"
|
||||
path="res://.godot/imported/unicorn_icon.png-7e6ed0493ce9bae1105057e782fcd0de.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@ metadata={
|
||||
[deps]
|
||||
|
||||
source_file="res://unicorn_icon.png"
|
||||
dest_files=[ "res://.import/unicorn_icon.png-7e6ed0493ce9bae1105057e782fcd0de.stex" ]
|
||||
dest_files=["res://.godot/imported/unicorn_icon.png-7e6ed0493ce9bae1105057e782fcd0de.stex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user