iPad apps for 6-8 years old kids : This is my latest iPad project called Oh Mommy - Musical Storybook.

Wednesday, May 2, 2012

Say Hello World

Today I'm going to write a programming language called lua in a text editor using TextWrangler. Now, let's type the following 2 lines in your text editor.

textObject = display.newText ("Hello World!", 50,40, native.systemFont, 36)
textObject : setTextColor (255,255,255)

50 is for X position while 40 is for Y position.

Now, save it to your folder called Hello World & name your file as main.lua inside the folder. Open up Corona SDK & choose your device to simulate. For this tutorial I choose iPhone.

Done! You can now create 2 lines of code just to say hello world.

No comments:

Singing Book for Kids

Singing Book for Kids
ipad apps for kids