×
A new build of Corona SDK is now available to subscribers. Not a subscriber? Subscribe now.
CoronaSDK 2012.741 | Released: 7 Feb 2012, 8:45am | What's New | Download Now

Hello World

Features demonstrated:

A simple way to perform animation, using an "enterFrame" listener to trigger updates.

Code:

1
2
3
4
5
6
7
8
local background = display.newImage( "world.png" )
 
local myText = display.newText( "Hello, World!", 0, 0, native.systemFont, 40 )
myText.x = display.contentWidth / 2
myText.y = display.contentWidth / 4
myText:setTextColor( 255,110,110 )
 
   

AttachmentSize
HelloWorld.zip39.13 KB