You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
|
2 years ago
|
[gd_scene load_steps=4 format=3 uid="uid://chi3x0mugaiu4"]
|
||
|
|
|
||
|
2 years ago
|
[ext_resource type="Script" path="res://script/ui/hud/weapon_item_sub.gd" id="1_si20m"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://7138jsp4yabf" path="res://resource/ui/hud/weapon_slot.png" id="2_cxs45"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://ksw3dvkdv6ud" path="res://resource/ui/icon/long.png" id="3_i0fx0"]
|
||
|
2 years ago
|
|
||
|
|
[node name="Weapon" type="Control"]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -80.0
|
||
|
|
offset_top = -16.0
|
||
|
|
offset_right = -48.0
|
||
|
|
offset_bottom = 16.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
pivot_offset = Vector2(16, 16)
|
||
|
2 years ago
|
script = ExtResource("1_si20m")
|
||
|
2 years ago
|
|
||
|
|
[node name="WeaponSlot" type="TextureRect" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -16.0
|
||
|
|
offset_top = -16.0
|
||
|
|
offset_right = 16.0
|
||
|
|
offset_bottom = 16.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
2 years ago
|
texture = ExtResource("2_cxs45")
|
||
|
2 years ago
|
|
||
|
|
[node name="WeaponIcon" type="TextureRect" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -32.0
|
||
|
|
offset_top = -32.0
|
||
|
|
offset_right = 32.0
|
||
|
|
offset_bottom = 32.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
2 years ago
|
texture = ExtResource("3_i0fx0")
|