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"

How can I fulfill smartphone screen?

Hey Guys!

I'm creating a mobile game, but, when I run it in my smartphone there are these black borders all around.

Can anyone tell me what's that? How can I take the borders and also the downside menu?

alt text

My SplashScreen seems to be ok.

Product Version: UE 4.19
Tags:
more ▼

asked May 29 '18 at 08:58 PM in Using UE4

avatar image

Tabacudo
62 3 3 13

avatar image mightyenigma Jun 08 '18 at 01:03 AM

Did you try the Allowed(?) Fullscreen Resolutions node on the Game Settings object?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I am not sure but I have seen this when developing games using Corona. It is on purpose and called "letterbox", which is a way to make the aspect ratio of your game's chosen resolution fit a screen with a different aspect ratio. The two other ways are to stretch or squash the picture to fit the screen, or to allow the game screen to extend offscreen (which is usually bad because then there are areas the player should be seeing but they can't).

To fix this in Unreal, you may need to detect the device's supported resolutions and then change to one of them as the game starts. I'm not sure the best way, but to do it this way, you can use the Blueprint node Get Game Settings and use the resolution-related nodes within that object, and then use the Apply Settings node from the same object.

more ▼

answered May 30 '18 at 05:31 PM

avatar image

mightyenigma
3.7k 18 18 15

avatar image Tabacudo Jun 03 '18 at 06:14 PM

Hey Mightyenigma! Thanks for the help.

It didn't work though. I've put my aspect ratio in 0.6 to fulfill the borders but I can't gert rid of the menu. The fullscreen nodes do nothing with the game.

Is there anything else I can do?

Thx.

avatar image mightyenigma Jun 06 '18 at 09:27 PM

Did you do this in your Blueprints with Game Settings and Apply Settings nodes, or just only changed your Project Settings or your UMG widgets?

avatar image Tabacudo Jun 07 '18 at 12:01 AM

I've tried using the settings nodes, but none of the fullscreen nodes I found worked. Even the node "Execute console command".

Then I just changed the aspect ratio of my camera that is attached to the character. I don't really know how I can override the menu. :/

(comments are locked)
10|2000 characters needed characters left
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