I'm currently working on a tileset creator with CCLights2, and I'm attempting to write the output to a file, like:
{
{255, 0, 0}, {141, 250, 153}, {193, 144, 0},
{0, 0, 0}, {144, 144, 0}, {193, 153, 142}, ...
}
The Y axis is each line
And the X axis is each position on the Y.
ex. {193, 153, 142}: y=2, x=3
But instead it's outputting
{
[1] = {
[1] = {255, 0, 0},
[2] = {141, 250, 153},
[3] = {193, 144, 0},
}
[2] = ....
}
Is there a way I could write it to a file in the way I intended?
Output
Started by PixelFox, Feb 08 2016 10:26 PM
2 replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











