Is the problem that "arena.png" and "char4.png" are images with
transparency, but `draw-bitmap' draws them solid?
If so, you need to supply 'png/mask as the after the pathname when
loading the bitmap
(define bm1 (make-object bitmap% "./src/arena.png" 'png/mask))
and then use the bitmap mask when drawing:
(send base-dc draw-bitmap bm1
0 0 solid
(send the-color-database find-color "black")
(send bm1 get-loaded-mask))
It's much simpler in the current development version of Racket, where
transparency is more directly supported on bitmaps. In version
5.0.99.2,
(send base-dc draw-bitmap (read-bitmap "./src/arena.png") 0 0)
automatically loads and uses transparency information.
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
Here is how to do it in GIMP:
http://fabiovisentin.com/tutorial/GIMP_transparent_image/gimp_how_to_make_transparent_image.asp
--
Jens Axel Søgaard