๐ŸŽน Neon Tiles - When the Saints Go Marching In

By Neon Piano

Neon Piano

0 subscribers

Based on the following code

๐ŸŽน Neon Tiles - La Campanella

๐ŸŽน Neon Tiles - La Campanella

Neon Piano

22 views ยท 21d ago

18 viewsยท18d ago

#rhythmgame #game #music

A neon-styled 4-lane rhythm game built around the New Orleans gospel-jazz march โ€” "When the Saints Go Marching In" โ€” the chart was transcribed directly from sheet music and runs through the full 8-bar verse top to bottom, with the final cadence tweaked to land on the more familiar Cโ€“Dโ€“C ending. Cyberpunk visuals with a cyanโ†’magenta gradient palette, ambient drifting tiles on the start and game-over screens, and the Orbitron typeface drop the Dixieland brass-band classic straight into a synthwave second line.

๐ŸŽฎ How to Play

  • Tap / Click โ€” Tap tiles on mobile, or click them with the mouse on desktop.
  • Keyboard โ€” Use A S D F for the four lanes (left โ†’ right).
  • Hold notes โ€” For taller tiles, keep the key/finger pressed until the tile clears.
  • Pause โ€” Space or P
  • Mute / Unmute โ€” M
  • Quick start / restart โ€” Press D while any overlay is showing.

โœจ Features

๐ŸŽต Real Score, Real Pitch

  • 8 measures of melody โ€” a single full verse of "When the Saints Go Marching In" (the score includes 7 verses of lyrics on the same 8 bars; the chart plays the music once).
  • Every note plays at its actual pitch in C major across the song's tight melodic fifth + step (C4 โ†’ G4) โ€” the narrowest melodic range in the batch, sitting entirely inside a single hand position on a piano.
  • Tempo is โ™ฉ=100 in 4/4 time, with each game beat = one eighth note (300 ms) โ€” the score marks โ™ฉ=60 (a slow rehearsal speed), but the chart uses the more familiar Dixieland march pace.

๐ŸŽถ Pickup Rest + Pickup Notes

  • The chart opens with an eighth REST + 3 pickup 8th-notes (C4โ€“E4โ€“F4) before landing on the first G4 quarter at the downbeat of m1 โ€” a brief ยฝ-beat "ready" pulse before the song's iconic "Oh when the saints" ascending pickup figure.
  • Each of the song's first three lines repeats the same pickup pattern + held G4 โ€” the marching figure that gives the song its irresistible step.
  • The final cadence has been tweaked: the source score writes D4โ€“D4โ€“C4 on "mar-ching in" (โ™ฉ-โ™ฉ-โ™ฉ), but the chart rewrites it to C4โ€“D4โ€“C4 ("Cโ€“Dโ€“C") to match the more common arrangement that lands on the tonic at the start of the final phrase.
  • No bursts. The melody is built entirely from 8th- and quarter-and-longer notes in a clean march grid.

๐Ÿš€ Progressive Difficulty + Cycle Flash

  • BPM increases by +12.5% per cycle (100 โ†’ 113 โ†’ 127 โ†’ 142...). Cycle 3 hits full parade pace.
  • Each cycle is also transposed up by a whole step (2 semitones), sending the brass-band tune ever higher.
  • Cycle transition flash: every new cycle pops up a centered CYCLE 2 / โ™ช +2 ยท โšก +12% banner with a scale-and-glow animation.

๐ŸŽจ Neon Polish

  • Cyan โ†’ blue โ†’ purple โ†’ magenta per-lane gradient, glowing tube borders, scanline textures inside the active press zone, ambient drifting tiles behind every overlay, and an animated START button that slides down into the game.
  • Visible miss feedback: red flash + dissonant low buzz with downward portamento on any miss.
  • Forgiving holds (75% duration counts, soft gradient fade at the top edge) and smart lane distribution that avoids consecutive same-lane spawns.

๐ŸŽผ Scoring

  • 10 points per beat cleared (so a 2-beat hold = 20, the recurring 4-beat G4 march hold = 40).
  • High score saved locally.

๐Ÿ› ๏ธ Tech Stack

  • Pure HTML / CSS / JavaScript, zero dependencies, single self-contained .html file โ€” drop it anywhere and play.
  • HTML5 Canvas + Web Audio API square-wave synthesis.
  • Chart auto-generated from MusicXML via a custom Python converter, plus a custom post-processing step that rewrites the final-cadence D4 โ†’ C4 so the song lands on the more common "Cโ€“Dโ€“C" ending.

๐Ÿ’ก Things to Try

  • The chart has the narrowest melodic range in the batch (C4 โ†’ G4, just a fifth). Every tile sits inside a single hand position โ€” making it the most "you can play it on the piano too" friendly song of the five.
  • Feel the pickup figure on every line: "Oh when the saints" / "Oh when the saints" / "Oh when the saints go" โ€” the chart's recurring rhythmic motif. Lock into it once and the rest of the song carries itself.
  • The 8th rest at the very start is a brief half-beat (300 ms) of silence before any tiles start falling โ€” a tiny "ready" pulse, then the first C4 pickup arrives.
  • The final C4โ€“D4โ€“C4 cadence ("mar-ching in") is the chart's signature rewrite of the source score's D4โ€“D4โ€“C4 โ€” listen for the lift onto the tonic at the start of the closing phrase.

Loading comments...

Other Codes

No other codes yet