The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: &&&&&&&&&&&&& on March 16, 2013, 11:47:31 AM

Title: [RMVXA] What should I do?
Post by: &&&&&&&&&&&&& on March 16, 2013, 11:47:31 AM
Oh no its dat gui agin! run awai!!!

Well, hello there guys. How are you all doing?

I (as I think you know) have been learning a bit about scripting, and thought I would take a crack at making a step counter for the menu and... well it went pretty well. There were a few times that it pissed me off a little, but I got it to work (other then some weird little bugs >_>).

[spoiler=It working.](https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2FStepcounter5_zps467b1338.png&hash=fd7c72bbad1d2db78482494fd169983a77bba49c)[/spoiler]
[spoiler=It kinda working...]It only seems to do this at 1 and 2 steps, but any more and it works fine. IDK my bff jill. (https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2FStepcounter2_zps1d58a423.png&hash=63bd77498f73e569bd058621b5f144570ce243c1)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2FStepcounter3_zps2f8dce48.png&hash=57a4e17c31ce9d36035dbaf43dc22f0d861f0c42)[/spoiler]


So I'm posting to brag about my below entry level script? No, because none of you care about my crap script.

I'm posting here, hoping that somebody could tell me what's the next "rung" in this ladder. What type of script should I take a crack at next? Teeth sinking and all that, eh.
Title: Re: [RMVXA] What should I do?
Post by: pacdiggity on March 16, 2013, 12:27:43 PM
Good for you, BoE. Baby steps. Maybe you could figure out how to do some more of those counter things (play time, battles encountered, etc.) and put them all together into one "Misc." option in the menu? That seems like a suitable long-term goal.
Title: Re: [RMVXA] What should I do?
Post by: D&P3 on March 16, 2013, 12:30:33 PM
I would probably see about fixing those minor bugs before moving on. It's usually just something blatantly obvious yet keeps getting missed (happens all the time :|)

Anyway I'd suggest modifying the menu some more, for starters you could maybe change the windowskins for each individual area ;8
We're here if you need help.
Title: Re: [RMVXA] What should I do?
Post by: LoganF on March 16, 2013, 12:47:42 PM
You should aim to fix that display bug, first. It's a good learning experience to fix those kinds of things. It helps you avoid running into them in future and sometimes it can increase your understanding of how the language works.

If you are interested in pushing ahead with the scripting, I do have a good number of scripts I need to write ranging from small things to big things for a particular project I'm working on (albeit at a slow rate currently due to me moving cities/jobs and such - thus the lack of activity the last few weeks). If you want to help, I am quite happy to let you do so. In return, I'll offer guidance and support on them and help you become better at scripting. You would have to agree to a few conditions, seeing as you'll be working with me on these scripts, but ultimately it will benefit us both.

Let me know via PM if you are interested. You don't have to commit and at any time you can withdraw and go your own way.
Title: Re: [RMVXA] What should I do?
Post by: &&&&&&&&&&&&& on March 16, 2013, 07:51:53 PM
Quote from: D&P3 on March 16, 2013, 12:30:33 PM
I would probably see about fixing those minor bugs before moving on. It's usually just something blatantly obvious yet keeps getting missed (happens all the time :|)

It was... ;___;
I had the X position of the "Steps" string basing itself on the width of the current number of steps. I just switched that to 0 and it works now.

Quote from: D&P3 on March 16, 2013, 12:30:33 PM
Anyway I'd suggest modifying the menu some more, for starters you could maybe change the windowskins for each individual area ;8
We're here if you need help.

I'm going to try this out. This one should teach me a few things. As I'm pretty sure you guys know, RPG maker was already counting the steps, I just had it display them. The funny thing is, I wasn't even planning on making a step counter. I was attempting to create a secondary currency. I went into the script where currency is defined, and saw that it keeps track of steps. I decided that I would see if I could make it display the step counter on the menu, and that's how it all began.

Quote from: Ms. Pacman on March 16, 2013, 12:27:43 PM
Good for you, BoE. Baby steps. Maybe you could figure out how to do some more of those counter things (play time, battles encountered, etc.) and put them all together into one "Misc." option in the menu? That seems like a suitable long-term goal.

I think I'm going to do the window skin thing, then this one. Thank for the idea. ^_^

Again, you're all awesome. You're all helping me out so much.