Mercurial > fife-parpg
changeset 489:0324a3533988
Updated the Shooter demo credits.txt file and added the LICENSE file for all media included in the demo.
Cleaned up some print statements in the shooter demo.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 05 May 2010 14:29:37 +0000 |
parents | 23d01971e9c2 |
children | 939a4dc12ca1 |
files | demos/shooter/LICENSE demos/shooter/gui/credits.txt demos/shooter/scripts/powerups.py demos/shooter/scripts/scene.py demos/shooter/scripts/soundmanager.py |
diffstat | 5 files changed, 77 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demos/shooter/LICENSE Wed May 05 14:29:37 2010 +0000 @@ -0,0 +1,56 @@ +== AUDIO == + +=== Level 1 Music === +Author : +Murray Krawchuck + +License : +Creative Commons Attribution-Noncommercial-Share Alike 2.5 +http://creativecommons.org/licenses/by-nc-sa/2.5/ + +Affected files: +music/waynesmind.ogg + + +=== Sound Effects === +Author : +FIFE Team (http://www.fifengine.net) + +License : +Creative Commons Sampling Plus 1.0 +http://creativecommons.org/licenses/sampling+/1.0/ + +Affected files: +sounds/*.ogg + + + + +== GRAPHICS == + +=== Ships === +Author: +Castle Games Inc. (http://www.castlegamesinc.com/legal/contact-form) + +Website: +http://www.castlegamesinc.com/ + +License: +Creative Commons Attribution-Noncommercial-Share Alike 2.5 +http://creativecommons.org/licenses/by-nc-sa/2.5/ + +Affected files: +objects/ships/*/*.png + + +=== Backgrounds === +Author: +FIFE Team (http://www.fifengine.net) + +License : +Creative Commons Attribution-Share Alike 3.0 Unported +http://creativecommons.org/licenses/by-sa/3.0/ + +Affected files: +objects/backgrounds/*/*.png +objects/powerups/*/*.png \ No newline at end of file
--- a/demos/shooter/gui/credits.txt Tue May 04 12:50:09 2010 +0000 +++ b/demos/shooter/gui/credits.txt Wed May 05 14:29:37 2010 +0000 @@ -1,8 +1,22 @@ -This is the credits file. +--== FIFE Shooter ==- + +This demo was created by the FIFE team to show the +versatility of the FIFEngine. We hope that it +will attract some new projects to use FIFE so we +can grow our community! -Information regarding who worked on this demo along -with FIFE will go into this file. +All ship art (objects/ships/*) were graciously +provided by JP of Castle Games Inc. Visit +http://www.castlegamesinc.com for more info. -Thanks, +The background music (music/waynesmind.ogg) was +written and composed by Murray Krawchuck. + +All sound effects were generated with sfxr. +Visit http://www.drpetter.se/project_sfxr.html +for more information. + +Thanks for checking this demo out, The FIFE team! +
--- a/demos/shooter/scripts/powerups.py Tue May 04 12:50:09 2010 +0000 +++ b/demos/shooter/scripts/powerups.py Wed May 05 14:29:37 2010 +0000 @@ -77,9 +77,12 @@ class ExtraLifePU(PowerUp): def __init__(self, scene, powerupName, instance, findInstance=True): super(ExtraLifePU, self).__init__(scene, powerupName, instance, findInstance) + + self._pickupclip = self._scene.soundmanager.loadSoundClip("sounds/pickup.ogg") def applyPowerUp(self, ship): ship.lives += 1 + self._scene.soundmanager.playClip(self._pickupclip) self.destroy() self._scene.queueObjectForRemoval(self) \ No newline at end of file
--- a/demos/shooter/scripts/scene.py Tue May 04 12:50:09 2010 +0000 +++ b/demos/shooter/scripts/scene.py Wed May 05 14:29:37 2010 +0000 @@ -158,8 +158,6 @@ for instance in powerups: objectName = instance.getId() - print objectName - if objectName == "cannonspread5": powerup = CannonSpread5PU(self, 'cannonspread5', instance, False) elif objectName == "extralife":
--- a/demos/shooter/scripts/soundmanager.py Tue May 04 12:50:09 2010 +0000 +++ b/demos/shooter/scripts/soundmanager.py Wed May 05 14:29:37 2010 +0000 @@ -126,11 +126,8 @@ if clip.looping: repeat = 0 - print "setting up callback1" - def real_callback(c, e): c() - print "in here" e.stop() e.play() @@ -138,7 +135,6 @@ else: repeat = 1 - clip.timer = Timer(self._engine.getTimeManager(), clip.duration, clip.callback, repeat) clip.timer.start()