Workflow

Discussion about using Moai SDK - post questions, bugs and issues here.

Moderators: seebs, franciscotufro

Workflow

Postby maecky » Mon Jul 02, 2012 10:14 am

Hi,

I have been able to setup the MOAI SDK and deploy some samples on my Android Phone.

Now I want to write my first app and it's really timeconsuming to do a build to the phone, each time I change something in the lua scripts. Is there a better solution, to test and debug(!!!) my lua files (something like a simulator in corona).

How does an optimized workflow look like?
Any comments and tips are appreciated!

greez
maecky
 
Posts: 13
Joined: Fri Jun 29, 2012 6:22 pm
Location: Graz, Austria

Re: Workflow

Postby Mud » Mon Jul 02, 2012 4:26 pm

something like a simulator in corona


MOAI has basic desktop builds you can use for testing. Look in the `bin` directory in the SDK distro. The samples folder contains scripts (.sh and .bat) for running the samples in the desktop client.

How does an optimized workflow look like?


Lots of options.

Akuma (I believe that's the name) is a client on Windows that automatically reloads your app any time it detects a change in your application's directory, which means you never leave the editor; every time you save your app reloads.

If you jailbreak your phone, you can install OpenSSH which gives you wireless access your phone's file system and lets you send it commands. Using something like ExpandDrive, you can then map the device's disk into your phone's file system. This makes testing directly on the device very easy.

You can use your desktop editor to edit scripts directly on the device and map a key to restart your app.

You can even edit scripts directly on the device (I do this on my iPad sometimes), if you have a suitable iOS editor installed (I use console Vim + iOS SSH client connected to localhost + bluetooth keyboard).
Mud
 
Posts: 57
Joined: Sun Jan 29, 2012 9:54 pm

Re: Workflow

Postby nobeerleft » Mon Jul 02, 2012 5:20 pm

Do most of the development on the desktop, with no phone. Its quick and easy and dont bother going to the phone until you ae working on billing code or something like that.
nobeerleft
 
Posts: 36
Joined: Fri Mar 30, 2012 9:35 pm

Re: Workflow

Postby maecky » Tue Jul 03, 2012 3:15 am

Great, thanks,

I found the moai.exe and set it up to develop on the desktop.
Works great and saves a lot of time :)
maecky
 
Posts: 13
Joined: Fri Jun 29, 2012 6:22 pm
Location: Graz, Austria


Return to Moai SDK

Who is online

Users browsing this forum: No registered users and 1 guest

x