From 0fec68e333cdeb63a10acc3db56b58e12479529c Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange <58280776+MeowcaTheoRange@users.noreply.github.com> Date: Tue, 26 Apr 2022 21:32:03 -0500 Subject: [PATCH] Update CHARTS.md --- CHARTS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHARTS.md b/CHARTS.md index 87b17ce..f3aa071 100644 --- a/CHARTS.md +++ b/CHARTS.md @@ -145,6 +145,14 @@ Alright, the `scale` field is just the scale of your sprites. If you have failed `characters` is a list of all of the playable characters your player will be able to use. Nore really coding-related, but you will need this if you want to give your player some character variety. +The array goes like this: `[ "ID Of Character", "Name Of Character" ]` +If you're not using custom character definitions (see below), you also have 2 more values to play with: +`[ "ID", "Name", X Pos, Y Pos ]`. These define the X and Y position the character will be placed at. + +```js + [ "sonic", "Sonic", 20, 108 ] +``` + `noteTypes` is a list of strings that will define different letters of the chart as notes. `noteTypes.[anonymous](time, letter, prevStep)` is a function that's good for defining custom notes.