diff options
author | mrtrop <maximillian.pol@gmail.com> | 2013-10-09 09:32:27 -0700 |
---|---|---|
committer | mrtrop <maximillian.pol@gmail.com> | 2013-10-09 09:32:27 -0700 |
commit | ecb08685d5acefc069381cef88d55a31c3c4f0b0 (patch) | |
tree | d4e7a55c30c666428657cd40e910039819f9d9bd | |
parent | 501857145e7dd3b1a2889367b7ed096cfed7d390 (diff) |
Fixed README examples using old vector module
-rw-r--r-- | README.org | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,7 +165,7 @@ ;; Move horizontally across the screen, starting at x=0 and moving to ;; x=800, in 60 ticks. (lerp (lambda (x) - (set-sprite-position! sprite (vector x (/ window-height 2)))) + (set-sprite-position! sprite (vector2 x (/ window-height 2)))) 0 800 60)) #+END_SRC @@ -183,7 +183,7 @@ (schedule-action (action-parallel (lerp (lambda (x) - (set-sprite-position! sprite (vector x (/ window-height 2)))) + (set-sprite-position! sprite (vector2 x (/ window-height 2)))) 0 800 60) ;; Rotate sprite 1080 degrees in 120 ticks. (lerp (lambda (angle) |