made smoke textures and tweaked materials
This commit is contained in:
@@ -417,7 +417,7 @@ func enemy_hit():
|
||||
func toggle_hud(hud_on):
|
||||
|
||||
if dead:
|
||||
crt_filter.visible = hud_on
|
||||
crt_filter.visible = false#hud_on
|
||||
else:
|
||||
crosshair.visible = hud_on
|
||||
ammo_counter.visible = hud_on
|
||||
|
||||
@@ -84,8 +84,10 @@ func _ready():
|
||||
func _process(_delta):
|
||||
if tracker != null:
|
||||
tracker_indicator_material.emission = tracker_assigned_color
|
||||
look_at(tracker.global_position)
|
||||
else:
|
||||
tracker_indicator_material.emission = tracker_null_color
|
||||
rotation = lerp(rotation, Vector3(0,0,0), _delta * 4)
|
||||
|
||||
if check_track:
|
||||
tracker_checker(_delta)
|
||||
|
||||
Reference in New Issue
Block a user