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.
3 Replies
from what i can see there are tutorials/example for this, did you look at those?
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 😄
i would argue it's a niche library, i don't know how many people can give advice on that