Skip to content

Sample Code Lessons

vanuccif edited this page Nov 17, 2011 · 31 revisions

Shapes

  1. Basic 2D Shapes (poRectShape, poRectShape+Image, poOvalShape, custom poShape2D)
  2. Alignment
  3. Colors
  4. poPoint (operations)
  5. Simple drawing (line, rect, polygon)
  6. Advanced 2D Shapes (custom poShape2D using poPoints, curveTo, ...)
  7. Masks
  8. 3D Shapes

Events

  1. Basic Global Events (mouse down, mouse up, mouse drag, key down)
  2. Basic Object Events (all mouse events, drag)
  3. Advanced Events (visible/invisible, alphaTestTexture, events hierarchy)

Textboxes

  1. Basic Textboxes
  2. poFont
  3. Advanced Textboxes

Tweens

  1. Basic Tweens
  2. Easing functions
  3. Advanced Tweens

Data

  1. XML
  2. Dictionary
  3. Sqlite

Images

  1. poImage (create and get info)
  2. Image operations (setPixel, composite, blur, flip, resize)
  3. FBO

Projects (scene graph)

  1. Parents and Children
  2. Messaging (array of buttons)
  3. Modifiers
  4. Windows

Utilities

  1. Resource Store
  2. Helpers
Clone this wiki locally