Skip to content
seiya058904Public

About

A short, explosive pixel auto-battler for the browser — 3 scenes, 3 bosses, 12 auto-cast skills, and all 244 PixelFX effects in play.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Original FX Rush pixel-style illustration: an ivory knight with a crimson scarf swings a sword toward a mint-colored slime
ORIGINAL VECTOR COVER · ACTUAL GAMEPLAY CAPTURES BELOW

⚔️ FX RUSH

Every swing a spectacle. Every kill a firework. Seven minutes of pure pixel carnage.

A short, explosive side-view pixel auto-battler that runs in your browser.
The hero fights on his own (or switch to manual and fight yourself); you pick a power at every level-up,
and watch the screen turn into a symphony of 242 hand-crafted PixelFX effects.

▶ Play in Your Browser  ·  🎮 The Rush  ·  📷 Gameplay  ·  ⌨️ Controls  ·  ⚙️ Run Locally

THREE SCENES  ·  THREE BOSSES  ·  12 AUTO-CAST SKILLS  ·  242 / 244 PIXELFX EFFECTS IN PLAY  ·  100% OFFLINE

Play in the browser Canvas 2D at 320×180 PixelFX 0.3.0 Vite 8

FX Rush title screen: the ivory knight showing off a flaming sword cut in front of frozen ruins under a cloudy moonlit sky
REAL IN-GAME CAPTURES · NATIVE 320×180, SCALED 3×


Three seconds after you click, the first slime is already flying.

A knight in ivory armour and a crimson scarf walks into three hostile worlds. He finds the nearest monster and fights in combos — opener, link, finisher — conjuring a different weapon for each of PixelFX's twelve melee acts (sword, claws, daggers, whip, spear, fist, hammer, scythe), dealt from shuffle bags so they keep changing, while every skill you pick fires by itself in rotation. Prefer to fight yourself? Switch to manual: walk, jump and click toward the side you want to cut. Fill the RUSH meter and he performs a whole PixelFX move: a meteor call, a rocket launcher, a dash through the crowd.

🎮 The Rush

🔥 01 · Ember Forge

余烬熔炉 · SLIMES · SKULLS · KNIGHTS

Lava slimes, flaming skulls that dive and spit fireballs, ash knights and claw ghouls. Explosive barrels, forge cannons and a meteor shower — then the Cinder Colossus breaks out of the floor.

❄️ 02 · Frozen Ruins

冰封遗迹 · GHOSTS · LANCERS · ARCHERS

Aurora over a frozen colonnade. Ghosts, frost crows, ice wisps, spearmen, archers and whip witches; geysers, a healing fountain and a tornado — and the floating Glacier Warden.

🌌 03 · Neon Void

霓虹虚空 · EYES · REAPERS · GUNNERS

A black sun over a synthwave grid. Laser eyes, plasma jellyfish, scythe reapers, smoke-bombing gunners and jet troopers — and the final Void Oculus, who goes out in a nuclear bloom.

Grow fast, grow loud. Kills drop experience; every level offers three cards. Twelve skills — Blade Waves, Chain Lightning, Inferno, Frost Nova, Arcane Barrage, Black Hole, Aegis, Meteor, Thunder, Holy Smite, Earth Fury, Plague — each gain five levels, and every level changes what you see. They feed each other: frozen monsters shatter under fire, poison spreads on death, kill explosions chain into more kills. A 150-hit combo stops time.

Feel every hit. Each blow is a PixelFX act: a real wind-up, the contact frame, a freeze tuned by weight (budgeted so a crowd never stalls the game), knockback, squash, a flash, a small damage number (merged per enemy so a flurry stays readable) and its sound on the same frame. Normal hits, crits, area blasts and boss finishers each read differently.

Readable chaos. Bosses and elites telegraph with a red rune, a raised fist, a scanner lock or an opening pool — and the hero's AI reads those tells too, stepping out of marked zones and jumping shock waves, so you can play fully idle.

📷 Gameplay

