From 395c25b1fbe51f42decf402f97e51eabcc8c0a77 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 18 Jun 2023 16:43:22 +0200 Subject: Godot v3 -> v4 --- UI/CharacterSelect.tscn | 162 ++++++++++++++++++++++++------------------------ 1 file changed, 81 insertions(+), 81 deletions(-) (limited to 'UI/CharacterSelect.tscn') diff --git a/UI/CharacterSelect.tscn b/UI/CharacterSelect.tscn index 4493549..79d7970 100644 --- a/UI/CharacterSelect.tscn +++ b/UI/CharacterSelect.tscn @@ -1,15 +1,15 @@ [gd_scene load_steps=11 format=2] -[ext_resource path="res://Assets/Characters/Tux/Front.png" type="Texture" id=1] -[ext_resource path="res://Assets/Characters/Duck/Front.png" type="Texture" id=2] -[ext_resource path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" type="DynamicFontData" id=3] +[ext_resource path="res://Assets/Characters/Tux/Front.png" type="Texture2D" id=1] +[ext_resource path="res://Assets/Characters/Duck/Front.png" type="Texture2D" id=2] +[ext_resource path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" type="FontFile" id=3] [ext_resource path="res://UI/CharacterSelect.gd" type="Script" id=4] -[ext_resource path="res://Assets/Characters/Dove/Front.png" type="Texture" id=5] -[ext_resource path="res://Assets/Characters/Monkey/Front.png" type="Texture" id=6] -[ext_resource path="res://Assets/Characters/Pidgin/Front.png" type="Texture" id=7] -[ext_resource path="res://Assets/Characters/Elephant/Front.png" type="Texture" id=8] +[ext_resource path="res://Assets/Characters/Dove/Front.png" type="Texture2D" id=5] +[ext_resource path="res://Assets/Characters/Monkey/Front.png" type="Texture2D" id=6] +[ext_resource path="res://Assets/Characters/Pidgin/Front.png" type="Texture2D" id=7] +[ext_resource path="res://Assets/Characters/Elephant/Front.png" type="Texture2D" id=8] -[sub_resource type="DynamicFont" id=1] +[sub_resource type="FontFile" id=1] size = 52 font_data = ExtResource( 3 ) @@ -19,157 +19,157 @@ bg_color = Color( 1, 0.984314, 0.647059, 0 ) [node name="CharacterSelect" type="Panel"] anchor_right = 1.0 anchor_bottom = 1.0 -margin_left = 32.0 -margin_top = 24.0 -margin_right = -24.0 -margin_bottom = -16.0 +offset_left = 32.0 +offset_top = 24.0 +offset_right = -24.0 +offset_bottom = -16.0 script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [node name="Title" type="Label" parent="."] -margin_left = 176.0 -margin_top = 40.0 -margin_right = 724.0 -margin_bottom = 94.0 -custom_fonts/font = SubResource( 1 ) +offset_left = 176.0 +offset_top = 40.0 +offset_right = 724.0 +offset_bottom = 94.0 +theme_override_fonts/font = SubResource( 1 ) text = "Choose your Character!" __meta__ = { "_edit_use_anchors_": false } [node name="Wait" type="Label" parent="."] -margin_left = 544.0 -margin_top = 104.0 -margin_right = 741.0 -margin_bottom = 118.0 +offset_left = 544.0 +offset_top = 104.0 +offset_right = 741.0 +offset_bottom = 118.0 text = "Waiting for x players to choose" __meta__ = { "_edit_use_anchors_": false } [node name="TuxPanel" type="Panel" parent="."] -margin_left = 96.0 -margin_top = 168.0 -margin_right = 176.0 -margin_bottom = 248.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 96.0 +offset_top = 168.0 +offset_right = 176.0 +offset_bottom = 248.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Tux" type="TextureRect" parent="TuxPanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="DuckPanel" type="Panel" parent="."] -margin_left = 288.0 -margin_top = 168.0 -margin_right = 368.0 -margin_bottom = 248.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 288.0 +offset_top = 168.0 +offset_right = 368.0 +offset_bottom = 248.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Duck" type="TextureRect" parent="DuckPanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="DovePanel" type="Panel" parent="."] -margin_left = 480.0 -margin_top = 168.0 -margin_right = 560.0 -margin_bottom = 248.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 480.0 +offset_top = 168.0 +offset_right = 560.0 +offset_bottom = 248.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Dove" type="TextureRect" parent="DovePanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="PidginPanel" type="Panel" parent="."] -margin_left = 672.0 -margin_top = 168.0 -margin_right = 752.0 -margin_bottom = 248.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 672.0 +offset_top = 168.0 +offset_right = 752.0 +offset_bottom = 248.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Pidgin" type="TextureRect" parent="PidginPanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 7 ) __meta__ = { "_edit_use_anchors_": false } [node name="MonkeyPanel" type="Panel" parent="."] -margin_left = 96.0 -margin_top = 296.0 -margin_right = 176.0 -margin_bottom = 376.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 96.0 +offset_top = 296.0 +offset_right = 176.0 +offset_bottom = 376.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Monkey" type="TextureRect" parent="MonkeyPanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 6 ) __meta__ = { "_edit_use_anchors_": false } [node name="ElephantPanel" type="Panel" parent="."] -margin_left = 288.0 -margin_top = 296.0 -margin_right = 368.0 -margin_bottom = 376.0 -custom_styles/panel = SubResource( 2 ) +offset_left = 288.0 +offset_top = 296.0 +offset_right = 368.0 +offset_bottom = 376.0 +theme_override_styles/panel = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Elephant" type="TextureRect" parent="ElephantPanel"] -margin_left = 8.0 -margin_top = 8.0 -margin_right = 40.0 -margin_bottom = 40.0 -rect_scale = Vector2( 2, 2 ) +offset_left = 8.0 +offset_top = 8.0 +offset_right = 40.0 +offset_bottom = 40.0 +scale = Vector2( 2, 2 ) texture = ExtResource( 8 ) __meta__ = { "_edit_use_anchors_": false -- cgit v1.2.3