x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Portrait View Mobile

I am trying to make a Portrait mobile game. I have set up an orthographic camera using ratio as 0.5625. It's working fine in full screen on a standard mobile hower, in larger screens such as huawei 10 pro or 20 pro there are black lines top and bottom. I have tried to change the ratio to 0.5 for them by I still get the black bars. Is there a way to scale the game to adatp and force the full screen to all mobiles?

Product Version: Not Selected
Tags:
more ▼

asked Nov 29 '18 at 08:19 PM in Using UE4

avatar image

Salvo8984
1 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Maybe my information is outdated, but even if you can get/calculate desired aspect.ratio, you cannot change it in runtime on mobile device. So the only way is to make different builds with different aspect ratios for appropriate devices, and submit them accirdingly.

Anyway, you can search for GameViewportClient and investigate, maybe this would be helpful.

more ▼

answered Nov 29 '18 at 09:24 PM

avatar image

redbox
4.3k 81 19 104

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question