You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/08-custom-notestyles/08-00-custom-notestyles.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
3
3
This chapter will walk you through the process of creating a functioning, fully compatible Friday Night Funkin' mod, using the game's official systems for loading custom content and scripts. Once your mod is complete, you will be able to place it in the `mods` folder in your game install and use its content in-game without overriding the base game content and still maintain compatibility with other mods.
4
4
5
-
This chapter goes over adding new note styles to the game, and using them in a level.
5
+
This chapter goes over adding new Note Styles to the game, and using them in a song.
Copy file name to clipboardExpand all lines: src/08-custom-notestyles/08-01-creating-a-notestyle.md
+119-9Lines changed: 119 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,22 @@
2
2
3
3
## Note Style Assets
4
4
5
-
In order to create your own note style, you will need up to 4 assets:
6
-
-`notes`: The general notes that are displayed in the chart, as well as in-game the player needs to hit.
7
-
-`noteStrumline`: The notes on the strumline, along with their corresponding animations, such as it being `static`, the strumline note being `pressed`, `confirming` the note hit.
8
-
-`noteSplashes`: The special effect when the player gets `Sick!` rating.
9
-
- Currently is buggy, since it doesn't use the asset you provided.
10
-
-`holdCover`: The special effect when the player is holding a note.
11
-
- Currently is buggy, since it doesn't use the asset you provided.
5
+
In order to create your own note style, you will need assets for a variety of elements:
6
+
7
+
-`note`: The general notes for the song. These display in the chart editor as well as in-game as the notes the player must hit.
8
+
-`holdNote`: The sprites for the hold notes which require the key to be held rather than pressed.
9
+
-`noteStrumline`: The notes on the strumline, which react when the player presses the keys, and provide visual feedback for when notes need to be hit.
10
+
-`noteSplash`: The special effect when the player gets `Sick!` rating.
11
+
-`holdNoteCover`: The special effect when the player is holding a hold note.
12
+
-`countdown`: The assets (both the sprites and audio) for the countdown that happens before the song starts.
13
+
-`judgementShit`: The assets for judgements, which display how well you hit a note.
14
+
-`comboNumber0`: The assets for the combo counter, which displays when you hit a certain number of notes in a row.
15
+
16
+
These assets should be placed in your mod folder, ideally somewhere organized. They don't have to be in any specific location, just one that you can directly reference from your note style's JSON data file.
17
+
18
+
## Note Style Fallback
19
+
20
+
Note styles use a recursive fallback system; essentially, you can specify just one or several assets for a note style. If a fallback note style is specified, the parent will be queried for any assets that aren't included. If the parent doesn't have an asset, ITS parent will be referenced, and so on. This allows you to easily make note styles which perform only slight variations on the style they are based on.
12
21
13
22
## Note Style Data
14
23
@@ -18,7 +27,7 @@ Below is the "funkin" (aka the default) note style json file `assets/data/notest
18
27
19
28
```json
20
29
{
21
-
"version": "1.0.0",
30
+
"version": "1.1.0",
22
31
"name": "Funkin'",
23
32
"author": "PhantomArcade",
24
33
"fallback": null,
@@ -71,16 +80,117 @@ Below is the "funkin" (aka the default) note style json file `assets/data/notest
There is quite a lot to unravel, let's break it all down.
80
190
-`version`: The version number for the Note Style data file format. Leave this at `1.0.0`.
81
191
-`name`: The readable name for the note style, used in places like the Chart Editor.
82
192
-`author`: The author of the note style, aka the artist who created the assets.
83
-
-`fallback`: The note style to use as a fallback/parent, providing a default option when the note style you are using is not available. Optional, defaults to `null`.
193
+
-`fallback`: The note style ID to use as a fallback note style. Any assets not included for this note style will use the parent's asset instead. `"funkin"` is the recommended default in order to use the default base game assets for anything that is not specified.
84
194
-`assets`: A list of asset data for each of the assets for the note style.
85
195
- See [list of assets](#note-style-assets) that you can provide the data for.
Copy file name to clipboardExpand all lines: src/08-custom-notestyles/08-02-using-a-notestyle-in-a-song.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
There are currently two ways to use your note style in a song once it's implemented.
4
4
5
-
1.*[FIXED IN 0.5.0]*Create a new chart. Open the Chart Editor, start a chart, and then select the `Notestyle` box from the `Metadata` toolbox before charting.
5
+
1. Create a new chart. Open the Chart Editor, start a chart, and then select the `Notestyle` box from the `Metadata` toolbox before charting.
6
6
2. Edit an existing chart in your mod. Open the `metadata.json` file of the song you want to modify and check in `playData` for the `noteStyle` key.
7
7
8
-
Once the chart which references your note style is in your mod folder, simply start the game with your mod installed.
8
+
Once the chart which references your note style is in your mod folder, simply start the game with your mod installed.
0 commit comments