fx
Game feel: hit-stop and goal slow motion (engine.holdTimeScale), camera shake the match camera adds through `Fx.cameraOffset()`, ball streak and super-shot flame on the ball, turf kick-up, confetti, and the arena's hooks (`arena.celebrate`, `crowdCheer`, `netHit`) when the arena…
fx
Game feel: hit-stop and goal slow motion (engine.holdTimeScale), camera shake the match camera adds through Fx.cameraOffset(), ball streak and super-shot flame on the ball, turf kick-up, confetti, and the arena's hooks (arena.celebrate, crowdCheer, netHit) when the arena module exists. Plays the fx.football effect.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2strict
effect( ) → any
playEntry(entry: string, opts: any) → any
| arg | type | description |
|---|---|---|
| entry | string | |
| opts | any |
releaseAll( ) → void
sweep( ) → void
hold(scale: number, seconds: number) → void
| arg | type | description |
|---|---|---|
| scale | number | |
| seconds | number |
releaseTime( ) → void
Take every fx time hold off now (phase changes, pause, quit); the rate goes back to what stood before.
holdCount( ) → number
How many fx time holds stand right now.
hitStop(seconds: number?) → void
A short freeze on contact (seconds of real time, 0.04 for a shot).
| arg | type | description |
|---|---|---|
| seconds | number? |
slowMo(scale: number?, seconds: number?) → void
Run the game slower for a stretch of real time (0.3x for 1 s on a goal).
| arg | type | description |
|---|---|---|
| scale | number? | |
| seconds | number? |
shake(amount: number) → void
Kick the camera: amount in metres of displacement (0.05 soft .. 0.4 huge).
| arg | type | description |
|---|---|---|
| amount | number |
cameraOffset( ) → vector
The offset the match camera adds to its position this frame.
ballEntity( ) → any
stopHandle(key: string) → void
| arg | type | description |
|---|---|---|
| key | string |
ballTrail(kind: string) → void
Start the streak behind the ball (fast shots) or the flame (super shots): puffs dropped at the ball's world position every frame, each staying where it was left, so the trail hangs in the air behind the ball.
| arg | type | description |
|---|---|---|
| kind | string |
lowQuality( ) → boolean
dropPuffs( ) → void
kickUp(pos: vector, power: number?) → void
A burst of grass and dirt at a ground position (kicks, tackles, landings).
| arg | type | description |
|---|---|---|
| pos | vector | |
| power | number? |
confetti(pos: vector?) → void
Gold and green confetti over the pitch (used when the arena has no celebration of its own).
| arg | type | description |
|---|---|---|
| pos | vector? |
arena( ) → any
arena(name: string, ...: any) → boolean
Call the arena's hook `name` (celebrate, crowdCheer, netHit) when the arena has it. Returns whether it ran.
| arg | type | description |
|---|---|---|
| name | string | |
| ... | any |
tick(dt: number) → void
Per-frame upkeep (shake decay, trail lifetimes). `dt` is real seconds.
| arg | type | description |
|---|---|---|
| dt | number |
clear( ) → void
Stop everything (match ends or quits).
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.