Alright, this example covers the touch button interface for controlling the red square. Since it's not really in the realm of tile based games, I'm not going to go too far into detail. Actually, I'm not going to go into detail at all. If you want to know how it works, check out the fully commented source code by clicking the link below. To work the example, just press those arrow keys!
Scrolling Source Animation