feat(godot4): project automatic upgrade from godot 3 to 4

This commit is contained in:
2025-01-19 01:05:35 +01:00
parent c6e768f18e
commit f34f96e87f
98 changed files with 844 additions and 1784 deletions

View File

@@ -1,4 +1,4 @@
extends AnimatedSprite
extends AnimatedSprite2D
# Declare member variables here. Examples:

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=26 format=2]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-donkey-sheet.png" type="Texture" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-disco-sheet.png" type="Texture" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-pulp-sheet.png" type="Texture" id=4]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-idle.png" type="Texture" id=5]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-donkey-sheet.png" type="Texture2D" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-disco-sheet.png" type="Texture2D" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-pulp-sheet.png" type="Texture2D" id=4]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-idle.png" type="Texture2D" id=5]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/DancingAnimator.gd" type="Script" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-speak-sheet.png" type="Texture" id=8]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-speak-sheet.png" type="Texture2D" id=8]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/EnekoDancingAnimations.tres" type="Resource" id=9]
[sub_resource type="CapsuleShape2D" id=1]
@@ -117,7 +117,7 @@ animations = [ {
} ]
[node name="EnekoDancing" type="Area2D"]
pause_mode = 1
process_mode = 1
script = ExtResource( 1 )
global_id = "eneko_dancing"
is_interactive = false
@@ -129,15 +129,15 @@ animations = ExtResource( 9 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource( 14 )
animation = "idle"
script = ExtResource( 7 )
[node name="Timer" type="Timer" parent="AnimatedSprite"]
[node name="Timer" type="Timer" parent="AnimatedSprite2D"]
wait_time = 6.0
[node name="dialog_position" type="Position2D" parent="."]
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( -2, -273 )
[connection signal="timeout" from="AnimatedSprite/Timer" to="AnimatedSprite" method="_on_Timer_timeout"]
[connection signal="timeout" from="AnimatedSprite2D/Timer" to="AnimatedSprite2D" method="_on_Timer_timeout"]

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=26 format=2]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-donkey-sheet.png" type="Texture" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-idle.png" type="Texture" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-pulp-sheet.png" type="Texture" id=4]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-disco-sheet.png" type="Texture" id=5]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-donkey-sheet.png" type="Texture2D" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-idle.png" type="Texture2D" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-pulp-sheet.png" type="Texture2D" id=4]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-disco-sheet.png" type="Texture2D" id=5]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/DancingAnimator.gd" type="Script" id=6]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-speak-sheet.png" type="Texture" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-speak-sheet.png" type="Texture2D" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/OierDancingAnimations.tres" type="Resource" id=8]
[sub_resource type="CapsuleShape2D" id=1]
@@ -117,7 +117,7 @@ animations = [ {
} ]
[node name="OierDancing" type="Area2D"]
pause_mode = 1
process_mode = 1
script = ExtResource( 1 )
global_id = "oier_dancing"
is_interactive = false
@@ -129,15 +129,15 @@ animations = ExtResource( 8 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource( 14 )
animation = "idle"
script = ExtResource( 6 )
[node name="Timer" type="Timer" parent="AnimatedSprite"]
[node name="Timer" type="Timer" parent="AnimatedSprite2D"]
wait_time = 6.0
[node name="dialog_position" type="Position2D" parent="."]
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( -2, -273 )
[connection signal="timeout" from="AnimatedSprite/Timer" to="AnimatedSprite" method="_on_Timer_timeout"]
[connection signal="timeout" from="AnimatedSprite2D/Timer" to="AnimatedSprite2D" method="_on_Timer_timeout"]

View File

@@ -2,10 +2,10 @@
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/background.png" type="Texture" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/background.png" type="Texture2D" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/scrollingText.tscn" type="PackedScene" id=4]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/EnekoDancing.tscn" type="PackedScene" id=5]
[ext_resource path="res://gymkhana/logo-small.png" type="Texture" id=6]
[ext_resource path="res://gymkhana/logo-small.png" type="Texture2D" id=6]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/SceneHandler.gd" type="Script" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/RestartGameButton.gd" type="Script" id=8]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/OierDancing.tscn" type="PackedScene" id=9]
@@ -18,26 +18,26 @@ player_scene = ExtResource( 2 )
camera_limits = [ Rect2( 0, 0, 1280, 577 ) ]
editor_debug_mode = 1
[node name="background" type="Sprite" parent="."]
[node name="background" type="Sprite2D" parent="."]
position = Vector2( 644.5, 372.812 )
scale = Vector2( 1.01797, 1.29008 )
texture = ExtResource( 3 )
[node name="scrollingText" parent="." instance=ExtResource( 4 )]
margin_left = 368.0
margin_top = 764.0
margin_right = 933.0
margin_bottom = 1201.0
offset_left = 368.0
offset_top = 764.0
offset_right = 933.0
offset_bottom = 1201.0
[node name="Button" type="Button" parent="."]
margin_left = 495.0
margin_top = 486.0
margin_right = 845.0
margin_bottom = 612.0
offset_left = 495.0
offset_top = 486.0
offset_right = 845.0
offset_bottom = 612.0
text = "Volver al menú"
script = ExtResource( 8 )
[node name="Logo-small" type="Sprite" parent="Button"]
[node name="Logo-small" type="Sprite2D" parent="Button"]
position = Vector2( 176.25, -190.5 )
scale = Vector2( 1.01504, 1.00333 )
texture = ExtResource( 6 )

