The Daily Click ::. Forums ::. Klik Coding Help ::. Custom Platform Movement Sprinting the Slidding

Post Reply  Post Oekaki 

Posted By Message


1st May, 2007 at 17:51:06 -

I'm not a very strong coder but I can usually figure things out. But I do have a problem with my custom platform movement that I need help with. I have my player running around and jumping and such. I even have him moving faster when the shift button is held. What i want to happen is when the player releases either the sprint key "shift button" or a direct "left or right buttons," I want the player to slide a little bit before stopping. Another problem I am having is if I let go of the sprint key "shift" while in mid-air the players movement is slowed to the normal (non-sprinting) speed for the remained of his jump. Below I listed a link to the project. If anyone can help it would be much appreciated.

Thanks in Advance,

Hello guys! I'm New! -- I've been new for a year now...haha


God's God


Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
1st May, 2007 at 21:56:25 -

Some flags should be able to help here, for example... if you're sprinting, toggle a flag on.. and until you reach normal speed, it wont toggle off. This will make it so that you if the flag is on, and you suddenly turn, the flag will be on, and you can make him skid.

As for the jumping, just make it so that if the shit key isn't help in, and the player is on the ground, return speed to normal. If you don't already, you can use sensors for this, I haven't check the engine or anything.


Custom ratings must be 50 characters or less


Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
1st May, 2007 at 22:33:30 -

Excuse me Brandon, your shit key is being helped in.

"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"

Post Reply



Worth A Click