The title says it all, really. I'm making a side-scrolling shooter, and I'd like to be able to convert between metres per second, for showing human-readable numbers, and pixels per frame, for code to work with.
I'm no mathematician, though, and having been sat thinking about this for the past half an hour, I've come to the conclusion that I'm not at all sure how to express this in GDScript.
I've decided on a pixel-to-metre ratio of 12, physics in my game run at the standard 60 FPS, and I'm sure I can use remap() to scale the two measurements against one another, but my brain grinds to a halt after that.
Are there any more numbers-savvy people here who could offer any suggestions?