generated from Persson-dev/Godot-Xmake
Add Hitmarkers
This commit is contained in:
@@ -35,7 +35,6 @@ grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Crosshair" type="Crosshair" parent="UserInterface"]
|
||||
layout_direction = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -64,3 +63,61 @@ width = 2.0
|
||||
[node name="Left" type="Line2D" parent="UserInterface/Crosshair"]
|
||||
points = PackedVector2Array(15, 20, 5, 20)
|
||||
width = 2.0
|
||||
|
||||
[node name="HitMarkers" type="HitMarkers" parent="UserInterface"]
|
||||
layout_mode = 1
|
||||
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
|
||||
|
||||
[node name="TopRight" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(22.5, 17.5, 35, 5)
|
||||
width = 2.0
|
||||
|
||||
[node name="BottomRight" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(22.5, 22.5, 35, 35)
|
||||
width = 2.0
|
||||
|
||||
[node name="BottomLeft" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(17.5, 22.5, 5, 35)
|
||||
width = 2.0
|
||||
|
||||
[node name="TopLeft" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(17.5, 17.5, 5, 5)
|
||||
width = 2.0
|
||||
|
||||
[node name="TopRightHS" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(22.5, 17.5, 35, 5)
|
||||
width = 2.0
|
||||
default_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="BottomRightHS" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(22.5, 22.5, 35, 35)
|
||||
width = 2.0
|
||||
default_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="BottomLeftHS" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(17.5, 22.5, 5, 35)
|
||||
width = 2.0
|
||||
default_color = Color(1, 0, 0, 1)
|
||||
|
||||
[node name="TopLeftHS" type="Line2D" parent="UserInterface/HitMarkers"]
|
||||
visible = false
|
||||
points = PackedVector2Array(17.5, 17.5, 5, 5)
|
||||
width = 2.0
|
||||
default_color = Color(1, 0, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user