Adding object when button is pressed?

In the project I’m working on I’m trying to get to where when you get to a certain score and press a button, it adds an object to the screen. The problem is, I couldn’t find a tutorial and have absolutely no idea how to go about that. Help?

Hi @zimofrite,

The best place to start is Corona University. You’ll find guides, tutorials, and even videos which discuss the essential topics you need to get going with Corona SDK.

http://www.coronalabs.com/resources/tutorials/getting-started-with-corona/

Have fun!

Brent Sorrentino

Hi, Brent, thanks for the pointer. Unfortunately I couldn’t find what I was looking for.

You’re probably not going to find a specific tutorial for just that.  In fact in most cases our tutorials are going to cover various aspects of things like how do you put an object on the screen.  How do you make a button.  It may not just be tutorials, but there are guides and doc pages for every API.

But at the end of the day there are a dozen ways to make a button and they all are different enough that no one can predict which way you want to have your app work.  You’ve asked a very vague question actually. 

Do some research, look at the sample apps, find things that are similar to what you want to do and learn what that code does, and modify it for your use.

Hi @zimofrite,

The best place to start is Corona University. You’ll find guides, tutorials, and even videos which discuss the essential topics you need to get going with Corona SDK.

http://www.coronalabs.com/resources/tutorials/getting-started-with-corona/

Have fun!

Brent Sorrentino

Hi, Brent, thanks for the pointer. Unfortunately I couldn’t find what I was looking for.

You’re probably not going to find a specific tutorial for just that.  In fact in most cases our tutorials are going to cover various aspects of things like how do you put an object on the screen.  How do you make a button.  It may not just be tutorials, but there are guides and doc pages for every API.

But at the end of the day there are a dozen ways to make a button and they all are different enough that no one can predict which way you want to have your app work.  You’ve asked a very vague question actually. 

Do some research, look at the sample apps, find things that are similar to what you want to do and learn what that code does, and modify it for your use.