godot-demo-projects/3d/waypoints/waypoint.tscn

42 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://waypoint.gd" type="Script" id=1]
[ext_resource path="res://waypoint.svg" type="Texture" id=2]
[ext_resource path="res://noto_sans_regular.ttf" type="DynamicFontData" id=3]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 3 )
[node name="Waypoint" type="Control"]
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = -200.0
margin_top = -40.0
margin_right = 200.0
margin_bottom = -17.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 0.501961 )
custom_constants/shadow_offset_x = 1
custom_constants/shadow_offset_y = 1
text = "Waypoint"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Marker" type="TextureRect" parent="."]
margin_left = -8.0
margin_top = -16.0
margin_right = 120.0
margin_bottom = 112.0
rect_scale = Vector2( 0.125, 0.125 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": "An high-resolution texture is used and scaled down so the demo looks good at higher resolutions."
}