Hey, was just looking for a little help in setting up the values for the platformer that I'm building.
The basic premise is that I have a character who is constantly running throughout the game level, and will have to go up, down and along platforms, as well as fall off them. Initially I have my character start running with a velocity of 0.03f. This moves him fine when running across a flat platform, however, when he has to start running up a platform, he naturally slows down, and vice versa for running down a platform, as I'd rather he doesn't slow down or speed up. I'm looking for the best way to have him move at a continuous pace, whether going up, down or straight across. I don't think I can just turn off gravity as I need him to be able to fall off.
I also need the character to "stick" to a platform that moves down (or up for that matter). I find if I move a platform the character will be left in the air for a fraction of a second before falling to meet it. I'd rather havet the kind of Mario effect where he stands on a platform that moves. Gravity is currently set to -10.0f, get the feeling that if I set it any stronger, then my other problem of having the character run up the platform will be amplified.
If anyone has any advice, tips or could point me to a tutorial, I'd really appreciate it.
The basic premise is that I have a character who is constantly running throughout the game level, and will have to go up, down and along platforms, as well as fall off them. Initially I have my character start running with a velocity of 0.03f. This moves him fine when running across a flat platform, however, when he has to start running up a platform, he naturally slows down, and vice versa for running down a platform, as I'd rather he doesn't slow down or speed up. I'm looking for the best way to have him move at a continuous pace, whether going up, down or straight across. I don't think I can just turn off gravity as I need him to be able to fall off.
I also need the character to "stick" to a platform that moves down (or up for that matter). I find if I move a platform the character will be left in the air for a fraction of a second before falling to meet it. I'd rather havet the kind of Mario effect where he stands on a platform that moves. Gravity is currently set to -10.0f, get the feeling that if I set it any stronger, then my other problem of having the character run up the platform will be amplified.
If anyone has any advice, tips or could point me to a tutorial, I'd really appreciate it.