Advertisement
Locoluis

Load PICO-8 palette in Paneljam

Jan 21st, 2022
850
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var pico = ['000000','1D2B53','7E2553','008751','AB5236','5F574F','C2C3C7','FFF1E8','FF004D','FFA300','FFEC27','00E436','29ADFF','83769C','FF77A8','FFCCAA'];(function() { function iter(i) { if(i >= 16 || i >= pico.length) { return; } jQuery('#clr-' + (i + 1)).click(); jQuery('#clr-' + (i + 1)).dblclick(); setTimeout(function() { jQuery('.colpick_hex_field input[type=text]').val(pico[i]).trigger('change'); jQuery('.colpick_submit').click(); setTimeout(function() { iter(i + 1); }, 500); }, 500); }; iter(0); })();
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement