This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pico-8 cartridge // http://www.pico-8.com | |
version 8 | |
__lua__ | |
-- sos | |
-- by aaron cepek #onebuttonjam | |
--cos1 = cos function cos(angle) return cos1(angle/(3.1415*2)) end | |
--sin1 = sin function sin(angle) return sin1(-angle/(3.1415*2)) end | |
keys={btns={},ct={}} | |
function keys:update() | |
for i=0,13 do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colors = | |
{ | |
["black"] = 0, | |
["dark_blue"] = 1, | |
["dark_purple"] = 2, | |
["dark_green"] = 3, | |
["brown"] = 4, | |
["dark_gray"] = 5, | |
["light_gray"] = 6, | |
["white"] = 7, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var items = $('#diagram *').not('#architecture *'); | |
items.fadeOut(0); | |
$(items).each(function(i){ | |
$(this).delay(i*100).fadeIn(); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a').on('click touchstart', function(){ | |
var img_href = $(this).attr('href'); | |
var img_ext = img_href.substr(img_href.lastIndexOf('.')+1); | |
var ext_array = new Array('gif','jpg','png','jpeg'); | |
if($.inArray(img_ext,ext_array)>-1) { | |
$(this).colorbox(); | |
} | |
}); |