Lua Learning Note Three CORONASDK use

Source: Internet
Author: User
Tags corona sdk

Brief introduction

CORONASDK is a mobile-enabled game engine that supports both iOS and Android platforms, primarily using LUA, with its own SDK.

Windows is:
Http://developer.coronalabs.com/downloads/coronasdk

Installation use

Once installed, the simulator will open automatically.
Now create a new file under D:/app Main.lua

print("Hello World")

Output

At this point the output is visible only in output.

The following calls a function that allows the mobile interface to see the output:

local textObject = display.newText("Hello World"5050nil24) textObject:setTextColor(255,255,255

Output:

There are some examples under the installation directory that you can open to see where

C:\Program Files (x86) \corona Labs\corona sdk\sample Code

Editor

I downloaded sublime Text3 as the LUA default editor.

Next time learn to do a simple little game with Lua.

Lua Learning Note Three CORONASDK use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.