andreasgal/gaia — pull request #539 by davidflanagan (2012-02-21 21:42:18+00:00)
Title: make CutTheRope run in landscape mode, and switch to an ugly icon

The ugly icon doesn't include content from the game, so there's no infringment issue. We need a better one, though.

The main part of this pull request, though, is css that rotates cut the rope to run in landscape mode.
Its much more playable that way.

But: there is still a bug (in gecko, I think, or maybe it isn't even a bug) where the rotated iframe stll responds to panning as if it was not rotated. While playing the game, panning gestures turn into rope cutting gestures and no scrolling occurs, and all is well.

But before the game starts, or if you touch outside of the main game area, then moving your finger scrolls. And the problem is that horizontal swipes scroll vertically and vice versa.

We need to get his pulled because the game is better this way than in portrait.

But it would be nice if there was some way to turn off panning altogether. I haven't found one, and I sort of suspect that there isn't a way to do it, because of cross-origin restrictions.