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("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("Level File", "name", ""), StringProperty("Extro Script", "extro-script", "", optional=True), BoolProperty("auto-play", "auto-play", False, optional=True), SpriteProperty("Sprite", "sprite"), InlineTilePosProperty() ]
def __init__(self): super().__init__() self.objmap_object = make_sprite_object(self, self.sprite) self.signal_connect() self.properties = [ StringProperty("Name", "name", "main"), InlineTilePosProperty() ]
def __init__(self): super().__init__() self.objmap_object = make_rect_object(self, Colorf(1.0, 0, 0)) self.signal_connect() self.properties = [ StringProperty("Sequence", "sequence", ""), InlineRectProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_rect_object(self, Colorf(1.0, 0, 1.0)) self.signal_connect() self.properties = [ StringProperty("Script", "script", ""), BoolProperty("Button", "button", False), InlineRectProperty(), ]
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("Name", "name", "", optional=True), BoolProperty("Running", "running", default=True, optional=True), SpriteProperty("Sprite", "sprite"), PathProperty("Path", "path") ]
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)]
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): super().__init__() self.objmap_object = make_rect_object(self, Colorf(0, 1.0, 0)) self.signal_connect() self.properties = [ TilemapProperty("FadeTilemap", "fade-tilemap", optional=True, placeholder="No tilemap"), StringProperty("Script", "script", "", optional=True, placeholder="Empty script"), StringProperty("Message", "message", "", optional=True, translatable=False, placeholder="Empty message"), InlineRectProperty(), ]
def __init__(self): super().__init__() self.objmap_object = make_rect_object(self, Colorf(0, 0.75, 0.75, 0.75)) self.signal_connect() self.properties = [ StringProperty("Name", "name", default="", optional=True), BoolProperty("Blowing", "blowing", default=True, optional=True), FloatProperty("Speed-X", "speed-x", default=0.0, optional=False), FloatProperty("Speed-Y", "speed-y", default=0.0, optional=False), FloatProperty("Acceleration", "acceleration", default=0.0, optional=False), InlineRectProperty(), ]
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 = [ 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 = [ 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(), ]