Skip to content

Instantly share code, notes, and snippets.

@Westenburg
Westenburg / Slashpop
Last active August 29, 2015 14:18
Slash, pop, spin & Squash
--Slash, Pop, Spin & Squash
-- by West
-- basic game framework in place. Flick on the screen to slash - create a vertical line slash through the V Slash rectangles, and a horizontal line through the H Slash ones
--Tap inside the rectangle to destroy the Pop ones. Draw a circle (making sure start and end meets) to destroy the spin rectangles. Pinch screen inside rectangle to destry the Pinch ones.
function setup()
displayMode(FULLSCREEN)
READY=1
PLAYING=2
LEVELCOMPLETE=3
GAMEOVER=4
@Westenburg
Westenburg / Polychopper
Created June 26, 2015 05:51
A demo of interacting with a polygon - swipe to cut in two
--# Main
-- Meshchopper
--various goals
--chop without letting fragments on screen go above a certain amount
--get x fragments on screen at once
--use limited number of slashes
@Westenburg
Westenburg / Lemclone
Last active September 20, 2015 06:29
Very basic lemmings clone in codea
--simple lemmings clone with all the basic skills. All images used are shipped with Codea. Not an exact clone, rough and ready in places. No scrolling and no finite state machine control but basics demonstrateed.
--by West
--alternative selection
--use tap or drag to select active men then click on buttons to apply to them. use arrows to indicate selectiom
displayMode(FULLSCREEN)
function setup()
FALL=1
WALK=2
DOWNDIG=3