Hello friends, I am making a platform game with the run mechanics similar to a Castlevania or Kirby game... that is, you are walking, and then you let go of the walk button, and then press it again to run. After initially releasing the walking button, you only have a short time to press it again to start running, otherwise you just keep walking.
I have successfully done this, and achieved what I want without using the "wait" object, or delta time (the reason being I don't fully understand them). What I did instead was I set a private variable to a number (once the required conditions for running were true) and then subtracted from it every tick until it goes back to zero.
My question for the community is-- is this a bad way to do this? I think ticks are based on framerate, and so the ability to run within the game might be affected based on the frame-rate itself... if that was the case could I just set the framerate to a constant 60 perhaps? Or should I rework it based off of milliseconds and whatnot...?
Here is a cap for interested eyes...http://dl.dropbox.com/u/19590484/cityscape.cap