Commenting
This commit is contained in:
parent
d450a0d155
commit
31a0bd9a34
2 changed files with 24 additions and 3 deletions
|
|
@ -47,16 +47,20 @@
|
|||
"By Jakub Nowak with Imugi+Raylib"
|
||||
centered: (cons #t #f)))
|
||||
|
||||
;; Play button
|
||||
(entity
|
||||
(button
|
||||
;; Roughly centered.
|
||||
;; these are ugly, hardcoded values.
|
||||
(vec (- (/ (car (*window-size*))
|
||||
2)
|
||||
50)
|
||||
(- (/ (car (*window-size*))
|
||||
2)
|
||||
100))
|
||||
;; Nested footer text
|
||||
(footer
|
||||
(vec 0 0)
|
||||
(vec 0 0) ;; this vec doesn't matter, it's overwritten internally
|
||||
"Start Game!")
|
||||
play-callback))
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue