def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ SectorProperty("Sector", "sector", default="", optional=False), StringProperty("SpawnPoint", "spawnpoint", default="", optional=False), FloatProperty("Fly Speed", "flyspeed", default=64.0, optional=True), FloatProperty("Track Range", "track-range", default=384.0, optional=True), FloatProperty("Vanish Range", "vanish-range", default=512, optional=True), StringProperty("Hit Script", "hit-script", default="", optional=True), # ColorProperty("Color", "color"), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Name", "name", "main"), InlinePosProperty() ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ BoolProperty("Linked", "linked", default=False), InlinePosProperty() ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ BoolProperty("Portable", "portable", optional=True, default=True), InlinePosProperty() ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ SpriteProperty("Sprite", "sprite"), InlinePosProperty() ]
def __init__(self, kind, sprite): super().__init__() self.label = kind self.identifier = kind self.sprite = sprite self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [InlinePosProperty()]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ FloatProperty("Radius", "radius", default=100.0, optional=True), FloatProperty("Speed", "speed", default=2.0, optional=True), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Script", "script", default=""), SpriteProperty("Sprite", "sprite", default="", optional=True), DirectionProperty("Direction", "direction", 0), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Sector", "sector"), StringProperty("SpawnPoint", "spawnpoint"), InlinePosProperty(), ] self.constraints = [GridConstraint(32, 32, 16, 16)]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Name", "name"), ZPosProperty(), BoolProperty("Visible", "visible", True), BoolProperty("Physics", "physic-enabled", False), BoolProperty("Solid", "solid", False), SpriteProperty("Sprite", "sprite"), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Message", "message", "", optional=True, translatable=True), InlinePosProperty() ] self.constraints = [GridConstraint(32, 32, 16, 16)]
def __init__(self, kind, sprite): super().__init__() self.label = kind self.identifier = kind self.sprite = sprite self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ SpriteProperty("Sprite", "sprite"), InlinePosProperty() ] self.constraints = [GridConstraint(32, 32, 16, 16)]
def __init__(self, kind, sprite_filename): super().__init__() self.label = kind self.identifier = kind self.sprite = sprite_filename self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Dead Script", "dead-script", default="", optional=True), DirectionProperty("Direction", "direction", 0), SpriteProperty("Sprite", "sprite", default="", optional=True), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ IntProperty("Cycle", "cycle", 2), EnumProperty("Type", "type", default=0, optional=False, values=["rocketlauncher", "cannon"]), BoolProperty("Random", "random", default=False, optional=True), BadGuyProperty("Badguy", "badguy", GameObj.factory), DirectionProperty("Direction", "direction", 0), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ BoolProperty("Disable Physics", "disable-physics", default=False, optional=True), StringProperty("Script", "script", default="", optional=True), SpriteProperty("Sprite", "sprite", default=self.sprite, optional=False), InlinePosProperty(), ] self.constraints = [GridConstraint(32, 32, 16, 16)]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ FloatProperty("Initial Delay", "initial-delay", default=0, optional=False), FloatProperty("Fire Delay", "fire-delay", default=2.0, optional=False), IntProperty("Ammo", "ammo", default=-1, optional=False), DirectionProperty("Direction", "direction", 0), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Name", "name", "", optional=True), BoolProperty("Burning", "burning", optional=True, default=True), BoolProperty("Flicker", "flicker", optional=True, default=True), SpriteProperty("Sprite", "sprite", default=self.sprite, optional=True), ColorProperty("Color", "color", default=Colorf(1.0, 1.0, 1.0), optional=True), InlinePosProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Message", "message", default="", optional=True, translatable=True), StringProperty("Script", "script", default="", optional=False), IntProperty("Count", "count", default=1, optional=True), EnumProperty("Contents", "contents", default=0, optional=True, values=self.values), SpriteProperty("Sprite", "sprite", optional=True), InlinePosProperty() ] self.constraints = [GridConstraint(32, 32, 16, 16)]