diff options
author | davidovski <david@davidovski.xyz> | 2024-04-23 01:24:40 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-23 01:24:40 +0100 |
commit | f51a9efca57b561a3ccd88d04e1330dc9cc65726 (patch) | |
tree | a88786e70c7bcb26aa71f34e171c85ecc95bdf1d /objects.go | |
parent | 2824bb82ccb8b336779a78cd1f82bc675efaca91 (diff) |
add spring boing
Diffstat (limited to 'objects.go')
-rw-r--r-- | objects.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } |