Skip to content

SammTavv/BeatblockLevelGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Beatblock Level Generator

A console application to automatically generate custom levels for Beatblock.

Setup

Install the latest release and run BeatblockLevelGenerator.exe.
You will be prompted to write the level name, this will generate a new folder in AppData/Roaming/beatblock/Custom Levels if it doesn't already exist.
After that, you'll have to include a MIDI (.mid) file path and a song (.ogg) file path, as well as the song's BPM. The program will copy the files to the level folder.
The program also asks you if you have the BeatTools mod installed because the level data is a bit different.
After it has successfully generated notes, refresh the Custom Levels page to view changes.

Functionality

The program will place note events based on MIDI notes, randomly choosing an angle.
Some notes will have specific properties based on MIDI notes, for example, Bounces, Holds and Mineholds will end on the next note.
MIDI tempo and swing changes won't affect note placements.

Generator settings

You can change the level generation settings by typing s in the console. Here are the available settings:

  • extra tap chance: the chance of an Extra Tap being placed (0-1)
  • block chance: the chance of a Block being placed (0-1)
  • bounce chance: the chance of a Bounce being placed (0-1)
  • hold chance: the chance of a Hold being placed (0-1)
  • mine hold chance: the chance of a Minehold being placed (0-1)
  • mine chance: the chance of a Mine being placed (0-1)
  • side chance: the chance of a Side being placed (0-1)
  • inverse chance: the chance of an Inverse Block being placed (0-1)
  • has tap chance: the chance of any note to require a press (0-1)
  • hold angle difficulty: the maximum rotation of a 0.5 beats Hold
  • max bounces: how many times Bounce notes have to bounce before the next note
  • max angle spread: the maximum angle between every note (0 for no angle spread)
  • random colors: whether to randomly generate the level colors (0 for false, anything else for true)

Extra

In the release i included a demo level made with Beatblock Level Generator using the default settings. You can copy the midi and song files to test how it works!
Aight this took me like 6 days im tired, have fun lol

About

A console application to automatically generate custom levels for Beatblock.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors