SFX and some more sprites

This commit is contained in:
Jakub 2026-05-24 16:49:19 +08:00
parent 277a040f5f
commit 030b35e4fa
26 changed files with 128 additions and 11 deletions

View file

@ -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