Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / bar / InteractiveTipBar.tscn
@小李xl 小李xl on 24 Aug 2022 1 KB 架构调整
  1. [gd_scene load_steps=7 format=2]
  2.  
  3. [ext_resource path="res://src/game/ui/InteractiveTipBar.cs" type="Script" id=1]
  4. [ext_resource path="res://resource/sprite/ui/keyboard/e.png" type="Texture" id=2]
  5. [ext_resource path="res://resource/sprite/ui/icon/icon_bullet.png" type="Texture" id=3]
  6. [ext_resource path="res://resource/sprite/ui/font_bg.png" type="Texture" id=4]
  7. [ext_resource path="res://resource/font/cn_font_4.tres" type="DynamicFont" id=5]
  8.  
  9.  
  10. [sub_resource type="Gradient" id=1]
  11. colors = PoolColorArray( 0.4, 0.498039, 1, 1, 0.4, 0.498039, 1, 0.313726 )
  12.  
  13. [node name="InteractiveTipBar" type="Node2D"]
  14. visible = false
  15. z_index = 10
  16. script = ExtResource( 1 )
  17.  
  18. [node name="Bg" type="Sprite" parent="."]
  19. position = Vector2( 14, -17 )
  20. scale = Vector2( 28, 7 )
  21. texture = ExtResource( 4 )
  22.  
  23. [node name="Icon" type="Sprite" parent="."]
  24. position = Vector2( 0, -32 )
  25. texture = ExtResource( 3 )
  26.  
  27. [node name="Message" type="Label" parent="."]
  28. margin_left = -18.0
  29. margin_top = -27.0
  30. margin_right = 18.0
  31. margin_bottom = -15.0
  32. custom_colors/font_color = Color( 0, 0, 0, 1 )
  33. custom_fonts/font = ExtResource( 5 )
  34. text = "111111"
  35. align = 1
  36. valign = 1
  37.  
  38. [node name="InteractiveIcon" type="Sprite" parent="."]
  39. visible = false
  40. position = Vector2( 0, -30 )
  41. texture = ExtResource( 2 )
  42.  
  43. [node name="Line2D" type="Line2D" parent="."]
  44. points = PoolVector2Array( 0, -17, 0, 0 )
  45. width = 1.0
  46. gradient = SubResource( 1 )