Original Post
I have a projectile motion program made in C++ using SDL (Simple DirectMedia Layer) that fully works in regards to the projectile moving in an arc according to gravity and all that. My problem is that when the projectile starts to move, it will move a certain number of frames, and then hang for a while, and then jump forward and repeat the process. It is like the sprite is kind of lagging for a bit.
I haven't posted any code yet because I was wondering whether this might just be a common error that happens but if code is needed then I shall post it
Thanks for any help people give
Chris
I haven't posted any code yet because I was wondering whether this might just be a common error that happens but if code is needed then I shall post it
Thanks for any help people give
Chris