Changeset 553:62569f486ede


Ignore:
Timestamp:
04/09/11 23:46:10 (12 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Debug print cleanup.

Location:
skaapsteker
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/dialogue.py

    r521 r553  
    4242    def _drop_item(self, item, shift=(1, 0)):
    4343        """Create a tail of the given type."""
    44         print "Dropping", item
    4544        to_level = self._me.level
    4645        to_pos = self._me.pos
  • skaapsteker/levelscene.py

    r549 r553  
    345345
    346346            if self._detect_key_sequence(ev):
    347                 print "Detected double-tap:", self._key_sequence
    348347                action = self._key_tap_map.get(tuple(self._key_sequence))
    349348                if action is not None:
  • skaapsteker/physics.py

    r460 r553  
    170170
    171171    def fix_bounds(self, bounds):
    172         print "Killing", self, self.rect, self._float_pos, bounds
    173172        self.kill()
    174173
  • skaapsteker/sound.py

    r529 r553  
    2525            # See if we can actually enabled sound
    2626            try:
    27                mixer.init(FREQ, BITSIZE, CHANNELS, BUFFER)
    28                test_sound = mixer.Sound(data.filepath('sounds/silence.ogg'))
    29                test_sound.play()
    30                self.sound_enabled = True
     27                mixer.init(FREQ, BITSIZE, CHANNELS, BUFFER)
     28                test_sound = mixer.Sound(data.filepath('sounds/silence.ogg'))
     29                test_sound.play()
     30                self.sound_enabled = True
    3131            except pygame.error:
    32                print 'Unable to enable sound'
    33                self.sound_enabled = False
     32                print 'Unable to enable sound'
     33                self.sound_enabled = False
    3434        else:
    3535            self.sound_enabled = False
  • skaapsteker/sprites/player.py

    r538 r553  
    235235            return
    236236        elif 'shield' in self._me.tails and self.check_fire_rate('shield'):
    237             print "Activating shield."
    238237            self._shield_start_time = time.time()
    239238            self.using_shield = 1
Note: See TracChangeset for help on using the changeset viewer.