How funkincrew/funkin works
Friday Night Funkin’ is a HaxeFlixel rhythm game, distributed for web, desktop, and mobile. Its principal user workflow is selecting and playing songs, responding to timed notes, and reaching a results state; the source tree also identifies chart editing, mod support, and platform integrations as meaningful capabilities. The README confirms the product and modding support, while gameplay links below are dashed because the relevant Haxe implementations were not sampled. Android callback wiring is directly visible in the sampled Java source.
Main entry points: PlayState.hx Song Play · mainmenu Game Menus · Main.hx Funkin Game · freeplay Freeplay
Components 21
Rhythm Gameplay
- Funkin Game
source/Main.hx - Song Play
source/funkin/play/PlayState.hx - Song Runtime
source/funkin/play/song/Song.hx - Notes and Strumlines
source/funkin/play/notes/Strumline.hx - Scoring
source/funkin/play/scoring/Scoring.hx - Results
source/funkin/play/ResultState.hx
Game Content
- Content Registries
source/funkin/data - Song Data
source/funkin/data/song/SongData.hx - Characters and Stages
source/funkin/play/character/BaseCharacter.hx
Menus and Tools
- Chart Editor
source/funkin/ui/debug/charting/ChartEditorState.hx - Game Menus
source/funkin/ui/mainmenu - Freeplay
source/funkin/ui/freeplay - Story Mode
source/funkin/ui/story
Modding and Platform
- Mod Loader
source/funkin/modding/PolymodHandler.hx - Script Modules
source/funkin/modding/module/ModuleHandler.hx - Android Callbacks
source/funkin/external/android/java/funkin/extension/CallbackUtil.java - FNFC Import
source/funkin/external/android/java/funkin/extension/FNFCExtension.java - Data Folder Access
source/funkin/external/android/java/funkin/provider/DataFolderProvider.java - Newgrounds Services
source/funkin/api/newgrounds/NewgroundsClient.hx
Other components
- Player
- Newgrounds
Connections 17
- Player → Funkin Game: plays
- Funkin Game → Game Menus: opens
- Game Menus → Freeplay: offers songs
- Game Menus → Story Mode: offers story
- Freeplay → Song Play: starts song
- Story Mode → Song Play: starts song
- Song Play → Song Runtime: runs
- Song Play → Notes and Strumlines: handles notes
- Song Play → Characters and Stages: uses
- Song Play → Scoring: tracks score
- Song Play → Results: ends at
- Chart Editor → Song Data: edits charts
- Content Registries → Song Data: registers
- Mod Loader → Script Modules: dispatches
- FNFC Import → Android Callbacks: dispatches callback
source/funkin/external/android/java/funkin/extension/FNFCExtension.java - Player → Data Folder Access: browses files
- Newgrounds Services → Newgrounds: connects to