Corepox explained: the Constant
Today we look at the most used component in Corepox spaceships, the constant.
A constant is basically a numeric output. It is one of the simplest components in Corepox. However, its meaning and magnitude changes according to the number configured & the part that is connected to. Below there are two cases that show how the constant’s meaning and power, changes in different situations.
Engine <-> Constant Constant connected to an engine
An engine has an input which symbolizes its thrust. When connected to a constant, the speed of the engine is proportional to the value of the constant. If the constant is zero or less, the engine is off.
Engine <-> Lazer TurretConstant connected to a lazer turret
The lazer turret has an input that defines the direction the turret shoots. This input is called the angle input. When a constant is connected to the turret, then the turret will fire in the direction the constant specifies.
Depending on each spaceship design, this component can change power and magnitude. Now, it’s up to us to discover how to use it wisely to make our battles victorious.
Discussion