# Values are changing via screensize

**URL:** <https://forums.unrealengine.com/t/values-are-changing-via-screensize/394223>\
**Category:** Blueprint\
**Tags:** bug, screen-resolution, resize, unreal-engine, Blueprint, question\
**Created:** [May 22, 2017, 4:27am UTC](https://forums.unrealengine.com/t/values-are-changing-via-screensize/394223 "2017-05-22T04:27:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4a100c37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4a100c37](https://forums.unrealengine.com/u/anonymous_user_4a100c37)\
**Post date:** [May 22, 2017, 4:27am UTC](https://forums.unrealengine.com/t/values-are-changing-via-screensize/394223/1 "2017-05-22T04:27:05Z")

</div>

I’m not even sure where to go about this problem.

The built in character movement doesn’t fit my needs so I am making my own. Everything was going fine until I noticed that the height of my character’s jump vary depending on the size of the screen.

I am using UE4.15.2, blueprint only.

Here are some screenshots with the nodes relevant to jumping.

The Pawn’s nodes.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/5/fc5120beacea4ce8e0d77a98c7d865c2824c6faf.png)  
MyMovement is the component I have made. This is where it leads

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/b/b5b913adcd00f9aa7474413ca1bba2d661d78512.png)  
Every Tick nodes

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/6/d863b617ab7f8550db1d3fa41445a646057d86b9.png)  
Where Calculate Gravity leads to. Divided in two segments. This first one I added to check the apex of the jump, which indeed confirmed to me that the height has been varying.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/d/a7d84b304569b018dd49f6c2e424b6cdf6445e3e.png)  
Which finally leads to this.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/3/0d387261b44b43a6a64dfd0b4001cea62f5456da.png)  
I wish I could provide more information, but I am truly lost on what it could be since as far as I can see there should no relation between the screen size and my jumps.

---

<div class="post-metadata">

**Author:** ![Nachtmahr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nachtmahr](https://forums.unrealengine.com/u/Nachtmahr)\
**Post date:** [May 22, 2017, 5:17am UTC](https://forums.unrealengine.com/t/values-are-changing-via-screensize/394223/2 "2017-05-22T05:17:33Z")

</div>

I glimpsed roughly over it but to me it looks like a Frame Dependance issue. In Calculate Gravity you do a couple Calculations that don´t take Delta time into account by the looks of it. And different Screensize will result in different FPS. You might want to doublecheck that Part.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4a100c37](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4a100c37](https://forums.unrealengine.com/u/anonymous_user_4a100c37)\
**Post date:** [May 22, 2017, 5:47pm UTC](https://forums.unrealengine.com/t/values-are-changing-via-screensize/394223/3 "2017-05-22T17:47:06Z")

</div>

Thanks!

That fixed the problem.
