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

Multiresolution SHOW_ALL without black borders #19063

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Commits on Sep 20, 2018

  1. Multiresolution SHOW_ALL without black borders

    Hi,
    I figured out this additional support for multi resolution might be useful
    for everyone!
    
    Currently, there are only full content-view with black border, full screen
    view with cropped content, or if we need to add background image AND full
    content view without cropping AND without black border, we have to
    calculate it ourselves.
    
    This changes will support the aforementioned full background without black
    border AND full content view without cropping. All without affecting
    existing code. I personally have used it in a number of my cocos2d-x
    project and find it very useful. Please consider it for the community!
    Thanks!
    
    discussions available here:
    https://discuss.cocos2d-x.org/t/multiresolution-how-to-show-all-without-black-borders/26508/11
    JiboStore committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    98907dc View commit details
    Browse the repository at this point in the history