2D Toolkit Forum

2D Toolkit => Support => Topic started by: JBabz on March 31, 2014, 10:53:54 pm

Title: Question about Camera Overrides/Letterboxing
Post by: JBabz on March 31, 2014, 10:53:54 pm
Hi all!

This is the scenario I wish to achieve:
I want the game to be in its native aspect ratio (4:3) no matter what!
I want this to be achieved by letterboxing. For instance, if I am playing my 4:3 game on a 16:9 wide monitor, I want there to be black space on both sides of the screen, preserving the AR.
If the screen is narrower than 4:3, I want there to be black space on the bottom and top of the screen, preserving the AR.

This should be simple, right?
Any ideas, hit me up.

Thank you all SO much! :)
Title: Re: Question about Camera Overrides/Letterboxing
Post by: unikronsoftware on April 01, 2014, 02:09:04 pm
On the tk2dCamera, set one override to fit visible.
It doesn't create the black space for you, but you can simply add some black sprites around the edges of the 4:3 screen.