How Can I Add A Sound To A Button

Victor,

I am sending you an email and we will get this problem resolved asap.

Thank you for your patience and persistence!

Dr. Burton

Hi Dr. Burton

– I CLICKED HERE …

Downloadable items can be downloaded using the encrypted links below.

Mobile App Development with Corona - eBook (PDF) - (LINK REMOVED BY ADMIN)

– and it took me here …

DNS Resolution Error

You’ve requested a page on a website (www.burtonsmediagroup.com) that is on the CloudFlare
network. Unfortunately, CloudFlare is currently unable to resolve your
requested domain (www.burtonsmediagroup.com). There are two potential
causes of this:

Most likely:
if the owner just signed up for CloudFlare it can take a few minutes
for the website’s information to be distributed to our global network.
Check back in about 5 minutes and the site should be up and running and
enjoying all the benefits of CloudFlare.

Less likely:
something is wrong with this site’s configuration. Usually this happens
when accounts have been signed up with a partner organization (e.g., a
hosting provider) and the provider’s DNS fails.

Timestamp: Wed, 24 Apr 2013 11:25:34 -0700

Your IP address: 74.100.69.99

Requested
URL: (LINK REMOVED BY ADMIN)

Error reference number: 1001

Server ID: FL_12F1

Process ID: PID_644d64120500075

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20100101 Firefox/19.0

Thank you…

Victor

Victor,

I’m going to email you the book.  If you could please edit the message above so that it doesn’t include the download link, I would appreciate it.

Dr. Burton

I removed the link Brian.

Brent

Hi Dr. Burton

I clicked one more time…

and I GOT IT !!! I GOT IT!!!     YES!!! YES!

               

This is the book I GOT
                    

Mobile App Development with Corona:
Getting Started

                   

Licensed to carlos nieto of 23753 hayes ave, murrieta, CA 92562, United States. Email address:
carlosbarba@easymusicschool.com

By the way Carlos Nieto is my son.

It has 434 pages, is that correct?

IS THIS THE VERY FIRST BOOK I HAVE TO READ, I KNOW ALMOST NOTHING?

Thank you for everything.

If I have questions on your book, would you help me?

I will start reading the book right away, any recommendations?

Victor
                

            

            

                

                    

Brian G. Burton, Ed.D.

                

            

       

Yea!  Glad you were able to get the book Victor!

Start reading with chapter 1.  If you find any of the programming concepts challenging, please let me know and I will swap the book out with my new book that is for those who are learning to program while they develop their first mobile app.

It is a longer book, but goes into much greater detail about the fundamentals of programming.  It is a textbook and has already been adopted by many high schools and universities.

Please let me know if you have any questions or challenges.  The best way to reach me is via email.

Dr. Burton

DrBurton@BurtonsMediaGroup.com

Hi Dr. Burton

I’m reading your book…

in page 14 is telling me to see the “Terminal”

I don’t find it anywhere, please I need help

Thanks

Victor

I got the e-mail Dr. Burton From now on I will communicate with you by e-mail, Thanks

Finally! Hahah well done,! Dr Burton, Ive just advertised and made you a sale on the Book :wink:

Hi Victor,

Good to hear that the videos helped. I have another series by the same author which you might enjoy:

http://www.youtube.com/watch?v=0GtUxdSeWzk

And this page contains a huge list of useful links, including tutorials, templates, libraries, etc.

http://www.tandgapps.co.uk/resources/coronalabs-resources/

Have fun!

Brent

I already saw this video, I think is really nice and it will help me a lot.

I’m going to follow instructions and make it on my computer, it will take time because it’s long (14 videos)

but I will do that, thank you.

If I have questions on this I will let you know.

Just one question…

How can I do the same project on the iPad SIMULATOR?  I want to work for the iPad better. thanks

Hi Brent I watched 3 videos, so far so good.

First problem…

The two images are moving, scrolling fine. From right to left

but in the VIDEO the city2 is right after city1 so as soon as city1 movess -3 px then city2 enterFrame so it seems like a loop

– PROBLEM 1

mine I can see the city1 all the way moving, and is not only after city1 has left the screen or the view, then city2 enterFrame

so I have a lot of time with no image waht so ever.

– PROBLEM 2

City 3 starts to move fine, and after it leaves the screen, then I don’t see nothing

I star to see city 2 but no city3 and after a few seconds, city3 APPERAS all of a sudden in the middle of the screen!

------ THIS IS THE CODE I HAVE


display.setStatusBar (display.HiddenStatusBar)

local background = display.newImage (“bgIce.png”)

local nitas = display.newImage (“stalacnitasDown.png”)
nitas:setReferencePoint(display.BottomLeftReferencePoint)
nitas.x = 0
nitas.y = 320
nitas.speed = 1

local nitas2 = display.newImage (“stalacnitasDown.png”)
nitas2:setReferencePoint(display.BottomLeftReferencePoint)
nitas2.x = 0
nitas2.y = 320
nitas2.speed = 1

