O'Reilly logo

Developing Mobile Games with Moai SDK by Francisco Tufro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project setup

To set up the project we need to perform a couple of steps:

  1. Create a folder for our project somewhere on your hard drive.
  2. After that open ZeroBrane Studio and navigate to that folder.
  3. You'll now see an empty folder and a blank file named untitled.lua.
  4. Save that file as main.lua, which is the usual name for a game entry point file. You can name it whatever you want, but we'll use this as a standard.
  5. Now we are ready to start.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required