Hope this helps:
"They are coordinate pairs in base 32, and lines are separated by commas.
For example, the clear track (the single line when you open the editor):
This is two coordinates: -18 1i and 18 1i. This is one line, from (-18, 1i) to (18, 1i). It's base 32, that's (-40, 50) and (40, 50) in decimal. So the default 'empty-track'-line goes from x=-44 to x=44, on y=54.
When we add a few snapped lines, their end points will be added to the current line, like so:
Code:
-18 1i 18 1i 1a 2b -1 29
This line goes from (-18, 1i), via (18, 1i) and (1a, 2b) to (-1, 29). In decimal, (-40, 50) to (40, 50) to (42, 75) to (-1, 73).
When we add non-snapped lines, they are lines on their own, so their coordinates are separated from the other lines with commas:
Code:
-18 1i 18 1i 1a 2b -1 29,17 10 1h -3,-t -k -1a p
So we have the line from the last piece, the line from (17, 10) to (1h, -3), and the line from (-t, -k) to (-1a, p). In decimal, (39, 32) to (49, -3) and (-29, -20) to (-42, 25).
However, in a full trackcode, there's also some number signs (#). An example could be:
Code:
-18 1i 18 1i 1a 2b -1 29,17 10 1h -3,-t -k -1a p#-e -28 23 -28#G 9 15 -b6,B b -f -5k,C 35 2n,T 36 1v,O 35 19#BMX
The part before the first sign is the track, so the normal lines that kill you if you hit 'em head-first. The part between the first and second sign is the scenery part, it contains all the scenery lines, they work the same as the normal lines except you don't hit them.
The part between the second and third sign holds the special objects (Checkpoints, goals, bombs, boosts, gravity things and slow-mos). This works a bit differently.
The objects are all separated by commas. They themselves consist of at least three parts: a letter, followed by the x- and y-coordinates, and optionally a direction.
The letter signifies which object it is. G = gravity, B = boost, C = checkpoint, T = goal, O = bomb.
The coordinates work as with lines, it's a pair of base 32 numbers.
The direction is only needed for boosts and gravity things, they point somewhere. This is marked with a base 32 number, in degrees.
The last part is obviously the default bike to use, which is either 'BMX' or 'MTB'."
Source:
http://forum.canvasrider.com/topic30394.htmlClick to expand...