Mention (game :x) and (game :y) in defscreen docstring
This commit is contained in:
@@ -172,7 +172,8 @@ via the screen map.
|
|||||||
entities))
|
entities))
|
||||||
|
|
||||||
; input functions
|
; input functions
|
||||||
; Tip: convert :input-x and :input-y to screen coordinates with input->screen
|
; Tip: convert :input-x and :input-y to screen coordinates with input->screen,
|
||||||
|
; or just use (game :x) and (game :y) instead
|
||||||
(defscreen my-screen
|
(defscreen my-screen
|
||||||
; a key was pressed
|
; a key was pressed
|
||||||
:on-key-down
|
:on-key-down
|
||||||
|
|||||||
Reference in New Issue
Block a user