Castagne Engine

Documentation (Dev Branch)

Castagne Engine

Getting Started

Editor

Gametypes

Intermediate

Making a Game

Pushing Castagne

Advanced

Modules

Functions Reference

Additional helper functions for the engine that don't fit in a dedicated module.

Mathematics (Advanced)

More complex mathematical functions.

Functions

Abs[1, 2][Init, Action, Manual, Subentity]
Returns the absolute value.
  • Arg 1: Variable
  • Arg 2: (Optional) Destination Variable
Cos[2, 3][Init, Action, Manual, Subentity]
Returns the cosine of an angle (in milliradians) multiplied by a variable.
  • Arg 1: Variable
  • Arg 2: Angle
  • Arg 3: (Optional) Destination Variable
Sin[2, 3][Init, Action, Manual, Subentity]
Returns the sine of an angle (in milliradians) multiplied by a variable.
  • Arg 1: Variable
  • Arg 2: Angle
  • Arg 3: (Optional) Destination Variable
CosD[2, 3][Init, Action, Manual, Subentity]
Returns the cosine of an angle (in tenths of degrees) multiplied by a variable.
  • Arg 1: Variable
  • Arg 2: Angle
  • Arg 3: (Optional) Destination Variable
SinD[2, 3][Init, Action, Manual, Subentity]
Returns the sine of an angle (in tenths of degrees) multiplied by a variable.
  • Arg 1: Variable
  • Arg 2: Angle
  • Arg 3: (Optional) Destination Variable