2.4 Planet Cute Images
The 2htdp/planetcute library contains the
Planet Cute
art by Daniel Cook (Lostgarden.com).
The images are designed to be overlaid with each other to build
scenes for use in games. Here is an example image taken
from the Planet Cute website.
; stacks its arguments on each |
; other, separated by 40 pixels |
(define (stack arg . args) |
(cond |
[(null? args) arg] |
[else (overlay/xy arg 0 40 |
(apply stack args))])) |
The Planet Cute images also include some shadows that can improve the
look of your game; see the Shadows section for an overview
of how to use them.
2.4.1 Characters
2.4.2 Blocks
2.4.3 Items
2.4.4 Ramps
2.4.5 Buildings
2.4.6 Shadows