C
C#•6mo ago
KingSchorschi.xyz

Velocity increase at start of the program not constant

Heyy guys, I am trying to create a game with the help of raylib for my school. At the moment I have just implemented gravity. My problem is that the increase in velocity per frame is not constant. [See picture 1] Why is that and what are your ways to solve it. Btw pls dont flame for my code I have`nt polished it yet. Project source code: https://github.com/Lucijan-Hertel/Dark-Impact
GitHub
GitHub - Lucijan-Hertel/Dark-Impact
Contribute to Lucijan-Hertel/Dark-Impact development by creating an account on GitHub.
No description
3 Replies
Omnissiah
Omnissiah•6mo ago
from what i can see there are tutorials/example for this, did you look at those?
KingSchorschi.xyz
KingSchorschi.xyzOP•6mo ago
Not yet, until now I tried everything on my own because I think that with that strategy I will learn the most. Idk but to be honest I dont really like tutorials 😄
Omnissiah
Omnissiah•6mo ago
i would argue it's a niche library, i don't know how many people can give advice on that
Want results from more Discord servers?
Add your server