Browse Source

Improve crosshair image and transition

- Use a simpler design, visible against any background thanks
  to an outline.
- Use a scaled down image to look sharper at higher resolutions.
- Make the transition faster to avoid having the crosshair linger
  for too long after aiming.
Hugo Locurcio 3 years ago
parent
commit
041f1e796b
2 changed files with 8 additions and 6 deletions
  1. BIN
      player/crosshair.png
  2. 8 6
      player/player.tscn

BIN
player/crosshair.png


+ 8 - 6
player/player.tscn

@@ -225,7 +225,7 @@ tracks/1/loop_wrap = true
 tracks/1/imported = false
 tracks/1/enabled = true
 tracks/1/keys = {
-"times": PoolRealArray( 0.3 ),
+"times": PoolRealArray( 0.2 ),
 "transitions": PoolRealArray( 1 ),
 "update": 3,
 "values": [ Color( 1, 1, 1, 0 ) ]
@@ -251,7 +251,7 @@ tracks/1/loop_wrap = true
 tracks/1/imported = false
 tracks/1/enabled = true
 tracks/1/keys = {
-"times": PoolRealArray( 0.3 ),
+"times": PoolRealArray( 0.2 ),
 "transitions": PoolRealArray( 1 ),
 "update": 3,
 "values": [ Color( 1, 1, 1, 1 ) ]
@@ -370,11 +370,13 @@ anchor_left = 0.5
 anchor_top = 0.5
 anchor_right = 0.5
 anchor_bottom = 0.5
-margin_left = -17.3346
-margin_top = -23.8394
-margin_right = 14.6654
-margin_bottom = 8.16064
+margin_left = -12.0
+margin_top = -12.0
+margin_right = 12.0
+margin_bottom = 12.0
 texture = ExtResource( 3 )
+expand = true
+stretch_mode = 1
 __meta__ = {
 "_edit_use_anchors_": false
 }