8.4.4.1.1. Simple Demos of the SDL Lush interface
(packages/sdl/demos/libsdl-demo.lsh)




8.4.4.1.1.0. (sdl-showimage <filename)
(packages/sdl/demos/libsdl-demo.lsh)


load an image and display it in an SDL window example:
(sdl-showimage (concat lushdir "/packages/sdl/demos/moon.png"))


8.4.4.1.1.1. (sdl-bouncy f b n)
(packages/sdl/demos/libsdl-demo.lsh)


bounce a bunch of objects on a background f is an image filename for the object b is a backgroun image n is the number of objects. This uses the low-level SDL interface. example:
(bounce (concat lushdir "/packages/sdl/demos/lem.png") (concat lushdir "/packages/sdl/demos/moon.png") 64)