[VXA] CREATING A CUSTOM WINDOW USING THE "SCRIPT" EVENT
Posts
Pages:
1
EDIT 2: I figured out how to parse information in by means of a global variable (not sure if that's the most efficient means, but it works, so). Now I just need one more thing cleared up:
In RGSS3, is there a way to make a function wait for a few seconds before it does something? I want the window to pop up for a couple seconds and then fade out. I can probably poke around and find out how to do the transition, but I'm stuck on how to keep the window up for a fixed amount of time. It does do this by default, but the amount of time it stays up seems to be random. Any insight?
EDIT 1: I solved the problem of making a window appear, but now I have a new dilemma. I made a small window appear when a treasure box is opened to display the item that was inside it, but I want to be able to reference the item ID in question directly from the "Script" event command, and I can't figure out how to do it. I know you have to supply an argument, but I can't figure out how to supply the value and reference it within the script. Am I making sense?
I have some great, innovative ideas for a game project that I'd like to implement myself using RGSS.
Unfortunately, all of my ideas require I implement them using RGSS, and having never dealt with Ruby before, I'm unfamiliar with the proper syntax for most things.
All I want to do right now is learn how to create a custom window in a normal event via "Script" (for later applications such as announcing item pickups, subquest progress updates, etc), and for the life of me, I cannot figure out how to do it. Thanks to many irrelevant video tutorials on Youtube, I know exactly how every type of window works and where they inherit their variables from, but I still can't figure out how to make one appear.
Halp.
In RGSS3, is there a way to make a function wait for a few seconds before it does something? I want the window to pop up for a couple seconds and then fade out. I can probably poke around and find out how to do the transition, but I'm stuck on how to keep the window up for a fixed amount of time. It does do this by default, but the amount of time it stays up seems to be random. Any insight?
I have some great, innovative ideas for a game project that I'd like to implement myself using RGSS.
Unfortunately, all of my ideas require I implement them using RGSS, and having never dealt with Ruby before, I'm unfamiliar with the proper syntax for most things.
All I want to do right now is learn how to create a custom window in a normal event via "Script" (for later applications such as announcing item pickups, subquest progress updates, etc), and for the life of me, I cannot figure out how to do it. Thanks to many irrelevant video tutorials on Youtube, I know exactly how every type of window works and where they inherit their variables from, but I still can't figure out how to make one appear.
Halp.
Search for "RGSS Tutorial".
First hit:
http://www.rpgrevolution.com/tutorials/ruby-game-scripting-system.html
Start with this one and follow the series:
http://www.rpgrevolution.com/tutorial/rgss-for-dummies-tutorial-1:-the-basics_25.html
After that move over to this series of tutorials to make the windows:
http://www.rpgrevolution.com/tutorial/the-script-builders'-tutorials-lesson-1:-basic-windows_265.html
That way you'll learn everything you need to do in a view hours with gaining a lot of knowlage you'll be happy with =) (I did the same if you wonder).
First hit:
http://www.rpgrevolution.com/tutorials/ruby-game-scripting-system.html
Start with this one and follow the series:
http://www.rpgrevolution.com/tutorial/rgss-for-dummies-tutorial-1:-the-basics_25.html
After that move over to this series of tutorials to make the windows:
http://www.rpgrevolution.com/tutorial/the-script-builders'-tutorials-lesson-1:-basic-windows_265.html
That way you'll learn everything you need to do in a view hours with gaining a lot of knowlage you'll be happy with =) (I did the same if you wonder).
author=S32
I figured out how to make a window appear, but now I'm having a different issue. Edited the OP.
I can't see what you edited in your OP. What's the problem?
author=Trujinauthor=S32I can't see what you edited in your OP. What's the problem?
I figured out how to make a window appear, but now I'm having a different issue. Edited the OP.
Okay, I did lie a little bit. I actually edited it after I posted that.
Pages:
1














