Wiki

Clone wiki

Core / Tutorials

Codea tutorials

Contributions are welcome. The material here has been contributed by users, and needs more.

David Such's Codea Tutorials

David Such of Reefwing Software has produced and published a series of over 20 tutorials and other advice at his web site Codea Tutorials - Writing code on the iPad for the iPad. In particular, he covers the process of getting your app onto the App Store.

Ignatz's blog and ebooks

Ignatz has written nearly 150 blog posts on many aspects of Codea, from the basics through to 3D, lighting, shaders and other mysterious topics. Start here.

Andrew Stacey's library and mathematical explanations

Andrew is a professional mathematician and our expert on the technicalities of Codea. If you don't understand something, Andrew has probably written something about it here.

Jmv38's projects

Jmv38 has written tutorials on creating 3D globes, and has a number of cool demos from AI games to ant simulations, here.

Five introductory tutorials

A series of five related introductory tutorials:

  1. A First Program
    Program Aim: To get something on the screen.
    Tutorial Aim: Develop familiarity with the editor.
  2. Getting Things Moving
    Program Aim: To get something to move.
    Tutorial Aim: Understanding the draw loop.
  3. Handling Touches
    Program Aim: That the user can influence what's happening by touching the screen.
    Tutorial Aim: Understanding how to process screen touches.
  4. Modifying Parameters
    Program Aim: That the user can influence what's happening by changing parameters.
    Tutorial Aim: Understanding how to use parameters.
  5. Gravity and Acceleration
    Program Aim: To use the sensor information to change what happens.
    Tutorial Aim: Understanding how to process the information from the sensors (and what they *really* mean!).

Other tutorials and guides on the Wiki

A two-part guide to working with Codea's built-in vec2 userdata:

  1. Part 1: An introduction to vec2.
  2. Part 2: Additional vec2 functionality.

Tutorials on Codea's built-in mesh userdata:

  1. Part 1: An introduction to mesh.

  1. How to distribute code over tabs: How to distribute code over a number of tabs, as in the Physics Lab Example Project.
  2. Capturing the screen: Using setContext() and draw() to capture an image of the screen.
  3. The Anatomy of an Animation: How Codea builds an animation from your program.

Other tutorials or commented code outside of the Wiki

  1. Sun, Earth, and Moon in Codea: Commented code of a simple simulation of celestial mechanics.
  2. Codify/Codea getting started: How to draw a simple shape.

Updated