button press visual feedback?

I wonder what a good way (in terms of efficacy, execution time and binary size) is to provide visual feedback that a button got pressed.

A solution I could think off is using different images and exchanging them, but seems unefficient to me. Maybe transient color overlay?

Would be very much interested hearing what is good practice for that.
Thanks. [import]uid: 109677 topic_id: 19797 reply_id: 319797[/import]

une.ulvedal,

Have you seen this video from the learning Corona tuts…

It may help…

http://instantvideowebpages.com/play/?m=645

Have fun :slight_smile:

[import]uid: 107633 topic_id: 19797 reply_id: 76754[/import]

cool, exactly what I was looking for :slight_smile: [import]uid: 109677 topic_id: 19797 reply_id: 76755[/import]

Good to help out…
Here’s the site link…for lot, lots more…

http://learningcorona.com/
This site helps ALOT…when looking for just that
right piece of code or just learning…

Have fun! [import]uid: 107633 topic_id: 19797 reply_id: 76756[/import]

also just found pretty good examples in the Corona sample folder! The last place where I was looking :wink: [import]uid: 109677 topic_id: 19797 reply_id: 76764[/import]

You can do the 2 image approach or you can do any of these

  1. set the image alpha to 0.5 on touch, back to 1.0 on release
  2. Shrink/enlarge the image on touch
  3. shake the image
  • plenty more options im sure :slight_smile: [import]uid: 84637 topic_id: 19797 reply_id: 77148[/import]