![]() ![]() i am not going to incorporate physics in my first games, so the accuracy of the timer does not matter too much, what is most important right now is a game that can run as smooth as a proffesional game. ![]() so i would like to ask, if someone can explain how to implement a timestep and create smooth motion. I have read a few articles on the subject of time steps, however i have been unable to fully understand the concept and incorporate it in my game. By doing it the 'wrong way' as far as i understand then it doesnt neccesarily sync up with the monitor thus creating the sense of jittery motion, even at high FPS. Like i said, i understand you have to track time, and update positions accordingly instead of just +1'ing location each frame/iteration. Ive also tried several games off of the pygame website and so far none of them have had the smoothness i prefer. I am using python and pygame at the moment for my games, and in none of them i have been able to come up with the smoothness i wanted. However, for some reason, this concept is very hard for me to understand. As far as i can tell i am suppose to track time, and update positions accordingly. ![]() I have created a little program to hopefully help me understand this. Hello im trying to learn more about smoother movement in games. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |