Repository navigation
Adding a New Song
First of all, you need your song's audio. You only need an audio file with your music called music.ogg.
It should be located in assets/songs/[song-name]/music.ogg.
Additionally, it can also be a .wav file.
Now, you need your chart.
For your chart, copy this empty template:
{
"song": "Song Name",
"notes": [],
"bpm": 100,
"timeSignature": [4, 4]
}It should be called chart.json and should be located in assets/songs/[song-name]/chart.json.
To chart your song, go to PlayState.hx and then press "7" to go to ChartingState.hx.
When you're done charting, simply save it by using Save Chart or Save Chart As.
Denpending on what you choose, it should save in assets/songs/[song-name]/chart.json or ./[song-name].json.
To add your song to the Song Selection Menu, go to assets/data/songs/songs.json.
Then, to add your song, use this template:
{
"name": "Song Name",
"diff": 1
}Now, for your song's cover, it should be in assets/images/covers/[song-name].png.
Keep in mind, your song's name should be lowercase and any spaces should be replaced with a dash.
Also, the size of your cover should be a square, preferably 720 x 720.