This tutorial will show you how to change the way a button in your iPhone app looks while it is being touched.
This is a very basic sample project written in the same style as my Corona For Newbies mini-series, (I promise I’ll write part 3 soon!) and should be very easy to follow for anyone, even those who have only just picked up the Corona SDK.
The file is a tiny download consisting of the standard, build.settings, config.lua and main.lua and three images – so I wont bother putting the code into this blog post as it seems unnecessary.
You will be able to put a button in your app and have it change it’s image when touch is pressed down on it, just like most buttons on your screen right now would do. (On other websites. I’m lazy and Techority isn’t one of your fancy tutorial websites.)
Sidebar: A brief sidebar regarding the Techority hiatus/my health; I do now plan to update the site slightly more often although I wont be doing a post every day or two as I was for awhile there. Ideally I can do maybe two a week.
I’m still meant to be resting a lot as many of my symptoms, while not caused by overdoing it are apparently exasperated when I spend any significant amount of time working. That will pass, but I do still need more time off.
On a more personal note still, while the diagnosis will not be “official” until yet another series of tests next week it appears I have a very uncommon disease effecting the vascular system. (Tests are required to work out what variety I have, given that there are about 12 different kinds.) However, if this is indeed the case having sought medical attention early, (I will begin treatment next week,) there is a very good chance that it could go into remission – this is what I am hoping for.
Lastly, I would like to thank all of you who have donated during this period; I’m well aware for most of you it has been out of sympathy rather than because I’ve written some fabulous new tutorials, and I appreciate that.
Malnutrition is something which, I learned only yesterday, can cause symptoms to flare up – mine have not been that bad this past week and I attribute that entirely to the donors; thanks to you guys last night was the first potato meal I’d eaten in weeks. Fantastic!
Also, an extra thanks, as I was able to fill my prescription the day I got it (to help with my symptoms, not the condition) from donations alone. This is obviously a huge deal to me as managing symptoms well will alleviate most of the associated angst/depression associated with trying to deal with this issue.
Thank you all.<3