After chatting about mode 7 earlier today, I earned myself a short break and used it to knock up this demo. It only really shows the concept, but works well enough that I figured I'd give the source out and let people see how quickly you can knock up code in graphics 2.
Note the code is massively un-customisable as a result of me putting in a lot of quick hacks to get everything working ASAP, but it might be of use to someone.
mode7.jpg 76.84KB 355 downloads
What I'm basically doing:
1) I load the level and create the sprites.
2) I draw the entire level and place it into a display group.
3) That group gets placed into a snapshot.
4) I rotate the group and snapshot to match the player movement.
5) I invalidate() the snapshot and then distort it to give a perspective effect.
The source includes the whole corona set-up, and also the Tiled level so you can have a play yourself.