The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: InvaderZim on April 26, 2007, 01:37:13 AM

Title: I need help debugging/improving my run/jump system
Post by: InvaderZim on April 26, 2007, 01:37:13 AM
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.html

One 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!
Title: Re: I need help debugging/improving my run/jump system
Post by: :) on April 26, 2007, 02:07:13 AM
www.sendspace.com

I cant download from that site I tried 6 times it's making me mad xD
Title: Re: I need help debugging/improving my run/jump system
Post by: InvaderZim on April 26, 2007, 03:34:44 AM
http://www.sendspace.com/file/bh199r
Here you go, Nouman.

Although I should probably mention that this is in 2k3, not XP. I mention this because there seems to be way more XP 'scripts' here then 2k/2k3, so I might've confused someone.
Title: Re: I need help debugging/improving my run/jump system
Post by: InvaderZim on April 27, 2007, 03:24:39 PM
Yea, I had a feeling this topic would die without me getting any help, just like everywhere else.....
Title: Re: I need help debugging/improving my run/jump system
Post by: modern algebra on April 27, 2007, 04:40:35 PM
I would hwlp, but my version of 2k3 doesn't work. Maybe I'll download a new version and see if I can help.
Title: Re: I need help debugging/improving my run/jump system
Post by: Jalkson on April 27, 2007, 04:50:52 PM
I'm downloading 2k3 right now, I'll take a look at it and see what I can do to help.
Title: Re: I need help debugging/improving my run/jump system
Post by: InvaderZim on May 01, 2007, 12:40:24 AM
Has anyone tried this, or should I just give up and lock this now?  :x
Title: Re: I need help debugging/improving my run/jump system
Post by: Zeriab on May 01, 2007, 10:18:42 AM
No, don't give up.
I think it's because it is for 2k3.
The activity for 2k3 is not as high as for XP on these forums.
Title: Re: I need help debugging/improving my run/jump system
Post by: InvaderZim on May 01, 2007, 04:53:14 PM
Well, I plan to move to XP anyway, once this school quarter ends and I have time to learn RGSS. Even so, this kind of 'scripting' will be present there too, so I might as well improve now.