English 中文(简体)
Beginning in Lua for Corona SDK
原标题:

I have started working on Corona SDK.As you all know it uses Lua as the programming language,i wanted to know some good links or ebooks which i can refer to begin development.I am an iPhone developer and working on objective C since last 1 year.

Any suggestions,help would be appreciated.

Thanks

Aditya

最佳回答

I ve been using this: Programming in Lua, first edition (FREE online edition of the book) The Corona SDK forums are also good for specific issues related to the SDk itself. It seems it is having a few database problems just right now, but you might want to check it later.

Edit: just for completeness, here is the link to the Lua Bookstore @ amazon (not an affiliate link).

问题回答

You can also check out http://learningcorona.com/ which has a huge listing of tutorials for Corona.

Here s a great resource for learning Lua, it s aimed towards beginner programmers (doesn t sound like you), but it does a great job at introducing Lua and most of the basic concepts:

Lua for Beginners:

http://lua.gts-stolberg.de/en/index.php?uml=1

That, as well as the "Learning Corona" section of the Ansca docs should be plenty enough to get you up to speed in a very short amount of time:

http://developer.anscamobile.com/resources/docs/

TIP: Start working on a project, or converting an existing app using Corona and you ll learn it blazing fast! That s what I did, and I learned it quickly enough to have one of my games fully converted in about 8 days.

For understanding basics of CORONA SDK I will prefer "Corona.SDK.Mobile.Game.Development.Beginners.Guide" book from Packtpub publication. and You can also check out http://www.learningcorona.com/ for tutorial both video and audio.

The Lua Reference Manual is also an excellent read: Concise and complete.

Lua Gems is also worth looking at (at least the freely available snippets).

I found the Beginning Lua Programming book to be pretty good as a complete reference for Lua with good example code.

My very personal advice is just take a look at great books (Programming in LUA is covering everything) and switch as soon as possibles to samples / tutorials in order to learn all the API functions.

There are several Corona sdk video tutorials on YouTube. One demonstrates how to create a simple balloon game in a few minutes. You can have Your Lua editor in one window and YouTube in another, and click on the video to start/stop and switch to the editor and type in the code. Some tutorials provide links to download the code.

hello you can use their website they have good documentation you will find it here

http://docs.coronalabs.com/api/





相关问题
Wrapping a Lua object for use in C++ with SWIG

Currently I know how to have C++ objects instantiated and passed around in Lua using SWIG bindings, what I need is the reverse. I am using Lua & C++ & SWIG. I have interfaces in C++ and ...

Can t lua_resume after async_wait?

I have some lua script that have some long running task like getting a web page so I make it yield then the C code handle get page job async, so the thread free to do other job and after a specify ...

How to remove a lua table entry by its key?

I have a lua table that I use as a hashmap, ie with string keys : local map = { foo = 1, bar = 2 } I would like to "pop" an element of this table identified by its key. There is a table.remove() ...

Lua plain string.gsub

I ve hit s small block with string parsing. I have a string like: footage/down/temp/cars_[100]_upper/cars_[100]_upper.exr and I m having difficulty using gsub to delete a portion of the string. ...

why do i get "attempt to call global require (a nil value)"?

I have 3 lua files, Init.lua, FreeCamera.lua and Camera.lua , init.lua calls require "Core.Camera.FreeCamera" Free Camera: module(...) require "Core.Camera.Camera" local M = {} FreeCamera = M M ...

热门标签