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"

Split screen in single player game

Is there a way to split the screen into two screens in a single player game? One screen for displaying menu / widget, the other for displaying world level

Product Version: UE 4.12
more ▼

asked Jan 26 '17 at 05:15 AM in Everything Else

avatar image

ibnu fauzan
51 1 6 6

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

1 answer: sort voted first

Yes. You can enable splitscreen in the project settings. For it to work properly you need to replace all your "add to viewport" nodes to "Add to player screen" If you want the UMG widget be limited to the player screen the player controller is assigned to. You tell player 2 to draw the UMG for the world map and possess player 1 for control.

alt text

I suggest following this tutorial. link text

more ▼

answered Jan 26 '17 at 08:22 PM

avatar image

381 16 17 22

avatar image ibnu fauzan Jan 27 '17 at 03:23 AM

Thank you for your response. But your answer only works for two player. I know that we can split screen by using "Create Player" node in Blueprint. But i want my game a single player game. Is there a way to manipulate the number of viewport, its size, and its location through Blueprint or C++ code or command line?

avatar image Mootjuh Jan 27 '17 at 08:58 AM

If you disable input of the second player, it's pretty much as if it's 1 player. I do not know any other solution other than overlaying part of the screen with UMG. You can probably play with FoV and camera position to achieve what you want too.

avatar image ibnu fauzan Jan 30 '17 at 03:11 AM

I tried using sceneCapture attached to camera. So i can display it on screen as an image. But of course it takes more memory. And i still am looking for the best solution

(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