Moai SDK Samples Guide
The Moai samples were (mostly) written by the SDK developers to test features as they were being added. You can use them to get a feel for how Moai operates. This reference is a quick overview of what each sample means. Organization of the samples and documentation is a work in progress.
anim
- anim-basic
- anim-curve
- anim-curve-modes
- anim-driver
- anim-flipbook
- anim-listener
- anim-span
- chase
- chase-bridge
camera
- camera-fitter
color
- device-clear-color
contrib
- cprect
- moaigui
- particle-helper
deck
- gfxQuad2D
- gfxQuad2D-grid
- gfxQuadDeck2D
- gfxQuadDeck2D-grid
- gfxQuadListDeck2D
- gfxQuadListDeck2D-grid
- scriptDeck
- stretchPatch-basic
- stretchPatch-flipbook
- tileDeck2D
- tileDeck2D-grid
- tilemap-animated
- tilemap-expand-for-sort
- tilemap-wrapping
flash
- flash-flipbook
- flash-spriteDeck
- flash-tween
- jsfl
font
- font-bitmap
- font-colors
- font-serialize
- font-ttf
- font-utf8
graphics
- gl-frameBuffer
- gl-shader-attributes
- gl-shader-color
- gl-vertexBuffer
graphics
- grid-diamond
- grid-hex
- grid-oblique
graphics
- image-copyRect
- image-fillRect
- image-texture
input
- input-callbacks
- input-picking
layer
- layer-bridge
- layer-camera
- layer-parallax
- layer-sort
log
- custom-log-messages
particles
- particles-distanceEmitter
- particles-presets
- particles-states
partition
- debugLines-partition
pathfinding
- pathfinding
- pathfinding-diamond
- pathfinding-hex
physics
- physics-box2d
- physics-chipmunk
prop
- debugLines-prop
- prop-color
- prop-uvTransform
sim
- moai-extend
- sim-step-fixed
- sim-step-multi
textbox
- textbox-alignment
- textbox-curves
- textbox-escapes
- textbox-glyph-scale
- textbox-highlight
- textbox-nested-styles
- textbox-newlines
- textbox-paging
- textbox-spool
- textbox-traits
- textbox-update-style
texture
- multitexture
- texture-mipmap
- texture-pvr
- texturepacker
thread
- thread-blocking
transform
- transform-traits
- transform-attrLinks
- transform-attrLinks-box2D
- transform-pivot
util
- util-base64
- util-deflate
- util-environment-listener
- util-guid
- util-http-async
- util-http-blocking
- util-https
- util-json
- util-parser
- util-serialize
- util-serialize-to-header
- util-xml
viewport
- viewport-yDown