skullball/godot/scenes/ui/player_listing.tscn

56 lines
2.0 KiB
Plaintext

[gd_scene format=3 uid="uid://2sfy0vq0fqt3"]
[ext_resource type="Texture2D" uid="uid://bhrbrc725q0yd" path="res://raw_assets/ping/Ping_low.png" id="1_3pnyb"]
[ext_resource type="Texture2D" uid="uid://7u2jx45bwejo" path="res://raw_assets/ping/Ping_medium.png" id="2_h6por"]
[ext_resource type="Texture2D" uid="uid://c0n5ugd867e2k" path="res://raw_assets/ping/Ping_high.png" id="3_kx1on"]
[ext_resource type="Theme" uid="uid://drydbnrcdv4pk" path="res://default_theme.tres" id="4_kx1on"]
[node name="player_listing" type="PlayerListing" unique_id=965142972 node_paths=PackedStringArray("name_label", "kills_label", "deaths_label", "ping_label", "ping_icon")]
name_label = NodePath("name")
kills_label = NodePath("kills")
deaths_label = NodePath("deaths")
ping_label = NodePath("ping")
ping_low = ExtResource("1_3pnyb")
ping_low_color = Color(0, 0.7983432, 0, 1)
ping_medium = ExtResource("2_h6por")
ping_medium_color = Color(0.7963379, 0.79633814, 0, 1)
ping_high = ExtResource("3_kx1on")
ping_high_color = Color(0.99999994, 0.22953579, 0.17418489, 1)
ping_icon = NodePath("ping_icon")
size_flags_horizontal = 3
theme = ExtResource("4_kx1on")
[node name="name" type="Label" parent="." unique_id=1361759955]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 2
text = "Player Name"
[node name="kills" type="Label" parent="." unique_id=690390687]
custom_minimum_size = Vector2(50, 0)
custom_maximum_size = Vector2(50, -1)
layout_mode = 2
text = "0"
horizontal_alignment = 1
[node name="deaths" type="Label" parent="." unique_id=1615203485]
custom_minimum_size = Vector2(50, 0)
custom_maximum_size = Vector2(50, -1)
layout_mode = 2
text = "0"
horizontal_alignment = 1
[node name="ping" type="Label" parent="." unique_id=1700548535]
custom_minimum_size = Vector2(50, 0)
custom_maximum_size = Vector2(50, -1)
layout_mode = 2
text = "0ms"
horizontal_alignment = 2
clip_text = true
[node name="ping_icon" type="TextureRect" parent="." unique_id=1921112362]
layout_mode = 2
texture = ExtResource("3_kx1on")
expand_mode = 2
stretch_mode = 4