Difference between revisions of "Worm"
From Worms Knowledge Base
(See also -> Worm walking) |
Qwertyxp2000 (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{ParentArticle|[[Game logic]]}} | {{ParentArticle|[[Game logic]]}} | ||
+ | [[file:Various Worms in WA.png|thumb|Various worms on a terrain, with some worms taking damage from an attack. Worms with less than 30 health breathe desperately. Some worms are idling.]] | ||
A [[worm]] is the primary controllable [[game object]] in every Worms game. It exists as a part of a [[team]] and is controlled by that team's controller. Each worm inherits all the usual game object attributes, plus has several of its own variable attributes: team, name, state (such as standing, walking, falling, rolling, or drowning), selected weapon, aiming angle, health, whether it has [[Cheats (Worms Armageddon)|God mode]], and whether it is anchored. The visible sprite is determined by its state. | A [[worm]] is the primary controllable [[game object]] in every Worms game. It exists as a part of a [[team]] and is controlled by that team's controller. Each worm inherits all the usual game object attributes, plus has several of its own variable attributes: team, name, state (such as standing, walking, falling, rolling, or drowning), selected weapon, aiming angle, health, whether it has [[Cheats (Worms Armageddon)|God mode]], and whether it is anchored. The visible sprite is determined by its state. | ||
Revision as of 07:04, 22 July 2024
A worm is the primary controllable game object in every Worms game. It exists as a part of a team and is controlled by that team's controller. Each worm inherits all the usual game object attributes, plus has several of its own variable attributes: team, name, state (such as standing, walking, falling, rolling, or drowning), selected weapon, aiming angle, health, whether it has God mode, and whether it is anchored. The visible sprite is determined by its state.
Each worm has an irregularly-shaped collision mask (also known as a "hit box", but we say "collision mask" due to its irregular shape) which is 9 pixels wide at its widest and 16 pixels tall at its tallest. This collision mask always has the same size and shape, regardless of the worm's state.