SFX and some more sprites
This commit is contained in:
parent
277a040f5f
commit
030b35e4fa
26 changed files with 128 additions and 11 deletions
|
|
@ -208,6 +208,7 @@
|
|||
;; If button is clicked, exec button click func
|
||||
(define (do-button-callback button)
|
||||
(when (eqv? 'clicked (button-state button))
|
||||
(play-sound (load-sound "../res/sfx/click.wav"))
|
||||
((button-click-fn button))))
|
||||
|
||||
;; Needs to be added to do buttons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue