(use-modules (chickadee graphics color) (chickadee graphics font) (chickadee graphics texture) (chickadee graphics viewport) (chickadee math vector) (oop goops) (starling asset) (starling gui) (starling kernel) (starling node) (starling node-2d) (starling scene)) ;;; ;;; Constants ;;; (define window-width 1280) (define window-height 720) (define game-width 640) (define game-height 360) ;;; ;;; Assets ;;; (define-asset dialog-box-texture (load-image "assets/images/dialog-box.png")) (define-asset darkness (load-image "assets/images/darkness.png")) (define-asset room-background (load-image "assets/images/room.png")) (define-asset monogram-font (load-font "assets/fonts/monogram_extended.ttf" 12)) ;;; ;;; Text Box ;;; (define-class () (text #:accessor text #:init-keyword #:text #:init-value "" #:watch? #t)) (define-method (apply-theme (text-box )) (next-method) (replace text-box (make