From 8b5474fab05f7037bdfd0e0a0be34d065975536f Mon Sep 17 00:00:00 2001 From: oakes Date: Tue, 26 Aug 2014 20:43:46 -0400 Subject: [PATCH] Flip (game :y) --- src/play_clj/core_basics.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/play_clj/core_basics.clj b/src/play_clj/core_basics.clj index e0b785c..fd0585f 100644 --- a/src/play_clj/core_basics.clj +++ b/src/play_clj/core_basics.clj @@ -102,7 +102,7 @@ :fullscreen? (graphics! :is-fullscreen) :touched? (input! :is-touched) :x (input! :get-x) - :y (input! :get-y) + :y (- (graphics! :get-height) (input! :get-y)) (u/throw-key-not-found k))) (defmacro key-code