A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

18 rindas
354B

  1. function initialize(DOC){
  2. console.log(DOC);
  3. var canvas = DOC.getElementById("painter");
  4. if (!canvas){
  5. throw new Error("DOM Missing painter canvas.");
  6. }
  7. var ctx = canvas.getContext("2d");
  8. if (!ctx){
  9. throw new Error("Failed to obtain canvas context.");
  10. }
  11. }
  12. //console.log(document.getElementByID("painter"));
  13. initialize(document);