User Tools

Site Tools


ixe:controller:cannon

This is an old revision of the document!


cannon

Fires projectiles at creeper, bots and digitalis in range. Used by several player ships.

Arguments

turbo (bool)
If true, weapon's fire rate is increased tremendously
fire_range (int)
Maximum distance in map pixels at which weapon will aim and fire at targets
manual_mode (bool)
If true, cannon aims toward cursor and fires when left mouse button is clicked; if false, cannon aims and fires automatically
rotate_speed (float)
Maximum turn rate of cannon in degrees per frame (in manual mode cannon rotates instantly to face cursor regardless of rotate_speed)
ixe/controller/cannon.1738374973.txt.gz · Last modified: 2025/02/14 14:56 (external edit)