]> git.jsancho.org Git - gacela.git/blobdiff - gacela_tetris.lisp
(no commit message)
[gacela.git] / gacela_tetris.lisp
index 4d83b70f3b69af0076aefc4b53078dd7899a32c0..c0e7a382e866129d606ac1e65a6872fabf865d93 100644 (file)
@@ -1,6 +1,6 @@
 (in-package :gacela)
 
-(setq *zoom* -50)
+(setq *zoom* -10)
 
 (defun tetramine-i ()
   (let ((color '(1 0 0)))
       (next (random-tetramine))
       (timer (make-timer))
       (grid (make-list 20 :initial-element (make-list 14)))
-      (texture (load-texture "fondo_tetris.png")))
+      (texture (load-texture "background.bmp")));fondo_tetris.png")))
   (defun tetramine ()
     (cond ((eq (timer-state timer) 'stopped) (start-timer timer)))
 
                  (setq next (random-tetramine)))
                 (t (incf y) (start-timer timer)))))
 
-    (draw-square :size 1 :texture texture)
-    (translate -25 19)
-    (draw-grid (join-grids tetramine grid x y))
-    (translate 40 40)
-    (draw-grid next)))
+    (draw-square :size 1 :texture texture)))
+;    (translate -25 19)
+;    (draw-grid (join-grids tetramine grid x y))
+;    (translate 40 40)
+;    (draw-grid next)))
 
 (run-game "Gacela Tetris" (tetramine))