This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.
Cannon
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.)
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 | |
---|---|
Icyland | Bouncing Snowball Captain Snowball · Crystallo · Fish · Flying Snowball · Jumpy · Krush and Krosh · Mr. IceBlock · Mrs._IceBlock · Mrs. Snowball · Sleeping Spiky · Snowshot · Snowman · Snowball · Spiky · Stalactite |
Forest world | · Igel · Ispy · Mole · Owl · Spike · SkyDive · Poison Ivy · Snail · Walking leaf · Walking tree · Will-o-wisp · Zeekling |
Tropical Island | · Spider · Tikitchokwe · Toad |
Any world | Cannon · Flame (for castle only) · Haywire · Short Fuse · Mr. Bomb |