I hope this is in the right section....
Ok, so I made a running and jumping system nearly from scratch, and it works fine for me. I asked a person on another forum to check it, and he said that there were many bugs and flaws, but pretty much refused to tell me what they are.
Now, I don't really know if there are any bugs/flaws/glitches, or what they could be, but I figure even if not, someone will help me improve my code in some way anyway. Note that this is just a skeleton of what I had in mind. It is finished, but without the final touches (different graphics for running, and other minor and insignificant things, etc).
Here is the download, it is only like .7 megabytes.
http://www.zshare.net/download/running-and-jumping-zip-fs3.htmlOne thing you should note is that there seems to be a problem where the code just decideds to skip some i'ncrease/decrease hero speed' commands and just basically jumps around randomly. The increase/decrease problem I took care of, but even so, while I hold SHIFT to run the character keeps jumping in and out of run mode. For my system, it causes many problems, and even without that it is still very annoying, as it seems to happen almost every second. But the thing is that some people don't experience this problem. On my bro's computer it ran well, but this problem seems to persist for the majority, so be aware of it. Ways of fixing it would also be nice, although from what I gathered it just seems to happen just because it wants to (I've checked the code line by line like 10 times, found nothing wrong).
So yes, I hope someone bothers to check it out and help me
. Comments and productive criticism are also welcome.
Btw, this code is very simple and has plenty of comments, so I think even a beginner can follow it. Don't stop your lack of knowledge of scripting stop you from trying to help!