mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-04-29 16:25:35 +00:00
✨ Weapon reload mechanics and reticle first-pass
This commit is contained in:
parent
b3f8c203e5
commit
8fc00e4bdf
2 changed files with 52 additions and 22 deletions
|
|
@ -86,3 +86,40 @@ offset_right = 21.0
|
|||
offset_bottom = -10.0
|
||||
grow_vertical = 0
|
||||
script = SubResource("GDScript_w8l21")
|
||||
|
||||
[node name="Reticle" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="LineBottom" type="Line2D" parent="Reticle"]
|
||||
position = Vector2(13, 4)
|
||||
points = PackedVector2Array(7, 19, 7, 31)
|
||||
width = 2.0
|
||||
|
||||
[node name="LineLeft" type="Line2D" parent="Reticle"]
|
||||
position = Vector2(36, 13)
|
||||
rotation = 1.5708
|
||||
points = PackedVector2Array(7, 19, 7, 31)
|
||||
width = 2.0
|
||||
|
||||
[node name="LineTop" type="Line2D" parent="Reticle"]
|
||||
position = Vector2(13, -14)
|
||||
points = PackedVector2Array(7, 19, 7, 31)
|
||||
width = 2.0
|
||||
|
||||
[node name="LineRight" type="Line2D" parent="Reticle"]
|
||||
position = Vector2(54, 13)
|
||||
rotation = 1.5708
|
||||
points = PackedVector2Array(7, 19, 7, 31)
|
||||
width = 2.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue