Cannon

From SuperTux

Jump to: navigation, search
Cannon (dispenser)
Image of Cannon (dispenser)
Found in: Icy Island, Forest
Appearance: Differs, see below.
Behaviour: Spawns new badguys at fixed or random intervals.
Squishable: yes
Burnable: yes
Butt-Jumpable: yes
Freezable: yes
Status: in development
Badguys

A Cannon is a game object that spawns new badguys. The interval in which badguys are spawned is either fixed or random. A cannon can be shot with either the fireflower (dies) or iceflower (stops it emitting new badguys). Whether or not the dispenser is squishable and butt-jumpable depends on the appearance: The trapdoor and rocket launcher types are immune to Tux standing or jumping on them, the cannon type can be broken this way.

It is also possible for the cannon to shoot inanimate, non-badguy objects (even other cannons.)

Contents

Appearance

There are three possible sprites for this object: Trapdoor, cannon and (in lack of a better word) rocket launcher. Please note that despite the name, rocket launcher is the preferred appearance, at least in Icy Island (Milestone 2).

Design considerations

This section is possibly outdated.

Mechanics

  • Spawns new Badguys
  • Interval: Fixed or random
  • Appearance: Trap door, cannon or invisible
  • Start direction of badguys: Fixed or random
  • Initial velocity of badguys: Fixed or random

Uses

  • fires rockets
  • drops badguys from a (shootable) trap door
  • spawn badguys in tubes
  • launches molten rocks out of a lava lakes
Badguys
Version 0.1 Bouncing Snowball · Flame · Flying Snowball · Jumpy · Mr. Bomb · Mr. IceBlock · Snowball · Spiky · Stalactite
Milestone 2 Cannon · Crystallo · Fish · Haywire · Krush and Krosh · Mrs. Snowball · Owl · Short Fuse · Sleeping Spiky · Snowman · Snowshot · Spike · SkyDive
Milestone 3 Poison Ivy · Snail · Spider · Walking totem · Walking tree · Zeekling
Proposed Captain Snowball · Igel · Ispy · Kugelblitz · Mole · Toad · Walking leaf · Will-o-wisp
Personal tools