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

Conversation

JiboStore
Copy link

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

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
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

Successfully merging this pull request may close these issues.

None yet

1 participant