Rizline:Chart file: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
{{DataStructureField|offset|float|Audio or chart offset. It is currently unknown if this value shifts the audio or the chart forwards, nor is it known if this value is in milliseconds or seconds (although it is more likely seconds). Always <code>0.0</code>. {{verify|Is this still true?}}}} | {{DataStructureField|offset|float|Audio or chart offset. It is currently unknown if this value shifts the audio or the chart forwards, nor is it known if this value is in milliseconds or seconds (although it is more likely seconds). Always <code>0.0</code>. {{verify|Is this still true?}}}} | ||
{{DataStructureField|lines|array|List of all lines in the chart. This part usually takes up most of the chart file.| | {{DataStructureField|lines|array|List of all lines in the chart. This part usually takes up most of the chart file.| | ||
{{DataStructureField||object|A line. {{ | {{DataStructureField||object|A line.| | ||
{{DataStructureField|linePoints|array|Line points that determine the shape and position-based colors of the line.| | |||
{{DataStructureField||object|A line point| | |||
{{DataStructureField|time|float|Time of the point (in beats).}} | |||
{{DataStructureField|xPosition|float|Position of the note relative to the canvas. As with all other X coordinates: -0.5 is the left edge of the screen, 0.0 is the center of the screen, 0.5 is the right edge of the screen. Note that the value can be outside the -0.5..0.5 range, and the line point still may be visible (for example, if the xPosition is -10.0, but the canvas x position is 10.0, the line point will be visible in the middle of the screen).}} | |||
{{DataStructureField|color|color object|Color of the point. See [[#Color object structure]] for details.}} | |||
{{DataStructureField|easeType|int|ID of the ease type used for this point. See [[#Ease type enum]] for details.}} | |||
{{DataStructureField|canvasIndex|int|ID of the canvas that the point is on.}} | |||
{{DataStructureField|floorPosition|float|Pre-calculated time of the point (in seconds). This value is not always accurate.}} | |||
}} | |||
}} | |||
}} | |||
}} | }} | ||
{{DataStructureField|canvasMoves|array|Changes of canvas position.| | {{DataStructureField|canvasMoves|array|Changes of canvas position.| | ||
Line 58: | Line 69: | ||
{{DataStructureField|value|float|Value of the key point.}} | {{DataStructureField|value|float|Value of the key point.}} | ||
{{DataStructureField|easeType|int|ID of the ease type used for this key point. See [[#Ease type enum]] for details.}} | {{DataStructureField|easeType|int|ID of the ease type used for this key point. See [[#Ease type enum]] for details.}} | ||
{{DataStructureField|floorPosition|float|Pre-calculated time of the key point (in seconds). This value is not always accurate | {{DataStructureField|floorPosition|float|Pre-calculated time of the key point (in seconds). This value is not always accurate.}} | ||
}} | }} | ||