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/HUD/LevelMapCell.tscn | 182 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 132 insertions(+), 50 deletions(-) (limited to 'UI/HUD/LevelMapCell.tscn') diff --git a/UI/HUD/LevelMapCell.tscn b/UI/HUD/LevelMapCell.tscn index d933d4f..ac981b9 100644 --- a/UI/HUD/LevelMapCell.tscn +++ b/UI/HUD/LevelMapCell.tscn @@ -1,71 +1,153 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=7 format=3 uid="uid://dqwexsei86sdd"] -[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/HUD/LevelMapCell.gd" id="1_j6u6l"] +[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="3"] -[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 = 32 -font_data = ExtResource( 3 ) +[sub_resource type="FontFile" id="2"] +fallbacks = Array[Font]([ExtResource("3")]) +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) -[sub_resource type="DynamicFont" id=3] -size = 8 -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/2/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/2/0/ascent = 0.0 +cache/0/2/0/descent = 0.0 +cache/0/2/0/underline_position = 0.0 +cache/0/2/0/underline_thickness = 0.0 +cache/0/2/0/scale = 1.0 +cache/0/2/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/2/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/24/0/ascent = 0.0 +cache/0/24/0/descent = 0.0 +cache/0/24/0/underline_position = 0.0 +cache/0/24/0/underline_thickness = 0.0 +cache/0/24/0/scale = 1.0 +cache/0/24/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/24/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/12/0/ascent = 0.0 +cache/0/12/0/descent = 0.0 +cache/0/12/0/underline_position = 0.0 +cache/0/12/0/underline_thickness = 0.0 +cache/0/12/0/scale = 1.0 +cache/0/12/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/12/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/10/0/ascent = 0.0 +cache/0/10/0/descent = 0.0 +cache/0/10/0/underline_position = 0.0 +cache/0/10/0/underline_thickness = 0.0 +cache/0/10/0/scale = 1.0 +cache/0/10/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/10/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/8/0/ascent = 0.0 +cache/0/8/0/descent = 0.0 +cache/0/8/0/underline_position = 0.0 +cache/0/8/0/underline_thickness = 0.0 +cache/0/8/0/scale = 1.0 +cache/0/8/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/8/0/kerning_overrides/1/0 = Vector2(0, 0) +cache/0/1/0/ascent = 0.0 +cache/0/1/0/descent = 0.0 +cache/0/1/0/underline_position = 0.0 +cache/0/1/0/underline_thickness = 0.0 +cache/0/1/0/scale = 1.0 +cache/0/1/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/2/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/24/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/12/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/10/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/8/0 = Vector2(0, 0) +cache/0/1/0/kerning_overrides/1/0 = Vector2(0, 0) [node name="LevelMapCell" type="Panel"] +anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -margin_right = -974.0 -margin_bottom = -550.0 -hint_tooltip = "Select Level" -custom_styles/panel = SubResource( 1 ) -script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} +offset_right = -974.0 +offset_bottom = -550.0 +tooltip_text = "Select Level" +theme_override_styles/panel = SubResource("1") +script = ExtResource("1_j6u6l") [node name="ClearMark" type="Label" parent="."] -margin_left = 1.0 -margin_top = 1.0 -margin_right = 50.0 -margin_bottom = 50.0 -custom_fonts/font = SubResource( 2 ) +layout_mode = 0 +offset_left = 86.0 +offset_top = 37.0 +offset_right = 96.0 +offset_bottom = 56.0 +theme_override_fonts/font = SubResource("2") 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 = 3.72449 -margin_top = 2.01899 -margin_right = 32.7245 -margin_bottom = 15.019 -custom_fonts/font = SubResource( 3 ) +layout_mode = 0 +offset_right = 28.0 +offset_bottom = 16.0 +theme_override_fonts/font = SubResource("3") +theme_override_font_sizes/font_size = 12 text = "0.00s" -valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Name" type="Label" parent="."] -margin_left = 3.95238 -margin_top = 31.297 -margin_right = 61.9524 -margin_bottom = 52.297 -custom_fonts/font = SubResource( 3 ) +layout_mode = 0 +offset_left = 1.0 +offset_top = 85.0 +offset_right = 25.0 +offset_bottom = 97.0 +theme_override_fonts/font = SubResource("3") +theme_override_font_sizes/font_size = 8 text = "Player" -valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} -- cgit v1.2.3