Changeset 364:14142aee4c03


Ignore:
Timestamp:
04/09/11 12:30:36 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
64373761643030396463626232356331356539306362373264363032373831653235643063346462
Message:

Bring fireball closer to sprite initially.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/projectiles.py

    r362 r364  
    2020    }
    2121
    22     FIREBALL_WIDTH = 60 # pixels
     22    FIREBALL_WIDTH = 55 # pixels
    2323    VELOCITY = (300, -1000) # pps
    2424
     
    2727        self.facing = direction
    2828        if self.facing == "left":
    29             shift = (-self.FIREBALL_WIDTH / 2, 0)
     29            shift = (-self.FIREBALL_WIDTH / 2, 4)
    3030            dv = (-self.VELOCITY[0], self.VELOCITY[1])
    3131        else:
    32             shift = (self.FIREBALL_WIDTH / 2, 0)
     32            shift = (self.FIREBALL_WIDTH / 2, 4)
    3333            dv = (self.VELOCITY[0], self.VELOCITY[1])
    3434        self.rect.move_ip(shift)
Note: See TracChangeset for help on using the changeset viewer.