This file contains hidden or 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
--------------------------------------------------------- | |
-- Include -- | |
-- Dynamically loads a codea tab or project into and -- | |
-- isolated enviroment or _G -- | |
-- Written by XanDDemoX -- | |
-- Version 1.01 -- | |
--------------------------------------------------------- | |
include = {} | |
-- create meta table | |
local includemeta = {} |
This file contains hidden or 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
--# Main | |
--Main | |
function setup() | |
ShaderList={Fog,Ghost,Flip,Hole,Transparent,Stencil} | |
parameter.integer("ShaderChoice",1,6,1,SetupShader) | |
parameter.integer("Slider",1,1000,500) | |
--parameter.boolean("Option",false) | |
end |
This file contains hidden or 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
Library UI Tab Order | |
------------------------------ | |
This file should not be included in the Codea project. | |
#ChangeLog | |
#Main | |
#NumberSpinner | |
#CubicSelector | |
#PictureBrowser | |
#Keyboard | |
#Keypad |
This file contains hidden or 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
--# Notes | |
--# ReadMe | |
--[[ | |
First, don't be put off by all this text. This utility is extremely simple to use. | |
It creates code that reproduces images so you don't need to include them separately with your projects. It uses RLE, a well known compression technique. Essentially, it runs through all the pixels, and every time the color changes, it stores the last color and the number of pixels it applied to. | |
FUNCTIONALITY |
This file contains hidden or 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
--# Notes | |
--[[ | |
These are notes for 3D Town version 2.25, 12 May 2012 by Ignatz | |
DESCRIPTION | |
This project allows you to create a 3D map with buildings you can walk around, and through | |
You customise it by adding buildings and other settings in the Map tab |
This file contains hidden or 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
function setup() | |
--set up parameters so we can watch the FPS | |
parameter.boolean("Smoothing",false) | |
parameter.integer("FPS_One",1,65,60) | |
parameter.integer("FPS_Ave60",1,65,60) | |
parameter.integer("FPS_Weighted",1,65,60) | |
--and the balloon count | |
parameter.integer("Balloon_Count",0,1000,0) | |
balls={} --to hold balloon details |
This file contains hidden or 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
--# cmodule | |
-- cmodule | |
-- v0.1.1 | |
-- todo: | |
-- * document | |
-- * look for optimizations | |
-- * investigate better ways to handle dependency cycles | |
-- * support exported projects |
This file contains hidden or 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
--# tparameter | |
-- tparameter | |
-- v1.0.2 | |
local _updateRate = 1/60 | |
local _refreshDelay = 1/60 | |
local _reloadSteps, _reloadStepInterval = 4, 1 | |
local _chooseParam = 'choose_object_to_inspect' | |
local _selectParam = 'SELECT' | |
local _chooseWatchParam = 'object_parameter_inspector' |
This file contains hidden or 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
--# Frame | |
Frame = class() | |
-- Frame | |
-- ver. 1.5 | |
-- a simple rectangle for holding controls. | |
-- ==================== | |
This file contains hidden or 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
--# UIElement | |
UIElement = class() | |
CONTROLTYPE = 0 | |
LABELTYPE = 1 | |
BUTTONTYPE = 2 | |
TEXTBOXTYPE = 3 | |
SWITCHTYPE = 4 | |
SLIDERTYPE = 5 |
NewerOlder