As of the latest version of the Moai SDK (0.4, revision 11), Apsalar has been implemented for your use. Find out how using Apsalar can help track developer-defined user events.

As of the latest version of the Moai SDK (0.4, revision 11), Tapjoy has been implemented for your use. Find out how using Tapjoy can help increase your app's revenue.

A quick check of the highest grossing iPhone apps on any particular day will show you that the top ten is dominated by free games with in-app purchases, with only a few paid apps (usually Angry Birds) on the list. But if they're giving their games away for free, how do they earn so much revenue?

On today’s tutorial, we’re going to make a game! Well, we’re going to make the base of a game at least. Today’s game is going to be “Bug Squish”. Several bugs are going to appear on the screen and it’s up to the player to squish them all. Download the image files here.

A tutorial series about Moai Basics Today’s tutorial is going to focus on the MOAITraits class and trait inheritance between props. Occasionally you will have the need to link two props together so that what affects one will affect the other ( color change, rotations ) or perhaps the locations are linked. This way, you only need to use one line of code to affect the parent object to have the changes happen to both the parent and the child.

A tutorial series about Moai basics. In this tutorial, we’ll talk about a few ways to capture user input, specifically pointer location and mouse clicking. We’ll do a few simple scripts and investigate two separate methods to get that input. Talk about the tutorial here! First, a note; input in Moai is determined by the host. If you look at the GlutHost.cpp file in the Moai source, down around line 240, it lists the input config.

Moai Cloud Lua Environment

UPDATED: 8/26/11 More up to date information on the Moai Cloud Lua Environment can be found on our wiki.

Getting Started with Moai Cloud

This blog post assumes basic familiarity with web application development, HTTP and Lua.

A tutorial series about Moai basics.

A tutorial series about Moai basics.

Props TutorialFor today’s tutorial, we’re going to touch on a few of the types of animations that you can apply towards a prop; move/seek Loc, Rot, Scl, and Color. For consistency throughout this tutorial, we will just use the same base chunk of code while only editing the last line. Talk about this tutorial in the forums!

Hello out there to everybody in the Moai world! My name's Andy, and I'll be creating and posting some basic game making tutorials for the Moai Platform. When Patrick asked me to create a good intro tutorial game, it took me about five minutes to come up with my concept. For simplicity's sake, I thought a game inspired by Atari's Missile Command would be the best way to showcase gameplay features like randomly spawning enemies, player input, explosions and a clear failure condition. Then at lunch that day we decided that it would be really funny if we used a lobster for the player's missile base. We were wrong about the comedy factor, but regardless, the lobster stayed.