Hello Guest

Author Topic: Splitscreen with tk2dCamera using Normalized View Port Rect  (Read 7501 times)

jeong1135

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Splitscreen with tk2dCamera using Normalized View Port Rect
« on: August 21, 2013, 04:37:19 pm »
Hello,

I'm trying to make a split screen with two cameras, but I can't come up with desired effect with tk2dCamera while I could pull it off with regular Unity Camera.


Here is the image that explains this better. This is a game screen that is not edited.

Thank you in advance.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #1 on: August 21, 2013, 05:50:32 pm »
This is a tricky one to support "properly". I'll have to investigate this properly - the customizability of the tk2dCamera makes this a lot more complicated than it should be. If you need it working for a particular scenario (if I know what override you're using, etc.) it should be easy to work around.

Neeko

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 59
    • View Profile
    • Overdeveloped
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #2 on: September 10, 2013, 12:31:27 am »
I'm looking to do split screen (up to four players) as well. I know this thread is relatively new, but would love to see any progress on the issue. Thanks!

wakatanka

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #3 on: October 08, 2013, 08:46:30 am »
Me too, looking to do split screen for four players  ;D

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #4 on: October 08, 2013, 11:39:07 am »
Not yet. I can provide a temp fix if necessary, but making this work in all combinations of things is quite a huge undertaking, probably in the next major release.

wakatanka

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #5 on: October 09, 2013, 04:42:57 pm »
I temporary solved grouping all the sprite in an empty gameobject, then i scaled all down by script, in my case at 0.75%.

gameobjectcontainer.transform.localScale = Vector3(0.75,0.75,0.75);

hope in a better elegant solution next release.  :D

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #6 on: October 10, 2013, 09:12:58 am »
Possibly not in the next release but this is quite high up in the priority for 2.3

Neeko

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 59
    • View Profile
    • Overdeveloped
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #7 on: October 15, 2013, 12:54:46 pm »
Not yet. I can provide a temp fix if necessary, but making this work in all combinations of things is quite a huge undertaking, probably in the next major release.

I haven't had a chance to investigate a solution myself, but if you have a temp fix to post, that would be awesome  ;D

AjayKhara

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Splitscreen with tk2dCamera using Normalized View Port Rect
« Reply #8 on: January 24, 2014, 07:19:35 am »
I am facing the same problem.
I am using 2 to 6 split screens.

Is it solved yet ?