Skip to content

Commit 29e467c

Browse files
Added the notetype script directory (#89)
* p-0wuh9ouhbn09o * NOOOOOOOOOOO :sob
1 parent d4baff9 commit 29e467c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wiki/modding/scripting/playstate-scripts/events-notetypes-scripts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Making note types only consists of 2 files: the script file and the note sprites
8686

8787
Putting the sprites in ``./images/game/notes`` and naming them after the note type name will automatically replace the default note sprites with those.
8888

89-
Writing a script for the note types is very easy. Though only one script is ran for all existing note types instead of each note, you can still code actions for them. <br>
89+
The script file goes in ``./data/notes``. Writing a script for the note types is very easy. Though only one script is ran for all existing note types instead of each note, you can still code actions for them. <br>
9090
For example here is code for triggering actions when the player presses it:
9191
```haxe
9292
function onPlayerHit(event) {
@@ -95,4 +95,4 @@ function onPlayerHit(event) {
9595
boyfriend.playAnim("hurt");
9696
}
9797
}
98-
```
98+
```

0 commit comments

Comments
 (0)