Ember Forge: the hero cutting through lava slimes with blade waves and fire
Ember Forge · braziers, ash and kill explosions
The Cinder Colossus, a hulking basalt golem with glowing lava cracks
Cinder Colossus · slams, fire breath, meteors
Frozen Ruins: aurora, snow and frost novas
Frozen Ruins · frost nova, ice spikes, snow
The Glacier Warden, a floating faceted crystal with icicle crown
Glacier Warden · icicles, tidal wave, blizzard
Neon Void: thunder strikes and black holes on a neon grid
Neon Void · thunder, black holes, gunners
The Void Oculus, a giant eye with tentacles under a black sun
Void Oculus · beams, grasping hands, star fall
Level-up: three skill cards over the fight
Level up · three cards, the fight stays visible
Victory screen with run stats, the skill build and cherry blossoms
Victory · confetti, fireworks, your build

⌨️ How to Play

Action Mouse / keyboard Touch
Switch mode: auto (default — the hero fights by himself, you watch and pick cards) / manual Tab · title strip · pause menu title strip · pause menu
Manual: attack toward the clicked side (combos and weapons rotate as in auto) click left / right of the hero tap
Manual: move A / D · ← / → —
Manual: jump Space · W · ↑ swipe up
Skills, RUSH ultimates automatic in both modes automatic
Pick a level-up card 1 / 2 / 3 · click · ←/→ + Enter (auto-picks after 6 s) tap
Pause & settings (shake, flashes, auto-pick, quality, volume) Esc · P II top-right
Mute M pause menu

A run is three scenes and three bosses, about 7 minutes. One second wind per run; the boss key ends each scene.

You can carry six different skills; upgrading an owned skill does not take another slot. The level-up screen shows the occupied slots. Open 本局构筑 (Run Build) from pause or results to review skill names, levels, acquired upgrades and stat-card counts. Results retain both skills and stat cards; a new run starts with an empty build.

Greed's XP bonus applies when loot is collected, carrying fractional XP forward even on single-point drops. Elite chests contain 20 base XP, with Greed applied when their gem is collected. Power stars grant one temporary attack-speed bonus and invulnerability; another star refreshes the duration. Slows and stars leave permanent stat-card upgrades intact when they expire.

On touch screens, a larger pause button opens a menu with a separate settings page. In portrait, level-up choices sit below the fight with readable descriptions; tap the countdown to turn automatic selection off or on. Settings take effect on the current choice, and turning automatic selection back on gives you six fresh seconds. Touch manual mode supports tapping to attack and swiping up to jump; walking still needs a keyboard. Touch results also use readable screen-sized controls, with the celebration still visible above them in portrait. Native dialogs keep Tab/Shift+Tab inside the menu and return focus when closed; Escape steps back from build/settings.

If essential combat resources fail to load, the title offers Reload instead of starting an incomplete run. Optional scenery and decorative effects can arrive later. Turning flashes off also suppresses the large black-and-white impact frames used by ultimates and boss finishes. Hostile projectiles keep a small directional pixel marker if their visual effect is missing or retired, so a failed effect cannot make a damaging projectile invisible. Burning damage over time preserves freeze; direct fire hits and direct critical hits can still trigger the shatter synergy.

⚙️ Run Locally

npm ci
npm run dev        # http://localhost:5173 — the game;  /fxlab.html — the FX Lab
npm run build      # static site in dist/, deployable to any static host

Requires Node 20.19+ or 22.12+ (tested on Node 24). No backend, accounts or network services: the build runs fully offline.

🧪 PixelFX, All of It

FX Rush is built on PixelFX (MIT) — 244 pixel-art effects written as code. The library is vendored unmodified at a pinned commit under third_party/pixelfx/ (UPSTREAM.md) and loaded lazily, one chunk per category.

Measure (npm run audit) Count
Effects in the upstream index / vendored files 244 / 244
Load and pass the headless self-test (draws, stays in bounds, ends or stops) 244 / 244
Wired into game code 242 / 244
Seen on screen in recorded play sessions 242 / 244

Two effects are deliberately kept out of play because their big full-canvas bursts covered the fight: ui/crit-number (the CRIT starburst) and explosions/cartoon-pow (POW!/WOW!). Both still load, pass the self-test and can be previewed in the FX Lab.

Every effect has a job — monster bodies (critters), the hero's and enemies' attacks (melee acts and moves), skills, statuses wrapped round each monster's real silhouette, deaths, loot, UI, scenery, weather, sky, screen transitions. The full table with each effect's role is in docs/COVERAGE.md. The FX Lab (/fxlab.html) previews any effect with its act and re-runs the self-test in the browser through the same loader the game uses.

