Corona App Development – Developing with SQLite Database
The need to be able to access and modify data in any kind of application is critical. As databases are the primary means of storing large quantity of data, any software that is lacking this critical component will quickly be found wanting. As far as skills, being able to use and work with databases [...]
Developing iPhone/iPad/Android applications with Corona: Orientation Change
In this final “Hello World” with Corona, we will look at how to allow for orientation change in our app.
First, please recognize that this is for a general rotation. Seldom will this be sufficient to handle all rotation needs of your app. You will usually need to code in the screen size and where you [...]
Developing iPhone/iPad/Android Apps with Corona: Adding Sound Effects
What’s a game without sound? Sound and music can turn a boring humdrum game or movie into a riveting adventure, if done correctly!
In this tutorial we are going to show the process to add a sound effect to a Corona app.
When working with Corona, you are encouraged to use the CAF file type for your [...]
Developing iPhone/iPad/Android Games with Corona: Creating Animations
In this demonstration, we will take our existing Hello World project and add some animation.
To get started, we have the existing code:
local textObj = display.newText(“Hello World!”, 50, 50, nil, 24)
textObj:setTextColor( 255, 255, 255)
local mybutton = display.newImage( “button.png” )
mybutton.x = display.contentWidth/2
mybutton.y = display.contentHeight-75
local h = textObj.height
local w = textObj.width
function mybutton:tap( event )
textObj.x = math.random(w/2, display.contentWidth – [...]
Developing iPhone/iPad/Android Games with Corona: Working with Buttons
We are going to combine a few things with this lesson:
First, we will learn about creating an object that can be interacted with
Second, how to set the location of an object
Third, we will add an event listener to the object so that we can interact with the app
And last, we will look at the Relaunch [...]
