~ubuntu-branches/ubuntu/lucid/gauche-c-wrapper/lucid

« back to all changes in this revision

Viewing changes to examples/sdl/README

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2008-04-07 09:15:03 UTC
  • Revision ID: james.westby@ubuntu.com-20080407091503-wu0h414koe95kj4i
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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