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"

Camera FOV and offset fit background sprite vertically to any resolution and never show "the end of the world"


I have a question that I have not been able to find an answer for yet.

I am making a Paper2D game. Every level will have one background (sprite).

I have 2 particular blueprint classes. One camera manager class and one actor class. The actor class is named BackgroundBP. The camera manager class is called CameraManagerBP.


alt text

alt text


alt text

alt text

alt text

My goal is to run the game, and no matter the size of the game screen or how far the background is from the camera, I would like the camera to show the entire height of the background sprite. As the character moves left and right, I want the camera to stop at the sides of the background sprite as soon as the "end" is reached. I do not want the height or sides to be cut off or the camera to show "the end of the world". The most important bit, is that I want the full height to ALWAYS show on the screen.

I try to make it as clear as possible. In case additional information is needed, please do not hesitate to request.

Product Version: UE 4.21
cmbpbpt.png (438.7 kB)
cmf.png (334.7 kB)
bbpc.png (236.6 kB)
bbpbp.png (293.9 kB)
bbpf.png (327.9 kB)
more ▼

asked Apr 02 '19 at 09:50 AM in Blueprint Scripting

avatar image

1 1 1

avatar image chaqSilent Apr 02 '19 at 10:18 AM

alt text

alt text

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

0 answers: sort voted first
Be the first one to answer this question
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