Skip to content

Instantly share code, notes, and snippets.

View interactivenyc's full-sized avatar
💭
Looking for work

Steve Warren interactivenyc

💭
Looking for work
View GitHub Profile
@interactivenyc
interactivenyc / PhysicsNoob.lua
Last active April 17, 2016 20:54
Physics Noob
function setup()
supportedOrientations(LANDSCAPE_ANY)
-- displayMode(FULLSCREEN_NO_BUTTONS)
top = physics.body(EDGE, vec2(0, HEIGHT), vec2(WIDTH, HEIGHT))
top.type = STATIC
top.restitution = 0
bottom = physics.body(EDGE, vec2(0, 0), vec2(WIDTH, 0))
bottom.type = STATIC
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi