From 7920e8758506cd46c58ea4889c9f4fb704abfd16 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 2 Jan 2021 15:31:54 +0100 Subject: Level Map HUD and game end trigger --- UI/HUD/LevelMapCell.tscn | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 UI/HUD/LevelMapCell.tscn (limited to 'UI/HUD/LevelMapCell.tscn') diff --git a/UI/HUD/LevelMapCell.tscn b/UI/HUD/LevelMapCell.tscn new file mode 100644 index 0000000..d933d4f --- /dev/null +++ b/UI/HUD/LevelMapCell.tscn @@ -0,0 +1,71 @@ +[gd_scene load_steps=7 format=2] + +[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] + +[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="DynamicFont" id=3] +size = 8 +outline_size = 2 +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 2 ) + +[node name="LevelMapCell" type="Panel"] +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 +} + +[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 ) +text = "X" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[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 ) +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 ) +text = "Player" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} -- cgit v1.2.3