godot_experiments/experiments/station_label.tscn

67 lines
1.7 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://d27g0ew7giua3"]
[ext_resource type="Script" path="res://addons/2d_shapes/shapes/Ellipse.gd" id="1_a73g8"]
[ext_resource type="Script" path="res://experiments/station_label.gd" id="1_ch36d"]
[node name="StationLabel" type="Node2D"]
position = Vector2(64, 88)
script = ExtResource("1_ch36d")
[node name="StationName" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = -24.0
offset_top = -8.0
offset_right = -24.0
offset_bottom = -8.0
rotation = -0.785397
size_flags_horizontal = 8
size_flags_vertical = 8
metadata/_edit_use_anchors_ = true
[node name="Name" type="Label" parent="StationName"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -24.0
offset_top = -11.5
offset_right = 24.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(24, 11.5)
size_flags_horizontal = 4
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "车站名"
metadata/_edit_use_anchors_ = true
[node name="EnName" type="Label" parent="StationName"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -48.0
offset_top = 12.0
offset_right = 44.0
offset_bottom = 35.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(46, 11.5)
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "Exhibition Center"
metadata/_edit_use_anchors_ = true
[node name="Ellipse" type="Node2D" parent="."]
position = Vector2(48, -72)
script = ExtResource("1_a73g8")
size = Vector2(14, 14)
circle = true
style = 2
outline_width = 2
outline_color = Color(1, 0, 0, 1)