Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Objects run faster near top of the window
Print
Pages: [
1
]
Author
Topic: Objects run faster near top of the window (Read 1051 times)
0 Members and 1 Guest are viewing this topic.
ShaiMenz
Newbie
Posts: 1
Objects run faster near top of the window
«
on:
August 31, 2017, 03:08:19 pm »
Hello,
I just started using SFML and have been doing some simple games. I have encountered a weird phenomenon where objects run faster near the top of the screen.
I believe it happens because calculations near the top of the screen are faster (smaller numbers). I tried capping the framerate but it doesnt seem to work...
Tanks, Shai.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Objects run faster near top of the window
«
Reply #1 on:
August 31, 2017, 09:40:33 pm »
No, that doesn't make sense. Calculations are equally fast as they use the same type (int32, float, etc).
How do you notice that it's faster?
How do you measure that it is faster?
What are your calculations?
Can you provide any code?
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Objects run faster near top of the window