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
1
vote
0 answers

MOAI Animation thread breaks main game loop thread

I'm new to MOAI, mainly using it because my grad program is forcing me too. They are a fan of steep learning curves over short deadlines apparently. :) Anyway, I have a problem where my main game loop on its own thread calls a function that triggers…
angryInsomniac
  • 829
  • 2
  • 13
  • 27
1
vote
3 answers

Moai: Graphics that reacts to commands via Sockets

I need a program that can create pre-defined shapes on screen according to that commands I send to it via TCP. I'm trying to listen to a port and so that I can use them. Before waiting of a command (via network) I have the commands required to…
Ansel Zandegran
  • 636
  • 8
  • 18
0
votes
2 answers

Install Moai SDK 1.0 and create android project

I installed: Android SDK Cygwin Ant Android NDK Java Eclipse and Download Moai SDK Add in system variable PATH $JavaDir and $AntDir Add JAVA_HOME Create Device in Android Emulator 2.1,2.2 and 2.3 run in ant directory sdk-setup.bat and after that…
lolopolosko
  • 61
  • 1
  • 11
0
votes
1 answer

Can i bind my c++ code to lua and develop it to some lua game engine?

As the title says so i've been making some mini games from my early years in college but it's written in c++ i want to translate it to lua but not really expert with it, so i discovered how to bind the codes, can i bind it to lua and develop it to…
user5370661
0
votes
1 answer

How to install and get started with moai on Ubuntu?

I am trying to install moai on Ubuntu. I tried following this: https://github.com/moai/moai-dev/wiki/Building-MOAI-on-Ubuntu-14.10-64bit and completed all the steps. It seemed as if everything completed. But now I don't know what to do. How to run…
Ishan
  • 3,303
  • 5
  • 29
  • 47
0
votes
2 answers

Moai SDK isn't downloadable

I can't download Moai SDK from http://getmoai.com/sdk/moai-sdk-download.html - I always get the message ERROR The requested URL could not be retrieved I don't know if is it because of my area or something else, but I'd really really appreciate…
smftr
  • 923
  • 3
  • 17
  • 31
0
votes
2 answers

How to delay successive iterations of a loop in MOAI?

I want to delay successive iteration of a loop in MOAI. I've tried using a timer to delay calling the loop, and putting an empty loop inside my main loop. In the latter case, it just goes through all iterations of the inner loop before proceeding to…
0
votes
1 answer

Reinstall when building and running in xcode

I am building an iOS app and running it on a connected device. During debugging, additional config files are present in the app. However, if I delete those config files from Xcode and then do a build and run, they are still present on the device…
typeoneerror
  • 55,990
  • 32
  • 132
  • 223
0
votes
1 answer

Error in Cygwin for Moai Android Build

I'm following this tutorial set to set up Moai for Android porting. When I run ./make-host.sh –p com.gamefromscratch.moai in Cygwin to build the Android host it returns an error of build.sh: line 17: ndk-build: command not found I'm 98% certain…
thatguyrob
  • 21
  • 1
0
votes
1 answer

How can I access,or call a global function inside a function inside a External Library?

Well I have a class like this as an example: --An External Library --UI.lua UI = {} function UI: new() local Group = display.newGroup; local inventory_frames = display.newImage("inventorybox.png") ; Group :insert(…
Bo Dash
  • 113
  • 1
  • 3
  • 10
0
votes
2 answers

How to design a "Dynamic inventory system" for a point and click game?

I have done lots of research on invetory system for point and click game in Lua and corona. I have come across this example,I am doing something similar to this,but I need a dynamic inventory system. I mean if I have 4 slots,and all them are full…
Bo Dash
  • 113
  • 1
  • 3
  • 10
0
votes
1 answer

What is the right way to design a point and click game with Lua?(Corona)

I have some ideas,I have already drawn the scenes roughly and put them into corona. This is how I would think it would work. 1.I have all the major scenes 2.In each major scene ,there are mini scenes,which lead to smaller scenes with puzzles. 3.I…
Bo Dash
  • 113
  • 1
  • 3
  • 10
0
votes
1 answer

Changing to display object position in corona

I am new to programming this question might sound very simple. I have created a object as a module called box box = {} m={} m.random = math.random function box:new(x,y) box.on=false local box = display.newRect(0,0,100,100) …
Bo Dash
  • 113
  • 1
  • 3
  • 10
-2
votes
2 answers

Draw a circular dashed lines in Moai sdk

I don't know how to draw a circular dashed lines in moai using MoaiDraw? Could anyone tell me how to do that? sorry I'm a newbie in moai.
1
2