Skip to content

Commit

Permalink
fixed indents
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowcaTheoRange authored May 8, 2022
1 parent b20d881 commit 34c439d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CHARTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ function(time, prevStep) {
```

> `customNote` is also a really good helper function for easily defining... custom notes. The internal variables `time, letter, prevStep, w, colorArray, empty,` and `funclol` are used as so:
>
>
> `time` is where you pass in the variable with the same name, just like `noteDefault`. This is same with `prevStep`.
>
> `letter` is where you put the letter that spawns the note, as a way of identification by other modules.
>
> `w` is the width of your note. You can't change the height, because... why would you need to. Default width is usually 10.
>
> `colorArray` is the color of your note. If you want to make a sprite note instead, you'll have to use Kaboom's `add()` function instead.
>
> `empty` determines if this note is empty, which means the player cannot hit this note. Instead, this note will be handled by a seperate "player", designated for only hitting these notes. Animations and actions will also be passed into another player, labelled `players.empty`.
>
> Finally, `funclol` is where you put the function that runs when you hit this note. Including this automatically makes your note "[not normal.](https://i.kym-cdn.com/entries/icons/original/000/037/442/you_are_not_normal.jpg)" Passing parameters are `empty`, `curBeat`, and `letter`.
>
> `letter` is where you put the letter that spawns the note, as a way of identification by other modules.
>
> `w` is the width of your note. You can't change the height, because... why would you need to. Default width is usually 10.
>
> `colorArray` is the color of your note. If you want to make a sprite note instead, you'll have to use Kaboom's `add()` function instead.
>
> `empty` determines if this note is empty, which means the player cannot hit this note. Instead, this note will be handled by a seperate "player", designated for only hitting these notes. Animations and actions will also be passed into another player, labelled `players.empty`.
>
> Finally, `funclol` is where you put the function that runs when you hit this note. Including this automatically makes your note "[not normal.](https://i.kym-cdn.com/entries/icons/original/000/037/442/you_are_not_normal.jpg)" Passing parameters are `empty`, `curBeat`, and `letter`.
`time` will return the current time of the song in milliseconds.

Expand Down

0 comments on commit 34c439d

Please sign in to comment.