louisstow/Crafty — Issue #156: documentation
Author: sorenbs
Created: 2011-12-31 16:19:21+00:00
State: open

I think all functions that take parameters should have examples attached. This needs documentation:

Components:
Gravity
Physics
Sprite.sprite (example)
Sprite.crop (example)
Mouse.areamap (example)
Animation
SpriteAnimation.animate (example)
SpriteAnimation.isPlaying (example)
Color.tint

Functions:
Crafty.matrix
Crafty.scene (example)
Crafty.isometric size and place (example)
Crafty.math all functions (example)

Feel free to add what i've missed.