Which is faster ? using an image v.s programmatically drawing simple objects

As an example I have a button it is made up of 3 layers the following layers:

  1. A Rounded Rect

  2. A Second Rect ( Slightly darker for a shadow)

  3. Text saying “Play”

Or I could do the same thing in photoshop and export it as a .png. My question is what would be faster .png or 3 display objects?

I’m not sure, but you really have to have a lot going on for that to matter though. What I do know is that a png will look better since there will be no anti aliasing on the newRoundedRect.

Like jonjonsson said, you really should be doing so many things for that to matter. If it’s just a menu matter, I suggest working with .png files for a better look(not just anti-aliasing but assuming you’ll be drawing something better than what Corona can draw).

Other option is to try by yourself and see how long does it take doing what you want to achieve.

I’m not sure, but you really have to have a lot going on for that to matter though. What I do know is that a png will look better since there will be no anti aliasing on the newRoundedRect.

Like jonjonsson said, you really should be doing so many things for that to matter. If it’s just a menu matter, I suggest working with .png files for a better look(not just anti-aliasing but assuming you’ll be drawing something better than what Corona can draw).

Other option is to try by yourself and see how long does it take doing what you want to achieve.