Questions tagged [moai]

Moai is a Lua-based game engine used for cross-platform mobile development.

The open source Moai SDK enables game developers to focus on great gameplay and content, code in the easy-to-use Lua scripting language they already know, use ready-to-roll libraries for animation and physics, and avoid rewriting game code for different devices.

More information at http://getmoai.com

29 questions
40
votes
11 answers

Corona SDK free alternatives

I tried corona sdk free edition, i really liked it. The problem is, that im not so good developer to use corona paid edition for my small project, i'm aware that i'll not earn my money back. Are there any free alternatives, like Corona? I'd prefer…
artouiros
  • 3,947
  • 12
  • 41
  • 54
5
votes
3 answers

Moai grid with tile colors

I'm trying to create a grid for a game using the Moai SDK. Each tile in the grid should have the ability to be filled with a color. So actually I have two questions: What is the best way to build a grid using Moai How can I fill each tile…
Nick Stemerdink
  • 1,067
  • 9
  • 22
3
votes
1 answer

Cocos2d-x or Moai sdk?

Hi as a 6 month corona sdk game developer I wanted to move to something more powerful and also multi platform,for a long run. Cocos 2d-x or Moai? And just to be in my shoes you have to know,I already know lua(still improving) ,and I am looking for…
Bo Dash
  • 113
  • 1
  • 3
  • 10
2
votes
3 answers

moai android build issue

I received a android build that works from someone but when I try to launch it I receive errors.. 09-23 07:25:26.976: E/AndroidRuntime(336): FATAL EXCEPTION: main 09-23 07:25:26.976: E/AndroidRuntime(336): java.lang.ExceptionInInitializerError 09-23…
user1456158
  • 841
  • 1
  • 6
  • 11
2
votes
2 answers

Lua - decrementing "class" object count when object is removed from memory

I'm currently working on a MOAI project using Lua. I"m trying to set up some stress tests for some of the game objects, and in turn tracking when the Lua objects I have are created and destroyed during a game session. I can easily track when an…
user695624
  • 123
  • 1
  • 8
2
votes
1 answer

attempt to index local 'self' using MOAICoroutine in Lua

I am just starting with MOAI and I am trying to create a traditional game loop using MOAICoroutine. The problem is that when I pass it the function that is part of a "class" that is built using 30log, it returns an error. It seems to continue to…
Psyfun
  • 353
  • 3
  • 15
1
vote
2 answers

Moai: Standared controls to get user input

I new to Moai development.I need to get user input by displaying edit box and combo control. However I could't find any sample how to get user input by standard control. I have seen MOAITextBox document but no clue how to use this control to get…
santhosh
  • 375
  • 1
  • 8
  • 16
1
vote
2 answers

how to setup moai 1.5 stable?

The links in moai are broken, so I went to github and downloaded the files as a zipped folder. https://github.com/moai/moai-dev Now it says I need to set the environment variables to set MOAI_BIN=¥moai-dev …
thirdage
  • 225
  • 1
  • 4
  • 12
1
vote
1 answer

Correct Documents Path with Sandboxed Mac application using MOAI

We have a Mac desktop Moai app that we are loading up inside an SFML context. The app itself is sandboxed correctly as this in our host is returning a path in ~/Library/Containers: NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,…
typeoneerror
  • 55,990
  • 32
  • 132
  • 223
1
vote
1 answer

Moai SDK AKU not existing

In the book Developing Mobile Games with Moai SDK is referred to the AKU, the interface between host and framework. Also in some of the code AKU is included. But no AKU files can be found in the source code at all. Is this a part that is currently…
Appleshell
  • 7,088
  • 6
  • 47
  • 96
1
vote
1 answer

How to change pixels from image to white and keep transparency?

How do I achieve this effect in Moai? I want to change every pixel of a image to white, but keep the transparency. And I don't want to generate extra images.
Juliano
  • 2,422
  • 21
  • 23
1
vote
1 answer

Live console output in Sublime Text 2

I managed to create a simple build configuration for my project that builds and also launches it. However the console freezes during the execution and it only prints the messages generated by the application after I close it. The build…
nosferat
  • 933
  • 13
  • 30
1
vote
1 answer

Chaining moveLoc calls

I'm trying to chain a series of moveLoc calls, but I can't seem to do it without getting jerky/hitchy movements (in between calls). -- executed in a separate thread while moving do action = prop:moveLoc(x, y, speed, MOAIEaseType.EASE_IN) …
ains
  • 1,436
  • 4
  • 18
  • 33
1
vote
1 answer

How to iterate on a dictionary/table of textboxes?

I have a table of textboxes, where the key is the name of the position (topRight, topLeft...). Creating and configuring one at a time works fine: kanaAt = {} function startKanas () kanaAt.topLeft = MOAITextBox.new() …
Alessandro Stamatto
  • 1,489
  • 2
  • 14
  • 18
1
vote
1 answer

Is it a must to start the class name with a capital letter,in Lua programming (for corona sdk,Moai,..)?

Is it a must to start the class name with a capital letter,in Lua programming (for corona sdk,Moai,..)? ---for example in Player.lua Player = {} --flag for player Player.isHit = false function Player:new() local player =…
Bo Dash
  • 113
  • 1
  • 3
  • 10
1
2