Mercurial > fife-parpg
diff demos/shooter/scripts/scene.py @ 487:7f1c42b66aa4
Moved the shooter demo Timer() class to helpers.py.
Changed the formula that calculates the length of the audio clip to be correct.
The shooter demo now demonstrates the use of the audio clip callbacks correctly.
Fixed the fife_timer extension to actually work.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 03 May 2010 19:58:16 +0000 |
parents | d365eb58f3d6 |
children | 0324a3533988 |
line wrap: on
line diff
--- a/demos/shooter/scripts/scene.py Mon May 03 15:56:00 2010 +0000 +++ b/demos/shooter/scripts/scene.py Mon May 03 19:58:16 2010 +0000 @@ -185,7 +185,7 @@ self.startCamera() def musicHasFinished(self): - print self._music.name + " has finished playing.\n" + print self._music.name + " has finished playing. Starting it again...\n" def pause(self, time): self._pausedtime = time