chop up the planetcute image

closes PR 12584
This commit is contained in:
Robby Findler 2012-02-21 12:18:30 -06:00
parent b9012a2504
commit bdd82c1b45
6 changed files with 14 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

View File

@ -72,11 +72,23 @@ of how to use them.
(define req (string->symbol (format "2htdp/planetcute/~a" (name->filename img))))
#`@defthing[#,img image?]{ @(bitmap #,req) })))]))
@(define-runtime-path PlanetCuteShadowTest.png "PlanetCuteShadowTest.png")
@(begin
(define-runtime-path PlanetCuteShadow1.png "PlanetCuteShadow1.png")
(define-runtime-path PlanetCuteShadow2.png "PlanetCuteShadow2.png")
(define-runtime-path PlanetCuteShadow2b.png "PlanetCuteShadow2b.png")
(define-runtime-path PlanetCuteShadow3.png "PlanetCuteShadow3.png"))
@defthings[Characters]{}
@defthings[Blocks]{}
@defthings[Items]{}
@defthings[Ramps]{}
@defthings[Buildings]{}
@defthings[Shadows]{@(make-object bitmap% PlanetCuteShadowTest.png)}
@defthings[Shadows]{The shadow images are intended to be
overlaid on the other blocks when they
appear in certain configurations, as
detailed here.
@(read-bitmap PlanetCuteShadow1.png)
@(read-bitmap PlanetCuteShadow2.png)
@(read-bitmap PlanetCuteShadow2b.png)
@(read-bitmap PlanetCuteShadow3.png) }