Oh yes that was what was making it vary so much, woops . It still has a bit of variance when it gets very laggy but I figure i can cap the jumping height of the jump. Although it probably isn't necessary.
thanks a lot. btw sorry for posting in the wrong forum. didn't realize until now.
Search found 2 matches
- Sun Aug 25, 2013 2:25 pm
- Forum: Libraries and Tools
- Topic: how to use dt in platformers movement?
- Replies: 3
- Views: 1955
- Sun Aug 25, 2013 9:53 am
- Forum: Libraries and Tools
- Topic: how to use dt in platformers movement?
- Replies: 3
- Views: 1955
how to use dt in platformers movement?
Hello, I'm trying to make a platformer game, and I've done the basics, walking and jumping. I use a gravity variable to add to the vertical speed every frame basically. The position is modified by the vertical speed. I multiply vertical speed by dt in order to keep the movement somewhat independent ...