Sidescroller Problem

Hello,

I made my first sidescroller jump’n run only with jumping and the level moves from right to left.

I want to make my game more iteresting by adding a speciel jump.
My idea is: When I hold the Bottom the charakter should jump and slowly come back to ground and when i only press the key the charakter should immediately come back to ground. Like in the iphone game Zombie Tsunami.

Also i want to add a second player.
My idea is: One player stays in the middle of the level and the other in behind. Then the player must control bought charakter by pressing two bottom. Each charakter has one seperate bottom. You can also play the game with a other player. For Example one charakter jumps with the “ALT” Botton and the other with the “CTRL” botton.

Thank you very much for your help.

For having you player come back to the ground quickly after just pushing the button, increase the gravity or downward force on GetButtonUp or GetKeyUp.

Adding another player is pretty easy to do but may involve a few different scripts (ie) One that keeps the second player a certain distance behind the first player if only one user is playing. Kind of like a follow script.

The Input for the other player just involves assigning different input buttons or keys for the second character.