Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - aschearer

Pages: [1]
1
Support / Working with multiple cameras
« on: May 31, 2013, 12:32:56 pm »
Hi, I'm new to Unity and the 2D Toolkit and am trying to figure out how everything fits together. I have a game which I want to run at different resolutions as long as they're 4:3. It seems like tk2dcamera's Overrides might help, but I'm not sure how to make things work when using multiple cameras.

In my case I have three cameras:

  1. Main Camera draws the background and most of the game parts
  2. Board Camera draws just the game's board. I did this so I could clip elements which are not on the board (for instance the tiles which are pushed up from below the board)
  3. UI Camera draws menus which appear over the board but may extend past the board

When I try adjusting overrides for each camera things are shifted to the center of the screen, etc. so not quite right. I'd appreciate any guidance on how to tackle this problem -- and possibly how to simplify my camera set up...

Pages: [1]