How bananatiko/fnf-prismengine works
Prism Engine is a Friday Night Funkin’ game engine and modding platform. The player-facing flow is selecting a mode or song, then playing charted rhythm gameplay with characters, dialogue, stages, audio, and events; mod authors also configure content through scripts and editors. The README documents these capabilities, but source excerpts cover only the optional GameMode client header, so most subsystem links below reflect documented product features rather than inspected call sites.
Main entry points: states Rhythm gameplay · source Prism Engine · gamemode_client.h GameMode client · options Options
Components 17
Game runtime
- Prism Engine
source - Mode menus
source/states - Rhythm gameplay
source/states - Options
source/options - Achievements
source - Audio visualizers
source/objects/visualizers
Game content
- Charts and events
assets/base_game/shared/data - Character definitions
assets/base_game/shared/characters - Stages and cutscenes
source/states/stages - Dialogue
source/cutscenes - Music and effects
assets/base_game/shared/data/songs
Modding tools
- Mod support
source - Lua scripting
source/psychlua - Content editors
source/states/editors
Platform services
- GameMode client
source/external/gamemode_client.h
Other components
- Player
- libgamemode
Connections 15
- Player → Prism Engine: plays
README.md - Prism Engine → Mode menus: presents
README.md - Mode menus → Rhythm gameplay: starts gameplay
README.md - Rhythm gameplay → Charts and events: uses charts
README.md - Rhythm gameplay → Character definitions: uses characters
README.md - Rhythm gameplay → Stages and cutscenes: uses stages
README.md - Rhythm gameplay → Dialogue: shows dialogue
README.md - Rhythm gameplay → Music and effects: plays audio
README.md - Prism Engine → Mod support: supports mods
README.md - Mod support → Lua scripting: runs scripts
README.md - Mod support → Content editors: provides editors
README.md - Player → Options: configures
README.md - Rhythm gameplay → Achievements: tracks awards
README.md - Rhythm gameplay → Audio visualizers: uses visualizers
- GameMode client → libgamemode: loads symbols
source/external/gamemode_client.h