Jump to content


Photo

Zoom on area using Views


  • Please log in to reply
1 reply to this topic

#1 summerjets

summerjets

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM:HTML5

Posted 01 July 2012 - 11:53 PM

Is there an elegant solution to zooming in on only a certain area of the screen, whilst maintaining a fixed size menu bar, for example, along the bottom of the screen?

Obviously with each zoom-in iteration, it would be possible to redraw a scaled menu bar, but that seems so clunky?! Any suggestions?

The application is for pinch-zooming in on the game area of an iOS app.
  • 0

#2 CyrusRoberto

CyrusRoberto

    GMC Member

  • New Member
  • 21 posts
  • Version:GM8

Posted 02 July 2012 - 12:16 AM

Perhaps you can try using multiple views? The first view, which contains the HUD/Menu Bar could be focused on an area that is outside the action, and you can use a second view that you can freely manipulate. Just make sure that the area that contains the HUD/Menu Bar is completely away from the action, so that it doesn't appear under the second view. Not too elegant, but it's the way I would first try to do it.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users