I've been having this issue for a while now and was hoping someone can help me out here. Basically i wanted to add a touch duration feature to my game where the longer keep hold of touching the screen, the longer/higher the jump.
I've kind of worked out a way to do this, which is by doing the following:-
Keyboard (On any key pressed) Player (Simulate Platform pressing Jump)
Keyboard (On any key pressed) Player (Set Platform Gravity to 2200)
Keyboard (On any key released) Player (Set Platform Gravity to 3500)
I'm not sure if this is the ideal way of doing it but it sort of works the way i want it to. The issue is i can't implement the touch feature for this to work exactly how it works with the keyboard.
The way it works now is fine as the jump is capped and if i keep a button on the keyboard pressed, it jumps higher. But if i change it from keyboard to any Touch condtition, it doesn't do the same thing as it just jumps normally without any change.
This does seem like something really simple and obvious to do but I can't work out how to do this, so i hope someone can help.
I've provided a simple capx file to show what i've done so far.