This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Dial | |
Dial = class() | |
-- A Dial Class | |
-- Reefwing Software (www.reefwing.com.au) | |
-- | |
-- 26 July 2012 | |
-- Version 1.0 | |
function Dial:init(x, y, angle) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
supportedOrientations(ANY) | |
function setup() | |
-- Physics Demo Metadata | |
version = 1.0 | |
saveProjectInfo("Description", "Physics v"..version) | |
saveProjectInfo("Author", "Reefwing Software") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyClass = class() | |
function MyClass:init(x) | |
-- you can accept and set parameters here | |
self.x = x | |
end | |
function MyClass:draw() | |
-- Codea does not automatically call this method | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Colors | |
-- Make available the predefined colors from UIColor | |
-- | |
-- Version 1.1 | |
blackColor = color(0, 0, 0) | |
darkGrayColor = color(85, 85, 85) | |
lightGrayColor = color(170, 170, 170) | |
whiteColor = color(255, 255, 255) | |
grayColor = color(128, 128, 128) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# ToString | |
-- | |
-- Converts an arbitrary data type into a string. Will recursively convert | |
-- tables. | |
-- | |
-- () param data The data to convert. | |
-- () param indent (optional) The number of times to indent the line. Default is 0. | |
-- | |
-- () return A string representation of a data, will be one or more full lines. | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Define Directory Types | |
ProjectInfo = 1 | |
ProjectData = 2 | |
LocalData = 3 | |
GlobalData = 4 | |
-- Class version | |
version = 1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// aGameCenter_Codea.h | |
// | |
// Created by Juan Belón on 28/05/12 | |
// Games -> http://www.xixgames.com | |
// LGPL - @juaxix - Codea connection! | |
// | |
// Modified by Reefwing Software on 14/10/12 | |
// http://www.reefwing.com.au | |
// @reefwing on the Codea Forums |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CodifyAppDelegate.h | |
// Codify | |
// | |
// Created by Simeon Nasilowski on 14/05/11. | |
// | |
// Copyright 2012 Two Lives Left Pty. Ltd. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. |
OlderNewer