Worm

From Worms Knowledge Base

Revision as of 11:43, 6 December 2021 by Ledan (Talk | contribs) (Removed unneccesary links for Team (page doesn't exist) and Game Object (again, page does not exist) and made God Mode link to the Cheats wiki page.)

Jump to: navigation, search
(Up to Game logic)

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.

Personal tools