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 = [ 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_rect_object(self, Colorf(1.0, 0, 0)) self.signal_connect() self.properties = [ FloatProperty("Distance Factor", "distance_factor", 0.1), FloatProperty("Distance Bias", "distance_bias", 200), SampleProperty("Sample", "sample", ""), IntProperty("Max Volume", "volume", 1), 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): 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 = [ FloatProperty("X", "x", default=0, optional=True), FloatProperty("Y", "y", default=0, optional=True), EnumProperty("Alignment", "alignment", default=0, optional=True, values=["none", "left", "right", "top", "bottom"]), FloatProperty("Speed (X)", "speed", optional=False), FloatProperty("Speed (Y)", "speed_y", optional=True), ImageProperty("Image (top)", "image-top", optional=True), ImageProperty("Image (middle)", "image"), ImageProperty("Image (bottom)", "image-bottom", optional=True), ZPosProperty(default=Layer.BACKGROUND0), ]