A pixel art painter geared specifically at NES pixel art. Includes export for .chr binary file as well as palette and namespace data.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

18 lines
364B

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