local titas = display.newImage (“stalactitasUp.png”)
titas:setReferencePoint(display.UpperLeftReferencePoint)
titas.x = 245
titas.y = 140
titas.speed = 1

local titas2 = display.newImage (“stalactitasUp.png”)
titas2:setReferencePoint(display.UpperLeftReferencePoint)
titas2.x = 245
titas2.y = 140
titas2.speed = 1

function scrollNitas(self,event)
    if self.x < -477 then
        self.x = 480
    else
        self.x = self.x - self.speed
    end
end

nitas.enterFrame = scrollNitas
Runtime:addEventListener (“enterFrame”, nitas)

nitas2.enterFrame = scrollNitas
Runtime:addEventListener (“enterFrame”, nitas2)

titas.enterFrame = scrollNitas
Runtime:addEventListener (“enterFrame”, titas)

titas2.enterFrame = scrollNitas
Runtime:addEventListener (“enterFrame”, titas2)

Please help me out, THANK YOU VERY MUCH!

PS. I have a video if I didnot explain myself good. Tell me if you need to see the video

How do I open the “consol window” to see the

print (“touch”)

If you are on a Mac, you launch /Applications/CoronaSDK/Corona Terminal

This will start up a terminal session which launches Corona SDK for you.  You can then see the messages in the terminal window.  There are several 3rd Party IDE’s like Glider, ZeroBraneStudio, Corona Complete, and what used to be Corona Project Manager (I think it’s now called Outlaw).  Those have the ability to show the terminal output in a window inside their IDE.

There is a way on Windows the console windows opens automatically for you.

Thank you Rob. for the “Terminal”

I’m still wating for help on the previous problem (see two comments up please"

My friend told me that I have to pay $2 500 per year each year to have an app on the app store, using corona , is that true?

Hi Victor,

Certainly not! :slight_smile: Corona Starter is absolutely free… you don’t need to pay us anything to publish to the App Store, Google Play, or any other marketplace. You don’t even need to include a Corona “splash screen” in your app.

The price you heard might have been for Corona Enterprise, which is a high-level service that allows you to create and integrate “native” code and features in other languages and use them along with Corona. That comes at a price of $2499 for large studios and $999 for smaller studios.

The pricing page shows the details: http://www.coronalabs.com/store/

One price you must pay is for an Apple Developer License. This is $99 per year, and it’s required to publish to the App Store. See this guide on more about that:

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

Hope this helps clarify it. :slight_smile:

Brent

Thank you Brent!

I’m going to trust you, instead of my friend, because I really like Corona.

But I still need the answer for some of the problems I have to make my app. I want to make an educational app for children, if you put my name in google you’ll see that I have 24 books published already with Hal Leonard and Mel Bay.

I need to be able to put sound on an app, is it that complicated?

Where is the iPad simulator in Corona, everything I have seen is on the iPhone.

I need to make use of storyboard to create a book with many pages, about 100 is it possible?

I need to move an object in response of an event, how do I do that?

Is there any school, near Murrieta, Ca. where I can learn Corona?

I know, I have a lot of questions, please help me out, I’m very interested in creating these apps.

Thank you Brent.

Victor

Hi Victor,

I’ll try to answer your questions in turn:

  1. Adding sound to an app is relatively simple in Corona. You can do it “manually” using the audio APIs (http://docs.coronalabs.com/api/library/audio/index.html). Or, if you really want a simple method, some users really like the “GGSound” library, which is available here: https://github.com/GlitchGames/GGSound

  2. To view the Corona Simulator in “iPad” mode, go to Window > View As > iPad.

  3. Storyboard scenes are basically “unlimited”. Create as many as you need, but don’t load all of them in to memory at one time.

  4. This guide should help you with events: http://docs.coronalabs.com/guide/events/detectEvents/index.html

  5. I don’t know any physical “schools” in your area, but you can purchase a book about learning Corona. There are many options available here:

http://www.coronalabs.com/resources/books/

Hope this helps!

Brent

I try the CGSound:

I got this…

File: module ‘CGSound’ not found

Module ‘CGSound’ not found:resource (CGSound.lu) does not exist in archive
    no field package.preload[‘CGSound’]
    no file ‘/Library/Application Support/Corona/Simulator/Plugins/CGSound.lua’
    no file ‘/Users/victormbarba/Desktop/CORONA/iceCave/CGSound.lua’
    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CGSound.lua’
    no file ‘/Library/Application Support/Corona/Simulator/Plugins/CGSound.dylib’
    no file ‘./CGSound.dylib’
    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/CGSound.dylib’
 

My code is this:

local CGSound = require (“CGSound”)

local storyboard = require (“storyboard”)
local scene = storyboard.newScene()

sound:add (“sound.wav”, “sound1”)
sound:setVolume ( 0.8 )
sound:play (“sound1”)

Please help me, I’m going to try the other one