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/LevelSelectCell.tscn | 101 ++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 50 deletions(-) (limited to 'UI/LevelSelectCell.tscn') diff --git a/UI/LevelSelectCell.tscn b/UI/LevelSelectCell.tscn index 3660cef..b76111b 100644 --- a/UI/LevelSelectCell.tscn +++ b/UI/LevelSelectCell.tscn @@ -1,70 +1,71 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=6 format=3 uid="uid://btujg2tw5k8on"] -[ext_resource path="res://UI/LevelSelectCell.gd" type="Script" id=1] -[ext_resource path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" type="DynamicFontData" id=2] -[ext_resource path="res://Assets/Fonts/impact-label/Impact_Label_Reversed.ttf" type="DynamicFontData" id=3] +[ext_resource type="Script" path="res://UI/LevelSelectCell.gd" id="1"] +[ext_resource type="FontFile" uid="uid://qbiaulowpomb" path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" id="2"] +[ext_resource type="FontFile" uid="uid://c8r0x3spdh8sg" path="res://Assets/Fonts/impact-label/Impact_Label_Reversed.ttf" id="2_fcaqg"] -[sub_resource type="StyleBoxFlat" id=1] -bg_color = Color( 0.133333, 0.372549, 0.188235, 1 ) +[sub_resource type="StyleBoxFlat" id="1"] +bg_color = Color(0.133333, 0.372549, 0.188235, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -[sub_resource type="DynamicFont" id=2] -size = 120 -font_data = ExtResource( 3 ) - -[sub_resource type="DynamicFont" id=3] -size = 20 -outline_size = 2 -outline_color = Color( 0, 0, 0, 1 ) -font_data = ExtResource( 2 ) +[sub_resource type="FontFile" id="3"] +fallbacks = Array[Font]([ExtResource("2")]) +face_index = null +embolden = null +transform = null +cache/0/16/0/ascent = 0.0 +cache/0/16/0/descent = 0.0 +cache/0/16/0/underline_position = 0.0 +cache/0/16/0/underline_thickness = 0.0 +cache/0/16/0/scale = 1.0 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/72/0 = Vector2(0, 0) +cache/0/72/0/ascent = 0.0 +cache/0/72/0/descent = 0.0 +cache/0/72/0/underline_position = 0.0 +cache/0/72/0/underline_thickness = 0.0 +cache/0/72/0/scale = 1.0 +cache/0/72/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/72/0/kerning_overrides/72/0 = Vector2(0, 0) [node name="LevelSelectCell" type="Panel"] +anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -margin_right = -683.0 -margin_bottom = -400.0 -hint_tooltip = "Select Level" -custom_styles/panel = SubResource( 1 ) -script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} +offset_right = -683.0 +offset_bottom = -400.0 +tooltip_text = "Select Level" +theme_override_styles/panel = SubResource("1") +script = ExtResource("1") [node name="ClearMark" type="Label" parent="."] -margin_top = 1.0 -margin_right = 341.0 -margin_bottom = 201.0 -custom_fonts/font = SubResource( 2 ) +layout_mode = 0 +offset_left = 233.0 +offset_top = 103.0 +offset_right = 243.0 +offset_bottom = 129.0 +theme_override_fonts/font = ExtResource("2_fcaqg") text = "X" -align = 1 -valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} +horizontal_alignment = 1 +vertical_alignment = 1 [node name="Time" type="Label" parent="."] -margin_left = 7.0 -margin_top = 3.0 -margin_right = 54.0 -margin_bottom = 24.0 -custom_fonts/font = SubResource( 3 ) +layout_mode = 0 +offset_left = 7.0 +offset_top = 3.0 +offset_right = 54.0 +offset_bottom = 24.0 +theme_override_fonts/font = SubResource("3") text = "0.00s" -valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Name" type="Label" parent="."] -margin_left = 8.0 -margin_top = 176.0 -margin_right = 66.0 -margin_bottom = 197.0 -custom_fonts/font = SubResource( 3 ) +layout_mode = 0 +offset_left = 5.0 +offset_top = 221.0 +offset_right = 63.0 +offset_bottom = 242.0 +theme_override_fonts/font = SubResource("3") text = "Player" -valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} -- cgit v1.2.3