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 |
|
const int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
int |
|
int |
|
int |
|
untyped[] |
|
int |
|
int |
Functions#
bool |
Trigger(int trig_index = |
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
const int ScreenFFCIndex 🔗 Source
The FFC’s index within the current screen (0-indexed).
The combo ID used by the FFC for its visuals and type.
Added in version 3.0.
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.
Function descriptions#
bool Trigger(int trig_index = 0) 🔗 Source
Added in version 3.0.
Attempts to trigger the ffc’s combo with it’s trigger number ‘trig_index’. Returns true on success, false on failure.
Added in version 3.0.