Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for an smaller active area than the window, screensize #12

Closed
SiENcE opened this issue Jun 22, 2017 · 1 comment
Closed

support for an smaller active area than the window, screensize #12

SiENcE opened this issue Jun 22, 2017 · 1 comment

Comments

@SiENcE
Copy link

SiENcE commented Jun 22, 2017

An technique to prevent dark letterboxes by pixelart game sis to draw a larger background on screen, as large as the screen in any size. But todo this you have to center the active gamearea on screen, when the windowsize or the screensizes are larger.

When i try to use push, and the nativ game size is smaller than the windowsizes, the active area is located on the top-right.

@Ulydev
Copy link
Owner

Ulydev commented Apr 2, 2018

Hello @SiENcE , sorry for the delay.

I don't quite understand the problem you're having. Is this related to push, or is it more concerning game development practices in general ? Either way, I'd be happy to help if you can provide some more information, and/or a code sample.

@Ulydev Ulydev closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants