I hereby claim:
- I am alectroemel on github.
- I am alectroemel (https://keybase.io/alectroemel) on keybase.
- I have a public key ASBKYhHsIcUaROoPEwf1w_2vYvDhf8SLoJs1M5zpLJ6xyAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* global require */ | |
// this script iterates through all maps in the bucket | |
// and adds the "CacheControl" header | |
// if any keys fail, it will write them out to a file at the end of the crawl | |
const fs = require('fs'); | |
const _ = require('lodash'); | |
const AWS = require('aws-sdk'); | |
const Promise = require('bluebird'); |
pico-8 cartridge // http://www.pico-8.com | |
version 15 | |
__lua__ | |
-- titan ceremony | |
-- by alec troemel | |
-- for ludum dare 43 | |
t=0 | |
state="title" | |
sc=0 --shake duration |
pico-8 cartridge // http://www.pico-8.com | |
version 18 | |
__lua__ | |
-- main | |
--animate an object | |
function animate(o) | |
o.t=(o.t+1)%o.s --tick fwd | |
if (o.t==0) then | |
o.f=o.f%#o.sp[o.as]+1 |
pico-8 cartridge // http://www.pico-8.com | |
version 29 | |
__lua__ | |
-- pico lib | |
------------------------------- | |
-------- id counter ----------- | |
------------------------------- | |
id_counter=0 | |
function get_id() |
;; title: f-lib-80 | |
;; author: Alec Troemel | |
;; desc: a collection of useful things to start a game | |
;; script: fennel | |
;; Function Shorthands | |
(global abs math.abs) | |
(global rnd math.random) | |
(global min math.min) | |
(global max math.max) |
pico-8 cartridge // http://www.pico-8.com | |
version 30 | |
__lua__ | |
-- ld48: earigator | |
-- by: alec t | |
-- framework | |
------------------------------- | |
--------- tiny ecs ---------- | |
-- by katrinakitten |
;; title: game title | |
;; author: game developer | |
;; desc: short description | |
;; script: fennel | |
;; ls | entr -r ~/Applications/tic80 ld49.fnl --skip --fs . | |
;; 0 TAB: Globals | |
;; (var vector (require :vector)) |
shader_type spatial; | |
render_mode cull_disabled,diffuse_toon,specular_toon; | |
uniform vec4 color_top: hint_color = vec4(1,1,1,1); | |
uniform vec4 color_bottom: hint_color = vec4(0,0,0,1); | |
uniform vec4 color_highlight: hint_color = vec4(0,0,0,1); | |
const vec3 UP = vec3(0,1,0); | |
const vec3 RIGHT = vec3(1,0,0); |