examples/sdl/README
raw| 1 | breakout.scm is an example of using c-wrapper and SDL. |
| 2 | |
| 3 | - How to play |
| 4 | (1) Install SDL and SDL_mixer. |
| 5 | (2) Create sdlib.so. |
| 6 | % make |
| 7 | (3) Run breakout.scm. |
| 8 | % make run |
| 9 | |
| 10 | - Key binding |
| 11 | 'z': The paddle moves left. |
| 12 | 'x': The paddle moves right. |
| 13 | space: Shoot a ball. |
| 14 | |
| 15 | Note: |
| 16 | cursor5.wav and cursor6.wav are downloaded from http://www.tam-music.com/. |
| 17 |