diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/02-moving-bitmp.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/02-moving-bitmp.lisp b/examples/02-moving-bitmp.lisp index 282d003..a1c3c87 100644 --- a/examples/02-moving-bitmp.lisp +++ b/examples/02-moving-bitmp.lisp @@ -19,6 +19,9 @@ (:scancode-right (incf (ww::unit-x target) (ww::unit-width target))) (:scancode-down (decf (ww::unit-y target) (ww::unit-height target))) (:scancode-up (incf (ww::unit-y target) (ww::unit-height target))) + (:scancode-w (incf (ww::unit-width target) 20)) + (:scancode-r (incf (ww::unit-rotation target) (/ pi 3))) + (:scancode-l (decf (ww::unit-rotation target) (/ pi 3))) (:scancode-equals (when (or (member :lshift modifiers) (member :rshift modifiers)) (ww::scale-by target 1.10))) |