I'm attempting my own custom platform engine using floating point movement. There's a few bugs I'm not sure how to fix.
Here's the MFA of my static platform engine WIP.
- The first bug being that when sliding around, standing on the ice, sometimes you still move a few 1 pixels. Specifically, if the velocity shows 0.02 or something like that. Although I thought I made the velocity so it's supposed to decelerate on the ice until the velocity hits 0, but sometimes it doesn't go all the way to 0.
Also, what does the 'e' stand for in the number line? Is that some sort of error?
- The other problem I have is with the gravity. Sometimes before hitting the floor, its like there's an aftershock. It seems his slight tip toe touches the floor for a second before he actually 'lands'. I'm not sure why this is, maybe it's a velocity, position error.
I was wondering if fast loops can be used anywhere, or would make use here?
On a unrelated note, am I able to install MMF2 on another PC if I installed it once on the computer that I am using? In other words, multiple install? I recently bought a nice laptop which has Vista on it. I was going to take it with me for when I go on vacation. I was going to install MMF2 on it if it lets me. Though I suppose I would need the update fix for MMF2 to run on Vista.