SFML community forums
Help => General => Topic started by: Godsend72 on March 03, 2014, 05:20:03 pm
-
Hello.
I'm trying to make something like a "pick a stick" game. I have tried to implement running, i have a little bar above players head witch indicates how much can i run, the more i run the shorter it gets and it works, but when i change the direction it doesn't decrease right away, more like 1 second later.
here is a link to download, source is included: https://mega.co.nz/#F!9o9VDTxD!iTX9sxrfU7vEl_J9cxBSsQ
here is a download link in rar: https://mega.co.nz/#!F40BBZxJ!8nSfhafyxNyMbAFybxCrAdIKXSdKPMOguiiIL4zvCiE
image: http://oi62.tinypic.com/55gjyo.jpg
you walk with: WASD
you run with: Left Shift
the numbers above your head are the number of woods collected, 1 wood fill's your running bar 25%
What i wanted to ask is can some one look at it and point me to the problem, just this one time :D
-
Put together a small program that demonstrates your problem. Nobody is going to dig through all of your code and tell you what the problem is.