Loom SDK
1.1.2095
LoomScript Reference for the Loom Game Engine
|
benchmark | |
Benchmark | |
BenchmarkNativeClass | |
FunctionBenchmark | |
Main | |
NativeClassBenchmark | |
cocos2d | |
CCAcceleration | |
CCAffineTransform | |
CCArray | The Array Data Structure |
CCCamera | A CCCamera is used in every CCNode |
ccColor3B | |
ccColor4B | |
CCCopying | |
CCLayer | CCLayer is a subclass of CCNode that implements the TouchEventsDelegate protocol |
CCLoomScriptIMEDelegate | Helper to communicate with Cocos2DX's IME API |
CCNode | CCNode is the main element |
CCObject | |
CCPoint | |
CCProgressTimerType | |
CCRect | |
CCScaledLayer | |
CCSet | |
CCSize | |
CCTextAlignment | |
CCUserDefault | CCUserDefault acts as a tiny database |
CCVerticalTextAlignment | |
Cocos2D | |
ScaleMode | |
tCCPositionType | |
tOrientation | |
cocosdenshion | |
SimpleAudioEngine | Offer a VERY simple interface to play background music & sound effect |
compiler | |
LSCompiler | |
feathers | |
controls | |
renderers | |
BaseDefaultItemRenderer | An abstract class for item renderer implementations |
DefaultGroupedListHeaderOrFooterRenderer | The default renderer used for headers and footers in a GroupedList control |
DefaultGroupedListItemRenderer | The default item renderer for a GroupedList control |
DefaultListItemRenderer | The default item renderer for List control |
IGroupedListHeaderOrFooterRenderer | Interface to implement a renderer for a grouped list header or footer |
IGroupedListItemRenderer | Interface to implement a renderer for a grouped list item |
IListItemRenderer | Interface to implement a renderer for a list item |
supportClasses | |
GroupedListDataViewPort | Used internally by GroupedList |
IViewPort | |
LayoutViewPort | Used internally by ScrollContainer |
ListDataViewPort | Used internally by List |
Button | Dispatched when the button is released while the touch is still within the button's bounds (a tap or click that should trigger the button) |
Check | A toggle control that contains a label and a box that may be checked or not to indicate selection |
GroupedList | Dispatched when the selected item changes |
Header | A header that displays an optional title along with a horizontal regions on the sides for additional UI controls |
ImageLoader | Dispatched when the source content finishes loading |
IScreen | A screen for use with ScreenNavigator |
IScrollBar | Dispatched when the scroll bar's value changes |
Label | Displays text |
List | Dispatched when the selected item changes |
Panel | A container with layout, optional scrolling, a header, and an optional footer |
PanelScreen | A screen for use with ScreenNavigator , based on Panel in order to provide a header and layout |
ProgressBar | Displays the progress of a task over time |
Radio | A toggleable control that exists in a set that requires a single, exclusive toggled item |
Screen | Provides useful capabilities for a menu screen displayed by ScreenNavigator |
ScreenNavigator | Dispatched when the active screen changes |
ScreenNavigatorItem | Data for an individual screen that will be used by a ScreenNavigator object |
ScrollBar | Dispatched when the scroll bar's value changes |
ScrollContainer | Dispatched when the container is scrolled |
Scroller | Dispatched when the scroller scrolls in either direction or when the view port's scrolling bounds have changed |
SimpleScrollBar | Dispatched when the scroll bar's value changes |
TabBar | Dispatched when the selected tab changes |
TextInput | Dispatched when the text input's text property changes |
core | |
DisplayListWatcher | Watches a container on the display list |
FeathersControl | Dispatched after initialize() has been called, but before the first time that draw() has been called |
FocusManager | Manages touch and keyboard focus |
IFeathersControl | Dispatched after the control has been initialized, but before it has drawn for the first time |
IFeathersDisplayObject | Public properties and functions from starling.display.DisplayObject in helpful interface form |
IFeathersEventDispatcher | Public properties and functions from starling.events.EventDispatcher in helpful interface form |
IFocusDisplayObject | Dispatched when the display object receives focus |
IFocusManager | Interface for focus management |
IGroupedToggle | A toggle associated with a specific group |
ITextEditor | Dispatched when the text property changes |
ITextRenderer | Interface that handles common capabilities of rendering text |
IToggle | Dispatched when the selection changes |
PopUpManager | Adds a display object as a pop-up above all content |
ToggleGroup | Dispatched when the selection changes |
TokenList | A list of space-delimited tokens |
ValidationQueue | |
data | |
ArrayChildrenHierarchicalCollectionDataDescriptor | A hierarchical data descriptor where children are defined as arrays in a property defined on each branch |
HierarchicalCollection | Dispatched when the underlying data source changes and the ui will need to redraw the data |
IHierarchicalCollectionDataDescriptor | An adapter interface to support any kind of data source in hierarchical collections |
IListCollectionDataDescriptor | An adapter interface to support any kind of data source in ListCollection |
ListCollection | Dispatched when the underlying data source changes and the ui will need to redraw the data |
display | |
Scale3Image | Scales an image like a "pill" shape with three regions, either horizontally or vertically |
Scale9Image | Scales an image with nine regions to maintain the aspect ratio of the corners regions |
TiledImage | Tiles a texture to fill the specified bounds |
dragDrop | |
DragData | Stores data associated with a drag and drop operation |
DragDropManager | Handles drag and drop operations based on Starling touch events |
IDragSource | Dispatched when the drag and drop manager begins the drag |
IDropTarget | Dispatched when the touch enters the drop target's bounds |
events | |
CollectionEventType | Event type constants for collections |
DragDropEvent | Events used by the DragDropManager |
FeathersEventType | Event type constants for Feathers controls |
layout | |
AnchorLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
AnchorLayoutData | |
DecomposedDimension | Utility class to decompose a string like "100px" or "100%"" into a format that can be easily processed |
DecomposedDimensionType | |
HorizontalLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
ILayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
ILayoutData | Dispatched when a property of the layout data changes |
ILayoutDisplayObject | Dispatched when a property of the display object's layout data changes |
ITrimmedVirtualLayout | Optimizes a virtual layout by skipping a specific number of items before and after the set that is passed to layout() |
IVariableVirtualLayout | A virtual layout that supports variable item dimensions |
IVirtualLayout | A layout algorithm that supports virtualization of items so that only the visible items need to be created |
LayoutBoundsResult | Calculated bounds for layout |
MultiColumnGridLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
MultiColumnGridLayoutData | Extra, optional data used by an MultiColumnGridLayout instance to position and size a display object |
ProportionalLayout | Lay out along vertically or horizontally using a mix of pixel and percentage sizing information |
ProportionalLayoutData | Layout data for ProportionalLayout - attach this to a FeathersControl's layoutData member in order to set layout goals |
TiledColumnsLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
TiledRowsLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
VerticalLayout | Dispatched when a property of the layout changes, indicating that a redraw is probably needed |
ViewPortBounds | Used by layout algorithms for determining the bounds in which to position and size items |
motion | |
transitions | |
OldFadeNewSlideTransitionManager | A transition for ScreenNavigator that fades out the old screen and slides in the new screen from an edge |
ScreenFadeTransitionManager | A transition for ScreenNavigator that fades out the old screen and fades in the new screen |
ScreenSlidingStackTransitionManager | A transition for ScreenNavigator that slides out the old screen and slides in the new screen at the same time |
TabBarSlideTransitionManager | Slides new screens from the left or right depending on the old and new selected index values of a TabBar control |
skins | |
SmartDisplayObjectStateValueSelector | Values for each state are textures or colors, and the manager attempts to reuse the existing display object that is passed in to getValueForState() as the old value, if possible |
StateWithToggleValueSelector | Maps a component's states to values, perhaps for one of the component's properties such as a skin or text format |
system | |
DeviceCapabilities | Using values from the Stage and Capabilities classes, makes educated guesses about the physical size of the device this code is running on |
text | |
BitmapFontTextEditor | |
BitmapFontTextFormat | Customizes a bitmap font for use by a BitmapFontTextRenderer |
BitmapFontTextRenderer | |
DummyTextEditor | |
DummyTextRenderer | |
TextFormatAlign | |
textures | |
Scale3Textures | A set of three textures used by Scale3Image |
Scale9Textures | A set of nine textures used by Scale9Image |
themes | |
MetalWorksMobileTheme | |
utils | |
FeathersMath | |
loom | |
admob | |
BannerAd | Represents an AdMob banner ad |
BannerSize | Represents options for sizes to request from admob |
InterstitialAd | Represents an AdMob Interstitial (fullscreen) ad |
animation | |
plugins | |
NumberPlugin | |
Point2Plugin | |
EaseType | |
ITypePlugin | ITypePlugin allows type extensions in Tween |
Transitions | |
Tween | Tween is a small and fast animation library in LoomScript |
TweenProperty | |
css | |
CSSParser | |
DocumentBlock | |
IParserNode | |
IStyle | |
IStyleApplicator | |
IStyleSheet | |
Style | |
StyleApplicator | |
StyleBlock | |
StylePropertyBlock | |
StyleSheet | |
gameframework | |
AnimatedComponent | Base class for components that need to perform actions every frame |
ComponentPlugin | |
ConsoleCommand | |
ConsoleCommandManager | Process and dispatch commands issued via the asset agent |
DeferredMethod | |
FieldPlugin | |
IAnimated | This interface should be implemented by objects that need to perform actions every frame |
ILoomManager | |
IPropertyPlugin | |
IQueued | An object which will be called back at a specific time |
ITicked | This interface should be implemented by objects that need to perform actions every tick, such as moving, or processing collision |
Logger | |
LoomComponent | Base class for most game functionality |
LoomGameObject | Container class for LoomComponent |
LoomGroup | LoomGroup provides lifecycle functionality (LoomObjects in it are destroy()ed when it is destroy()ed), as well as dependency injection (see registerManager) |
LoomObject | Base class for things that have names, lifecycles, and exist in a LoomSet or LoomGroup |
LoomSet | LoomSet provides safe references to one or more LoomObjects |
ProcessObject | |
PropertyManager | Abstract property lookups |
PropertyManagerInfo | Internal class used by PropertyManager to service property lookups |
QueuedComponent | Base class for components which want to use think notifications |
ScheduleEntry | Helper class for internal use by ProcessManager |
TickedComponent | Base class for components that need to perform actions every tick |
TimeManager | The process manager manages all time related functionality in the engine |
VerboseComponent | |
graphics | |
Color | |
Graphics | Control global graphics subsystem behavior |
Point2 | |
Texture2D | |
TextureInfo | |
lml | |
ILMLNode | The ILMLNode interface is an optional interface for objects that are instantiated via LML |
ILMLParent | Required interface for classes that want to have children via LML |
LML | |
LMLDocument | |
LMLInjector | |
LMLNode | |
physics | |
Physics | |
PhysicsBall | |
PhysicsWall | |
platform | |
Accelerometer | Class for managing accelerometer data |
LoomKey | A uniform set of keycodes used cross-platform by Loom |
Timer | |
store | |
DummyStoreProvider | Dummy store provider |
IStoreProvider | Interface for a store API provider |
NativeStore | Bindings to the native store API for the current platform |
NativeStoreProvider | Wraps the low-level native store implementation and adapts it to suit the high level store API |
Product | A purchaseable product |
Store | Loom Store API |
Transaction | A transaction is used to track a purchase, indicating whether it has completed successfully or not |
utils | These classes are based on the PriorityQueue class from as3ds, and as such must include this notice: |
InjectionTarget | |
Injector | |
IPrioritizable | Minimal interface required by SimplePriorityQueue |
SimplePriorityQueue | A priority queue to manage prioritized data |
Application | The global static class that drives execution of our game |
ApplicationEvents | Event types for various generic application events |
Event | |
HTTPRequest | The Loom HTTPRequest API provides the ability to call asynchronous HTTP methods at a specified URL across all platforms that Loom supports |
LoomAssetManager | |
LoomTextAsset | An asset loaded via Loom's asset system |
WebView | The Loom WebView API provides cross-platform support for displaying a WebKit container in your Loom application |
loom2d | |
animation | |
DelayedCall | A DelayedCall allows you to execute a method after a certain time has passed |
IAnimatable | The IAnimatable interface describes objects that are animated depending on the passed time |
Juggler | The Juggler takes objects that implement IAnimatable (like Tweens) and executes them |
Transitions | Static methods that define easing functions |
Tween | A Tween animates numeric properties of objects |
core | |
TouchMarker | The TouchMarker is used internally to mark touches created through "simulateMultitouch" |
TouchProcessor | The TouchProcessor is used internally to convert mouse and touch events of the conventional Flash stage to Starling's TouchEvents |
TouchProcessorNote | Internal helper for TouchProcessor to keep track of event dispatch details in the presence of of a changing EventDispatcher hierarchy |
display | |
DisplayObject | Base class for all objects that are rendered on the screen |
DisplayObjectContainer | A DisplayObjectContainer represents a collection of display objects |
Image | An Image is a quad with a texture mapped onto it |
MovieClip | Dispatched whenever the movie has displayed its last frame |
Quad | A Quad represents a rectangle with a uniform color or a color gradient |
QuadBatch | |
Sprite | In Starling, this class adds clip rect and flattening support |
Stage | A Stage represents the root of the display tree |
StageScaleMode | |
events | |
EnterFrameEvent | An EnterFrameEvent is triggered once per frame and is dispatched to all objects in the display tree |
Event | Event objects are passed as parameters to event listeners when an event occurs |
EventDispatcher | Base class for all classes that dispatch events |
KeyboardEvent | A KeyboardEvent is dispatched in response to user input through a keyboard |
ResizeEvent | A ResizeEvent is dispatched by the Stage when the size of the application window changes |
ScrollWheelEvent | A ScrollEvent is dispatched by the Stage when the user scrolls their mouse wheel |
Touch | A Touch object contains information about the presence or movement of a finger or the mouse on the screen |
TouchEvent | A TouchEvent is triggered either by touch or mouse input |
TouchPhase | A class that provides constant values for the phases of a touch object |
math | |
Color | A very simple Color class |
Matrix | 2D Affine Transform |
Point | A very simple Point class |
Rectangle | A basic Rectangle class |
native | |
DisplayObjectPool | |
Loom2DNative | |
StageRenderer | |
tests | |
Assert | Some very basic helper asserts for the Starling tests we have ported |
EventTest | Tests for the Event class and friends |
text | |
BitmapChar | A BitmapChar contains the information about one char of a bitmap font |
BitmapCharInfo | |
BitmapFont | Parses bitmap font files and arranges the glyphs in the form of a text |
BitmapFontInfo | |
BitmapFontParser | |
CharLocation | |
TextField | |
textures | |
ConcreteTexture | A ConcreteTexture wraps a Cocos texture object, storing the properties of the texture |
SubTexture | A SubTexture represents a section of another texture |
Texture | |
TextureAtlas | A texture atlas is a collection of many smaller textures in one big image |
tmx | |
TMXLayer | |
TMXTileMap | |
TMXTileSheet | |
ui | |
AtlasMetaInfo | Helper class used by TextureAtlasManager to keep track of atlases it is loading |
Button | Simple button class that can use Atlas to resolve texture references |
Label | Displays a label on screen by rendering .fnt files |
TextureAtlasManager | Manager for registering texture atlases globally by name for use with TextureAtlasSprite |
TextureAtlasSprite | Simple Image subclass that uses texture atlases/spritesheets stored in the TextureAtlasManager class |
utils | |
HAlign | A class that provides constant values for horizontal alignment of objects |
VAlign | A class that provides constant values for vertical alignment of objects |
VertexData | Manages a raw list of vertex information, allowing direct upload to Loom vertex buffers |
Loom2D | |
system | |
debugger | |
DebuggerClient | A low level interface to Looms Debugging API |
ObjectInspector | |
Server | Extremely simple Server class for communication with the client debugger This class is purposefully simple as it may be implemented in a number of different scenarios/languages |
errors | |
AbstractClassError | |
ArgumentError | |
Error | |
IllegalOperationError | |
RangeError | |
TypeError | |
metrics | |
Metrics | Provides metrics about the Loom app during runtime |
platform | |
DisplayProfile | |
File | Many common file operations for text and binary files |
Gamepad | Delegate for receiving button events |
Path | The File class provides many common file operations for text and binary files |
Platform | |
PlatformType | |
reflection | |
Assembly | Represents a Loom Assembly that has been loaded into the runtime |
ConstructorInfo | Represents information about a Constructor on a Type |
FieldInfo | Represents information about a field (variable) on a Type |
MemberInfo | Represents information about the attributes of a member and provides access to member MetaInfo MemberInfos can represent Member methods, fields, properties or constructors |
MemberTypes | Represents the type of element that a member can be |
MetaInfo | Represents information about a metadata tag on a MemberInfo Object |
MethodBase | Base class for representing Constructors or Methods on Types |
MethodInfo | Represents information about a Method on a Type |
ParameterInfo | Represents a parameter in a MethodInfo or ConstructorInfo |
PropertyInfo | Represents information about a property (getter/setter) on a Type |
Type | Represents information about a Type that belongs to an assembly |
socket | |
Socket | A Simple Socket interface in loomscript |
utils | |
Base64 | |
xml | |
XMLAttribute | An XMLAttribute is a name-value pair |
XMLComment | An XML Comment |
XMLDeclaration | An XML Declaration |
XMLDocument | A Document binds together all the functionality |
XMLElement | The element is a container class |
XMLError | Represents Error codes used by the XML API |
XMLErrorMessages | |
XMLNode | XMLNode is a base class for every object that is in the XML Document Object Model (DOM), except XMLAttributes |
XMLPrinter | Provides extra methods for printing XML other than stdout |
XMLText | XML text |
Boolean | A Boolean object is a data type that can have one of two values, either true or false, used for logical operations |
Breakpoint | |
ByteArray | Methods and properties to optimize reading, writing, and working with binary data |
CommandLine | Methods for retrieving command line arguments passed into the Loom executable at runtime |
Console | Methods for interacting with console input and output |
Coroutine | Interface to the powerful bidirectional coroutine implementation in the Lua runtime |
Debug | Methods that aid in debugging a Loom Application |
Dictionary | A Dictionary lets you create a dynamic collection of properties, which uses strict equality (===) for key comparison |
Function | Function represents a function primitive in LoomScript |
GC | The GC Class provides methods for invoking the LoomScript Garbage Collector |
JSON | Lets applications parse data using JavaScript Object Notation (JSON) format |
JSONType | |
Math | Utility for common mathematical functions in LoomScript |
NativeDelegate | NativeDelegate is used to bind delegates created on the native side of Loom and use them against script classes |
Number | A data type representing an IEEE-754 double-precision floating-point number |
Object | At the root of the LoomScript class hierarchy |
Process | Functions for controlling the currently running Loom process |
Profiler | Profiler class for runtime timing metrics of execution |
String | Data type that represents a string of characters |
Vector | Lets you access and manipulate a vector |
VM | Virtual machine in LoomScript |
unittest | |
Test |