me too
1 Like
Can you provide an hex example? Should width and height also be formatted in hex?
//[2] cell:2x0
{
8,8,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x4,0x4,0x4,0x0,
0x0,0x0,0x0,0x0,0x4,0x4,0x4,0x0,
0x0,0x4,0x4,0x4,0x0,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
},
//[3] cell:3x0
{
8,8,
0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
},
Probably dimensions in decimal and data in hex.
That tends to be easiest to work with.
The hex effectively forms an 8x8 grid, matching the dimensions and making it easier to hand-edit if need be.
{
8, 8,
0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B,
0x0B, 0x0B, 0x0B, 0x0B, 0x05, 0x0B, 0x0B, 0x0B,
0x05, 0x05, 0x0B, 0x05, 0x05, 0x05, 0x05, 0x05,
0x03, 0x05, 0x05, 0x05, 0x05, 0x03, 0x05, 0x03,
0x0E, 0x03, 0x05, 0x05, 0x03, 0x01, 0x03, 0x04,
0x0E, 0x09, 0x03, 0x03, 0x01, 0x04, 0x04, 0x04,
0x0E, 0x09, 0x09, 0x09, 0x01, 0x04, 0x04, 0x04,
0x09, 0x09, 0x09, 0x0E, 0x04, 0x04, 0x04, 0x01,
},
2 Likes
looks good to me:-)
1 Like