Okay, the CalculateDelta updates a AlphaTime and i multiply all changes on the x and y by AlphaTime.
y :+ (20 * AlphaTime)
I kept it out of the posts to keep it readable.
So i need more timingcode than that?
Just out of curiousity, can you name a situation where i would need to have my logic occur multiple times before i draw?
Am i on the right track with putting all the logic in Type mothods or should i keep the Types simple and slim and have all the gamelogic in the mainloop (or function(s) which i call from the mainloop)? Or is all of this just a personal design preference?
Thanks for all your help so far.
y :+ (20 * AlphaTime)
I kept it out of the posts to keep it readable.
So i need more timingcode than that?
Just out of curiousity, can you name a situation where i would need to have my logic occur multiple times before i draw?
Am i on the right track with putting all the logic in Type mothods or should i keep the Types simple and slim and have all the gamelogic in the mainloop (or function(s) which i call from the mainloop)? Or is all of this just a personal design preference?
Thanks for all your help so far.