Buy Now

Examples

Loom comes with a wide and growing selection of examples. Watch this quick video tutorial to see how to download and run them.

Once you’ve downloaded the examples, take a little time to play with them! Deploy them on your phone, run them locally, make some modifications. Many of them are good starting points for your own projects.

After running a few examples, we recommend checking out the DOCUMENTATION or the FORUMS.

Download Examples



Poly

A full chain reaction game with nice UIs.

Pong

A full pong game with AI.

AccelerometerExample

Move a sprite based on the orientation of your device.

BackButtonExample

Demonstrate usage of hardware buttons.

BallPhysicsDemo

Simple touch-based physics gameplay.

CSSExample

One line of LoomScript to create a CSS and LML driven UI.

LifeDemo

The Game Of Life, implemented in LoomScript.

PersistenceExample

Drag a sprite, and its position is saved between runs.

TextFieldExample

Example of using a text input field.

WhackAMole

A whack a mole game based on Ray Wenderlich’s tutorial.

IsoVille

A pannable zoomable isometric scene.

ScrollWheelExample

Demonstrates the scroll wheel API.

SketchDemo

Simple multitouch drawing game.

SpritesheetExample

Example of loading and rendering an animation from a spritesheet.

TMXExample

Example of loading and rendering a Tiled tile map.

TextureSizeExample

Example of APIs for controlling what region of a texture is drawn.

TweenExample

Example of the Tween library.