I'm implementing a touch interface to run side by side with a keyboard/gamepad interface (so the same game can work on both tablet and computer).
The thing is that (because the way I've designed it), when the player jumps using touch, it's jumping straight up, rather than at a 45 degrees when using keyboard.
So my question is:
1) is there a way to "mess" with the Platformer behavour? change its code or something?
2) is there a place where the implementation of the Platformer bejavoir is described in detail so I can replicate it's functionality (and tweak the replication) so that the player controls the same regardless of the input?