Trying to work a platform engine using floating point movement (or is it called sub-pxel movement?), and I've been experimenting with moving platforms that also use floating point movement. However, I don't think my method is working correctly.

I have taken a look at a few tutorials online. But I don't think they help with what I'm doing. A speed of a moving platform as 2 is too fast. A speed of 1 is too slow for the moving platform. So I'm trying to go with something along the lines of 1.5, 1.25, or 1.75

Sure I have got the moving platform to work in floating point movement. However my character (being controlled by floating point platform engine movement) seems to have a jerky movement on the platform. I guess its because I'm only adding the movement of the platform to the characters current x/y position instead of actually positioning the players of set back on the platform?

In any case, I think I may need help on this. Any suggestions and/or example files I can look at to help get me started on functional moving platforms on player?

If it helps, here is what my code sort of looks like.