flix

0.81.0

Sprites

The artwork.

Each invader has two frames. Alternating between them as the formation marches is what makes them look like they are walking -- the original does exactly this, and it is the whole animation budget of the game.

Definitions

def bomb(): Sprite§ Source

The invaders' bomb, which tumbles as it falls. The common, slow one.

def bombFast(): Sprite§ Source

The fast bomb: a dagger, drawn straight so its speed reads as purpose.

The three bombs have to be told apart at a glance while the screen is busy, and the only channels available are shape and motion -- they are all one colour. A vertical bar against the tumbler's zigzag is the largest difference two three-pixel-wide sprites can carry.

def bombFor(kind: BombKind): Sprite§ Source

The sprite for a bomb of the given kind.

def bombWiggly(): Sprite§ Source

The wiggler: a wide zigzag, the one that tears the biggest hole in a shelter.

def bullet(): Sprite§ Source

Single laser bullet fired by player cannon.

def cannon(): Sprite§ Source

Player defense cannon sprite.

def crabA(): Sprite§ Source

Middle row invader (crab), animation frame A.

def crabB(): Sprite§ Source

Middle row invader (crab), animation frame B.

def forBlast(kind: BlastKind, ticksLeft: Int32): Sprite§ Source

The frame for a blast, given how many ticks of it are left.

def forKind(kind: InvaderKind, frame: Int32): Sprite§ Source

The frame for an invader of kind, alternating on frame.

def invaderBlast(): Sprite§ Source

The starburst an invader leaves behind.

def mystery(): Sprite§ Source

The mystery ship that crosses the top of the screen.

def octopusA(): Sprite§ Source

Bottom row invader (octopus), animation frame A.

def octopusB(): Sprite§ Source

Bottom row invader (octopus), animation frame B.

def playerBlastA(): Sprite§ Source

The cannon coming apart, in two frames so the debris flickers.

def playerBlastB(): Sprite§ Source

Explosion artwork for player destruction, frame B.

def squidA(): Sprite§ Source

Top row invader (squid), animation frame A.

def squidB(): Sprite§ Source

Top row invader (squid), animation frame B.