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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Adjust 2d (orto) camera on game start / window size change

Hi there. 1st sorry for my fail english.

Making a 2d game and need my camera to capture exact widht from screen without fixed aspect ratio like here: alt text

Problems:

1 - camera calc wrong aspect ratio (not! fixed in camera settings) - it is always 1.33

2 - after scale it save correct widht, but goes wrong vertical position like here: alt text

possible solutions:

a) can some on say how to handle vieport size changed event so i can adjust my camera there

b) i can grab vieport size (like for log) every tick of game and check is it same as before, but problem is - tip says not to do it

Can some one help me how to make it correct?

Product Version: UE 4.13
Tags:
1.png (642.3 kB)
2.png (360.9 kB)
more ▼

asked Nov 15 '16 at 02:42 PM in Blueprint Scripting

avatar image

vKatz
1

(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