Graphics and SFX Changes

* Adds Background parallax images (not exactly parallax since we have a fixed camera)
* Adds SFX
* Fixes Pickable collisions and SFX playback
This commit is contained in:
Indrajith K L
2022-04-14 16:36:24 +05:30
parent 8bf932bf0b
commit aef3961512
90 changed files with 668 additions and 375 deletions

View File

@@ -4,8 +4,11 @@ export var health=10
func _ready():
$AnimationPlayer.play("idle")
func _on_Area2D_body_entered(body):
if (body.name=="Player"):
body.health += health
queue_free()
self.hide()
$pickup.play()
func _on_pickup_finished():
queue_free()