comparison pytouhou/formats/exe.py @ 390:b11953cf1d3b

Use only half-size hitboxes for player.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Nov 2012 18:34:24 +0100
parents 2674c789e0c3
children e15672733c93
comparison
equal deleted inserted replaced
389:eef492100f4c 390:b11953cf1d3b
48 class SHT(object): 48 class SHT(object):
49 def __init__(self): 49 def __init__(self):
50 #self.unknown1 = None 50 #self.unknown1 = None
51 #self.bombs = 0. 51 #self.bombs = 0.
52 #self.unknown2 = None 52 #self.unknown2 = None
53 self.hitbox = 4. 53 self.hitbox = 2.
54 self.graze_hitbox = 42. 54 self.graze_hitbox = 21.
55 self.autocollection_speed = 8. 55 self.autocollection_speed = 8.
56 self.item_hitbox = 38. 56 self.item_hitbox = 19.
57 # No percentage_of_cherry_loss_on_die 57 # No percentage_of_cherry_loss_on_die
58 self.point_of_collection = 128 #TODO: find the real default. 58 self.point_of_collection = 128 #TODO: find the real default.
59 self.horizontal_vertical_speed = 0. 59 self.horizontal_vertical_speed = 0.
60 self.horizontal_vertical_focused_speed = 0. 60 self.horizontal_vertical_focused_speed = 0.
61 self.diagonal_speed = 0. 61 self.diagonal_speed = 0.