Hi,
thanks for the ideas guys. I’ve tackled this before with Construct 2, however, I never quite grasped how it worked fully - forces and physics always make me scratch my head, even with simple things like this!
And to re-cap, yes, the longer you hold down the key/button, the higher the character jumps, but with a maximum height.
Below is a screenshot of a basic implementation of a players movement in Construct 2 and It works with forces/velocity:
set player vector y to player.platform.vector y/2
(There is a force applied to add gravity already).
Surely this could be adapted to Godot?
Oh, before I forget, below is a link to a post in Construct 2 regarding this problem and solution using the above method - please note the the red "x"s in the code are a method to reverse the conditions.
https://www.scirra.com/tutorials/1048/platform-jump-height-or-movement-based-on-tap-or-click-duration