View File

@@ -1,42 +1,42 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/uliwood-productions.png" type="Texture" id=1]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/uliwood-productions.png" type="Texture2D" id=1]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/scrollingText.gd" type="Script" id=2]
[sub_resource type="Theme" id=1]
[node name="scrollingText" type="VBoxContainer"]
margin_left = 357.0
margin_right = 922.0
margin_bottom = 744.0
offset_left = 357.0
offset_right = 922.0
offset_bottom = 744.0
grow_horizontal = 0
script = ExtResource( 2 )
[node name="RichTextLabel" type="RichTextLabel" parent="."]
margin_right = 600.0
margin_bottom = 30.0
offset_right = 600.0
offset_bottom = 30.0
theme = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "[center][u]Las Gymkhanicas de Uli[/u][/center]
text = "[center][u]Las Gymkhanicas de Uli[/u][/center]
"
text = "Las Gymkhanicas de Uli
"
fit_content_height = true
[node name="LabelContainer" type="HBoxContainer" parent="."]
margin_top = 34.0
margin_right = 600.0
margin_bottom = 507.0
offset_top = 34.0
offset_right = 600.0
offset_bottom = 507.0
[node name="margin" type="MarginContainer" parent="LabelContainer"]
margin_right = 288.0
margin_bottom = 405.0
offset_right = 288.0
offset_bottom = 405.0
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="Titles" type="Label" parent="LabelContainer/margin"]
margin_right = 288.0
margin_bottom = 405.0
offset_right = 288.0
offset_bottom = 405.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Creado por
@@ -67,22 +67,22 @@ align = 2
uppercase = true
[node name="spacer" type="Label" parent="LabelContainer"]
margin_left = 292.0
margin_top = 229.0
margin_right = 308.0
margin_bottom = 243.0
offset_left = 292.0
offset_top = 229.0
offset_right = 308.0
offset_bottom = 243.0
text = " "
[node name="margin2" type="MarginContainer" parent="LabelContainer"]
margin_left = 312.0
margin_right = 600.0
margin_bottom = 473.0
offset_left = 312.0
offset_right = 600.0
offset_bottom = 473.0
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="Names" type="Label" parent="LabelContainer/margin2"]
margin_right = 288.0
margin_bottom = 473.0
offset_right = 288.0
offset_bottom = 473.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Eneko
@@ -115,7 +115,7 @@ A la comunidad detrás de Godot y Escoria
por hacer posible este juego"
[node name="TextureRect" type="TextureRect" parent="."]
margin_top = 511.0
margin_right = 600.0
margin_bottom = 806.0
offset_top = 511.0
offset_right = 600.0
offset_bottom = 806.0
texture = ExtResource( 1 )