Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Out line for music and sound added

  • Loading branch information...
commit 59c26cb3a1235fef50b06b3280eabd80951b1271 1 parent 90d8b70
@kthakore kthakore authored
Showing with 35 additions and 13 deletions.
  1. +2 −1  Makefile
  2. +33 −12 src/07-music_and_sound.pod
View
3  Makefile
@@ -16,7 +16,8 @@ else
src/03-events.pod \
src/04-game.pod \
src/05-pong.pod \
- src/06-tetris.pod
+ src/06-tetris.pod \
+ src/07-music_and_sound.pod
endif
default: prepare pdf clean
View
45 src/07-music_and_sound.pod
@@ -1,20 +1,41 @@
-=head0 The Basics
+=head0 Sound and Music
-Making a screen:
+=head1 Streaming Music
-=begin programlisting
+Games need background music to set the mood.
- use SDL;
- use SDLx::App;
+=head2 Audio Specs
- SDLx::App->new();
-
- sleep( 2 );
-
-=end programlisting
+Defining how the music will run.
-This makes a screen as below:
+=head2 Example
-WIP
+Lets make some noise.
+
+=head1 Sound FX
+
+Well we want Sound events.
+
+=head2 Triggering
+
+How to make the laser 'pew' in the right time.
+
+=head2 Example
+
+pew pew pew pew.
+
+=head1 Modules
+
+=head2 C<SDLx::Sound>
+
+Simple SDL Mixer initialization.
+
+=head2 C<SDL::Audio>
+
+Creating music on the fly.
+
+=head2 C<SDL::Mixer>
+
+Full fledge music support.
=for vim: spell
Please sign in to comment.
Something went wrong with that request. Please try again.