Stormtronics CMS is amazing! I've a question, how did Blizzard do the overlaying windows. Window over Windows?
Can anyone show me a part where he did that?
you set create a window with coords that go over anothers.
How? I don't get it. (I'm not the expert at it doh. :^_^':)
I thought you were a scripter?
Thats the absolute basics of RGSS.
Window_Base takes 4 arguments (X, Y, WIDTH, HEIGHT)
When you call it, set the x and y where tou want the window.
it can then be moved through its instance .
ex.
myWindow = Window_Base.new(100, 100, 200, 200)
Creates a 200x200 pixel window at the coordinates 100, 100.
You can then move the window by changing the x and y.
ex.
myWindow.x += 30
myWindow.y = 300
No, didn't mean that.
Here look:
(http://img838.imageshack.us/img838/1382/stmtronic.png)
The text won't don't overlay.
Hey, look at my new script! http://forum.chaos-project.com/index.php/topic,8245.0.html
increase the Z a little bit on the window to overlay.
Ahh man! I forgot about that, thanks!
The text inside the windows is on a slightly higher Z than the window itself. If I remember right, if the window Z is 0, then the text Z will be 10. That is useful in a few cases like the battle window so you can put sprites under the text by setting their Z to 5 or something like that (relatively speaking).