Here are the different ways to trim a string in Corona SDK.
Tag Archives: corona sdk
Today I’m going to talk about the most common user interface item for mobile devices – The Button. Okay… do I really need to talk about something as basic as a button? Well, maybe not.. but when I was coding up my first game I came across a few important features that I wanted my custom designed graphical buttons to have, such as –
- When the user touches down on the button, I wanted some type of feedback (larger, smaller, colour change, etc) for the user
- If the user touches down, but intentionally or un-intentionally slides outside of the bounds of the button – the action of the button does not continue
Making games is easy, and really hard. We all have ideas, and if you’re reading this, you’re most likely father along the road than most. You’ve at least identified Corona SDK as the best way to make your game a reality. Recommended reading are all of the CoronaLabs guides and T and G apps learning resources. Original Post>>