aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/02-image-transforms-and-events.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-27 09:18:13 -0500
committerColin Okay <colin@cicadas.surf>2022-07-27 09:18:13 -0500
commit0b743b90752bacf31923171af9af0e5ff1f08095 (patch)
tree7a4ea6ad3ebc1372f2a14dc32147b924036e23d0 /examples/02-image-transforms-and-events.lisp
parentdef70bc521a71b3bfa8d8b0bb982bbcd1743bd22 (diff)
[add] alpha support to image class
Diffstat (limited to 'examples/02-image-transforms-and-events.lisp')
-rw-r--r--examples/02-image-transforms-and-events.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/02-image-transforms-and-events.lisp b/examples/02-image-transforms-and-events.lisp
index edc9000..9e4710f 100644
--- a/examples/02-image-transforms-and-events.lisp
+++ b/examples/02-image-transforms-and-events.lisp
@@ -106,7 +106,8 @@
:texture (ww::get-asset "Fezghoul.png")))
(bm2
(make-instance 'ww::image
- :texture (ww::get-asset "GelatinousCube.png"))))
+ :texture (ww::get-asset "GelatinousCube.png")
+ :alpha 0.5)))
(ww::add-handler app #'wheelie)