※このページはFirefox・Safari・Chromeで閲覧してください。
{ "protocol" : { "dialect" : "0-material", "type" : "plane", "version" : "0" }, "canvas" : { "col" : "12", "row" : "16", "width" : "6", "height" : "6" }, "brush" : { "shape" : "square", "margin_x" : "0", "margin_y" : "0" }, "tiles" : { "0" : "000111110000", "1" : "001111111110", "2" : "002223323000", "3" : "023233323330", "4" : "023223332333", "5" : "022333322220", "6" : "000333333300", "7" : "002212220000", "8" : "022212212220", "9" : "222211112222", "10" : "332131131233", "11" : "333111111333", "12" : "331111111133", "13" : "001110011100", "14" : "022200002220", "15" : "222200002222" }, "palette" : { "0" : "transparent", "1" : "rgba(220, 40, 0, 1)", "2" : "rgba(140, 115, 0, 1)", "3" : "rgba(255, 165, 60, 1)" }, "effect" : { "shadow" : "True", "shadowColor" : "rgba(187, 155, 89, 1)", "shadowBlur" : "10", "shadowOffsetX" : "5", "shadowOffsetY" : "5" } }
"tiles" : { "0" : "000111110000", "1" : "001111111110", "2" : "002223323000", "3" : "023233323330", "4" : "023223332333", "5" : "022333322220", "6" : "000333333300", "7" : "002212220000", "8" : "022212212220", "9" : "222211112222", "10" : "332131131233", "11" : "333111111333", "12" : "331111111133", "13" : "001110011100", "14" : "022200002220", "15" : "222200002222" },
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/ libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="dottiles.js"></script>
<canvas id="cs1" width="100" height="100"></canvas>
<script type="text/javascript"><!-- onload = function() { var jsonDataUrl = "mario.json"; $.getJSON(jsonDataUrl,function(json){ DotTiles("cs1",json); return; }); }; //--> </script>
"protocol" : { "dialect" : "0-material", "type" : "plane", "version" : "0" },
"canvas" : { "col" : "12", "row" : "16", "width" : "6", "height" : "6" },
"brush" : { "shape" : "square", "margin_x" : "0", "margin_y" : "0" },
"brush" : { "shape" : "circle", "margin_x" : "1", "margin_y" : "1" },
"tiles" : { "0" : "000111110000", "1" : "001111111110", "2" : "002223323000", "3" : "023233323330", "4" : "023223332333", "5" : "022333322220", "6" : "000333333300", "7" : "002212220000", "8" : "022212212220", "9" : "222211112222", "10" : "332131131233", "11" : "333111111333", "12" : "331111111133", "13" : "001110011100", "14" : "022200002220", "15" : "222200002222" },
"palette" : { "0" : "transparent", "1" : "rgba(220, 40, 0, 1)", "2" : "rgba(140, 115, 0, 1)", "3" : "rgba(255, 165, 60, 1)" },
"palette" : { "0" : "transparent", "1" : "rgba(250, 250, 250, 0.5)", "2" : "rgba(0, 150, 50, 0.5)", "3" : "rgba(255, 165, 60, 0.5)" },
"effect" : { "shadow" : "True", "shadowColor" : "rgba(187, 155, 89, 1)", "shadowBlur" : "10", "shadowOffsetX" : "5", "shadowOffsetY" : "5" }