From f51a9efca57b561a3ccd88d04e1330dc9cc65726 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 23 Apr 2024 01:24:40 +0100 Subject: add spring boing --- objects.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'objects.go') diff --git a/objects.go b/objects.go index b26d1c8..008d712 100644 --- a/objects.go +++ b/objects.go @@ -333,6 +333,8 @@ func OnCollideSpring(this, other *GameObject) bool { other.onGround = true this.state = 2 this.delta = 1 + this.game.audioPlayer.springAudio.Rewind() + this.game.audioPlayer.springAudio.Play() return false } -- cgit v1.2.1