Skip to content

Instantly share code, notes, and snippets.

Tero Lindeman kometbomb

Block or report user

Report or block kometbomb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kometbomb
kometbomb / put-a-flip-in-it.p8
Last active Oct 2, 2018
#PutAFlipInIt! #pico8
View put-a-flip-in-it.p8
-- 1. Paste this at the very bottom of your PICO-8
-- cart
-- 2. Hit return and select the menu item to save
-- a slow render gif (it's all automatic!)
-- 3. Tweet the gif with #PutAFlipInIt
--
-- Notes:
--
-- This relies on the max gif length being long
-- enough. This can be set with the -gif_len
@kometbomb
kometbomb / tweetjam.md
Last active Aug 17, 2019
PICO-8 tweetjam stuff
View tweetjam.md

PICO-8 size optimization stuff

Here are some simple ways to make your PICO-8 code fit in 140 characters (as in the tweetjam craze). I did not invent these, I merely observed and collected them from the tweetjam thread.

LUA syntax stuff

  • Use single character variable names
  • Use x=.1 and x=.023, not x=0.1 or x=0.023
  • x=1/3 is shorter than x=.3333
  • You don't need to separate everything with spaces or write them on their own lines, e.g. circ(x,y,1)pset(z,q,7) works just as well
You can’t perform that action at this time.