🛠️ Under the Hood
  • Rendering: PixelFX's two-buffer frame (color + additive light) at 320×180, composited over a parallax background so every glow lights the scene; integer scaling with nearest-neighbour filtering.
  • Characters: the hero and every knight are PixelFX's 3D skeleton rig with custom skins; monsters are PixelFX critters baked lazily into sprite frames (hit flash, tints, squash). Bosses are original procedural pixel art drawn with the PixelFX painter.
  • Effect director: priorities and budgets per quality level, per-category trimming of long tails, baked scenery loops, throttled full-screen weather, measured visual centres for placement, runtime coverage tracking.
  • Feel: fixed 60 Hz logic, hit-stop budget, slow motion for big moments, capped and reducible screen shake, recorded sound effects with level-matched variants, plus chiptune cues and music per scene and boss synthesized with Web Audio (which also stands in for any sample that has not loaded).
  • Performance: automatic quality (drops non-essential detail first, never the contact frame). Measured on Windows Chrome 156, Ryzen 7 9700X / RX 7900 XT, 1280×720 window: typically 4–9 ms of CPU per frame at full detail, comfortably above 60 FPS; with 4× CPU throttling the game falls back to its lowest quality level.
src/engine/     PixelFX adapter, input, audio (samples and Web Audio synth), pixel text, screen
src/fx/         effect director, palettes, generated registry, roles, custom effect
src/game/       hero, monsters, bosses, skills, combat, statuses, stages, loot
src/render/     scenes, HUD, cards, screens, icons
src/dev/        FX Lab
tools/          registry generator, effect self-test, coverage audit, e2e play tests, sound pipeline
third_party/    PixelFX, vendored at a pinned commit

Verification, Without Guesswork

  • npm run smoke — checks drawing, canvas bounds, lifecycle and frame cost for all 244 effects (same bounds rule as upstream tools/check.mjs). Latest local validation results are recorded in docs/ROADMAP.md.
  • npm test — 24 regressions covering skill lifecycles, cast counters, freeze/shatter rules, complete build snapshots, projectile fallback rendering/collisions, fractional XP and chest rewards, and overlapping temporary buffs.
  • npm run build && npm run test:browser — ten focused browser checks: input boundaries, mixed mouse/keyboard card selection, immediate settings, flash suppression, production resource failures and recovery, slow loading, and portrait/ landscape touch menus, build inspection, dialog focus, touch results and visible fallback projectiles. Uses installed Chrome locally and Playwright Chromium in CI.
  • npm run e2e (needs a running dev server and local Chrome) — a full idle run with real damage that clears all three bosses, six god-mode build sessions that drive every skill to level 5 across all scenes, a rare-branch session, manual controls (click, move, jump, pause, focus loss, four window sizes, restart, back to title, death and retry) and a touch-phone session. Screenshots are kept in docs/screenshots/. Pass --out <directory> to keep screenshots and the runtime report outside the repository. Idle runs must win all three stages, and build sessions fail if they do not clear their stage in time.
  • CI (.github/workflows/pages.yml) checks the registry against the vendored tree, runs the skill tests, self-test and audit, builds, runs the focused browser checks, and deploys to GitHub Pages; Markdown/docs-only changes skip it.

🎨 Credits & License

  • Effects, runtime and character rig: PixelFX by Patch, with parts adapted from Hugo Duprez's Sprite Fusion VFX and Hollow Crown — MIT (LICENSE, NOTICE). The non-MIT Patch Pixel gallery font is not included.
  • Chinese UI font: Fusion Pixel Font 10px — SIL Open Font License 1.1, bundled unmodified with its component licenses in public/fonts/fusion-pixel/.
  • Sound effects: from Freesound, modified for the game, under CC0 or CC BY. Every file, author and license is listed in public/audio/CREDITS.md.
  • Bosses, scenes, HUD, icons, synthesized sounds and music: original to FX Rush.

The original FX Rush code, art, synthesized sound and branding are © seiya058904, all rights reserved — see LICENSE. Third-party components keep their own licenses.


Click once. Then let it rain.
FX Rush · built on PixelFX

About

A short, explosive pixel auto-battler for the browser — 3 scenes, 3 bosses, 12 auto-cast skills, and all 244 PixelFX effects in play.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages