ToshA_RhythmBattleIntegrated — Update: Standalone Rhythm Game
What's New
The rhythm game now works independently from battles. You can launch a rhythm mini-game from any map event — no enemies, no battle system. Just music, notes, and a results screen at the end.
New Plugin Parameters
Rhythm Battle in Combat ON/OFF rhythm battles during regular encounters. If OFF — battles remain standard, rhythm is available only via events.
Standalone Background Default background image for standalone rhythm game (img/pictures/). If empty — black screen.
New Plugin Commands
Start Rhythm Game (Standalone)
Launches a rhythm mini-game outside of battle. The track plays until the end, then a results screen with statistics and score is displayed.
Track ID - track to play
Difficulty - Difficulty level
Score Variable - Game variable to store the score (0 = don't store)
Score Mode - Overwrite the variable value or add to the current one
Result Switch - Turned ON after the game ends (0 = don't use)
Background - Background for this session (img/pictures/). If empty — uses default from plugin settings
Score formula: Perfect x 100 + Good x 50 + MaxCombo x 10
Toggle Rhythm Battle
Enables or disables rhythm battles in regular combat during runtime.
Enabled ON = rhythm battles active, OFF = standard battles
Usage Examples
Rhythm as a mini-game (no battles):
- In plugin parameters set "Rhythm Battle in Combat" = OFF
- Configure tracks in "Track List" as usual
- In an event call the "Start Rhythm Game" command with the desired track
- The player plays until the track ends, sees statistics, returns to the map
- The score is stored in the variable, the switch is turned on — use them for rewards/conditions
Rhythm battle + mini-game together:
- Set "Rhythm Battle in Combat" = ON
- Regular battles run with the rhythm system
- Additionally launch standalone rhythm games from events as a mini-game
Runtime switching: Use the "Toggle Rhythm Battle" command to enable or disable rhythm battles on the fly — for example, unlock them after a certain story point.
Map BGM is automatically saved and restored after returning from the rhythm game.