Hi, For playing audio – background music or sound effects – using Corona SDK, do the following, 1. Load the audio stream (background music or sound effects) 2. Play the audio It will play the background music on channel 1, loop infinitely, and fadein over 5 seconds. Loop 1 will set it to play once! 🙂
It is very simple to get which device are you running the app in corona SDK. Take a look at the code snippet.
Here are the different ways to trim a string in Corona SDK. Please check the console for the output. Download the source code from here
Today I will talk about building games for android and iPhone. There are a lot of SDK’s available for building games over the internet and I am here to talk about the CORONA SDK. Corona SDK is a software development kit created by Walter Luh, co-founder of Ansca Mobile. It allows software programmers to build mobile applications for… Read More »
Hi, For destroying physics bodies in Corona SDK, use any of the following methods. OR Note : While Box2D objects will be safely retained until the end of the current world step, their Lua references will be deleted immediately. Therefore, be careful not to accidentally delete the same Lua object more than once. This situation could occur when… Read More »