ffc#
Inherits: sprite
โFreeform comboโ (FFC) represent combos that may move freely around the screen, not tied to the grid.
Load with Screen->LoadFFC().
Variables#
const int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
int |
|
int |
|
int |
|
untyped[] |
|
int |
|
int |
Enumerations#
Used with ffc::Flags[].
FFCFlag FFCF_OVERLAY = 0
Draw Over (draw between layers 4 and 5).
FFCFlag FFCF_TRANS = 1
Translucent.
FFCFlag FFCF_SOLID = 2
Solidity (Partially Implemented).
FFCFlag FFCF_CARRYOVER = 3
Carry Over.
FFCFlag FFCF_STATIONARY = 4
Stationary.
FFCFlag FFCF_CHANGER = 5
Is A Changer.
FFCFlag FFCF_PRELOAD = 6
Run Script On Screen Init.
FFCFlag FFCF_LENSVIS = 7
Only Visible to Lens of Truth.
FFCFlag FFCF_RESET = 8
Script Resets When Carried Over.
FFCFlag FFCF_ETHEREAL = 9
The FFCโs Combo Type is ignored.
FFCFlag FFCF_IGNOREHOLDUP = 10
The FFC is updated while Link is holding up an item.
FFCFlag FFCF_IGNORECHANGER = 11
The FFC ignores changers.
FFCFlag FFCF_IMPRECISIONCHANGER = 12
The FFC is affected by changers if it is within 1px on both axis, not subpixel alignment.
FFCFlag FFCF_LENSINVIS = 13
Not visible to the lens of truth.
Variable descriptions#
The FFCโs ID. Valid values are between 1 and MAX_FFC.
The general formula for an FFCโs ID is the following:
> id = (screen region offset)*128 + (index into screenโs ffc array) + 1
where โscreen region offsetโ refers to the index of the screen in the current region, like so:
0 1 2
3 4 5
6 7 8
The combo ID used by the FFC for its visuals and type.
The layer the FFC draws on. Unused if FFCF_OVERLAY is set.
The FFC script ID running on this FFC.
The time in frames before the FFC will begin moving.
X velocity.
Y velocity.
X acceleration.
Y acceleration.
index FFCFlag (FFCF_)
Flags for the FFC.
The hitbox width, in pixels (1 to 64), of the FFC. Unless the FFC is ffc::Flags[], the type of its combo will affect this area. NOTE: Not all combo types function when placed on FFCs.
The hitbox height, in pixels (1 to 64), of the FFC. Unless the FFC is ffc::Flags[], the type of its combo will affect this area. NOTE: Not all combo types function when placed on FFCs.
Represents the ID of another FFC this one is โlinkedโ to.
The 8 InitD[] parameters for the FFCโs script.