Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Windows of different shapes
Tsukihime
post Nov 3 2011, 07:11 PM
Post #1


Level 25
Group Icon

Group: Revolutionary
Posts: 562
Type: None
RM Skill: Undisclosed
Rev Points: 25




Rather than rectangular windows, can I draw windows with rounded corners, or maybe circular windows, etc?
Or perhaps using an image like a window itself so you can dispose that "window" or hide it when you don't need it.

That way you can draw out a window you want to use in an external image editor, put it in, draw other stuff on it like maybe text.

This post has been edited by Tsukihime: Nov 3 2011, 07:15 PM


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
stripe103
post Nov 4 2011, 05:55 AM
Post #2


PHP ERROR: Couldn't get value from UInteger. Value too large
Group Icon

Group: Revolutionary
Posts: 737
Type: Mapper
RM Skill: Intermediate




By default, all window graphics are taken from the windowskin and they are always square(even though some windowskins are made so it doesn't look that way). But with some work you can make it look round or whatever shape you want, but it takes quite some work with margins and those kind of things.

This post has been edited by stripe103: Nov 4 2011, 05:57 AM


__________________________

By Axerax

The rest of my sig



Go to the top of the page
 
+Quote Post
   
Tsukihime
post Nov 4 2011, 12:28 PM
Post #3


Level 25
Group Icon

Group: Revolutionary
Posts: 562
Type: None
RM Skill: Undisclosed
Rev Points: 25




I looked at the windowskin and saw the big box on the left.
Would it work if I drew a circular window inside the square, and then just make the rest of the square transparent, and then just figured out how to place the text?

This post has been edited by Tsukihime: Nov 4 2011, 12:30 PM


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
maximusmaxy
post Nov 4 2011, 10:20 PM
Post #4


PZE whore
Group Icon

Group: Revolutionary
Posts: 131
Type: Scripter
RM Skill: Skilled




If you wanted the round off the edges you'd have to change the border, which is the top right part of the window skin. The big part on the left is just the center part which is stretched to fit your window size and then the border graphic is drawn on top of it. The problem with windows in RGSS is that allot of it is created internally so they can't be edited as easily, and you would have to write your own methods to get them to display differently, it's not as easy as changing a few numbers around. Although there are other message systems where you can change positions around and stuff, those scripts usually totally rewrite the message window to get things to display how they want them to.


__________________________
Check out the new PZE Forums! http://zeldaengine.net/index.php
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 01:19 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker