summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoutade <thegoofist@protonmail.com>2019-10-17 19:04:37 -0500
committerBoutade <thegoofist@protonmail.com>2019-10-17 19:04:37 -0500
commit235e83e4ca9692687bd208b7b93f28dcb353ce6e (patch)
tree79d2deb8e8f49820f43380996145101a571dc355
parent80426a16ba7c57eaac7cfbf04868c16de0fee9e8 (diff)
nance starts on cardboard
-rw-r--r--the-price-of-a-cup-of-coffee.lisp5
1 files changed, 3 insertions, 2 deletions
diff --git a/the-price-of-a-cup-of-coffee.lisp b/the-price-of-a-cup-of-coffee.lisp
index 19888d3..c2620d7 100644
--- a/the-price-of-a-cup-of-coffee.lisp
+++ b/the-price-of-a-cup-of-coffee.lisp
@@ -291,8 +291,9 @@
;; boot up nance
(setf *nance* (make-instance 'hero :sheet *nance-texture*))
- (setf (sdl2:rect-x (pos *nance*))
- (round (* 0.5 (- +window-width+ (sdl2:rect-width (pos *nance*))))))
+ (setf (sdl2:rect-x (pos *nance*)) 292)
+ (setf (sdl2:rect-y (pos *nance*)) 38)
+
(push *nance* *to-render-by-y*)