Skip to content

Instantly share code, notes, and snippets.

View simsaens's full-sized avatar

Sim Saëns simsaens

  • Two Lives Left
  • Adelaide, Australia
View GitHub Profile
@simsaens
simsaens / AppDelegate.mm
Created April 7, 2013 17:22
Example Codea Addon
//
// AppDelegate.mm
// <#MyProjectName#>
//
// Created by <#AuthorName#> on <#CurrentDate#>
// Copyright (c) <#AuthorName#>. All rights reserved.
//
#import "AppDelegate.h"
#import "CodeaViewController.h"
@simsaens
simsaens / Brickout.lua
Created August 4, 2012 06:44
Brickout Enhanced
--# Ball
----------------
-- Ball Class --
----------------
Ball = class()
function Ball:init()
self.pos = vec2(WIDTH / 2, 41)
@simsaens
simsaens / gist:1330041
Created November 1, 2011 06:13 — forked from bortels/gist:1329881
Fixed drawchar bug
-- Use this function to perform your initial setup
function setup()
fontinfo={}
fontinfo["#"] = { points=11, width=21, ascii=35,
data={ 11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6 } }
end
-- This function gets called once every frame
function draw()