Skip to content

Commit

Permalink
Show trail only for sympoms, Fix collision shape
Browse files Browse the repository at this point in the history
  • Loading branch information
h4de5 committed Apr 5, 2020
1 parent 42bae82 commit 9d9a8c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/host.gd
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ func _physics_process(delta: float) -> void:
if !has_sound():
# if symptoms are shown - make some noise
Effects.cough(self)
else:
trail.visible = false

set_outline(sprite.modulate)

Expand Down
2 changes: 1 addition & 1 deletion src/host.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[ext_resource path="res://src/host.gd" type="Script" id=2]

[sub_resource type="CircleShape2D" id=1]
radius = 4.97443
radius = 7.00038

[sub_resource type="CircleShape2D" id=2]
radius = 40.0
Expand Down

0 comments on commit 9d9a8c7

Please sign in to comment.