Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / bar / InteractiveTipBar.tscn
@小李xl 小李xl on 3 Nov 2022 1 KB 像素化后解决ui问题
[gd_scene load_steps=7 format=2]

[ext_resource path="res://src/game/ui/InteractiveTipBar.cs" type="Script" id=1]
[ext_resource path="res://resource/sprite/ui/keyboard/e.png" type="Texture" id=2]
[ext_resource path="res://resource/sprite/ui/icon/icon_bullet.png" type="Texture" id=3]
[ext_resource path="res://resource/sprite/ui/font_bg.png" type="Texture" id=4]
[ext_resource path="res://resource/font/cn_font_12.tres" type="DynamicFont" id=5]

[sub_resource type="Gradient" id=1]
colors = PoolColorArray( 0.4, 0.498039, 1, 1, 0.4, 0.498039, 1, 0.313726 )

[node name="InteractiveTipBar" type="Node2D"]
z_index = 10
script = ExtResource( 1 )

[node name="Bg" type="Sprite" parent="."]
position = Vector2( 39, -68 )
scale = Vector2( 78, 22 )
texture = ExtResource( 4 )

[node name="Icon" type="Sprite" parent="."]
position = Vector2( 1, -120 )
scale = Vector2( 4, 4 )
texture = ExtResource( 3 )

[node name="Message" type="Label" parent="."]
margin_left = -25.0
margin_top = -90.0
margin_right = 25.0
margin_bottom = -68.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 5 )
text = "111111"
align = 1
valign = 1

[node name="InteractiveIcon" type="Sprite" parent="."]
visible = false
position = Vector2( 0, -30 )
scale = Vector2( 4, 4 )
texture = ExtResource( 2 )

[node name="Line2D" type="Line2D" parent="."]
scale = Vector2( 4, 4 )
points = PoolVector2Array( 0, -17, 0, 0 )
width = 1.0
gradient = SubResource( 1 )