KnightDruid

Working on #RelmiaWarrior
Veteran
Joined
Nov 21, 2019
Messages
99
Reaction score
17
First Language
Indonesia
Primarily Uses
RMMZ
Hello RM Members!

Could you help me please?

i wanna make title menu become higher. (i wanna reposition the menu)

Capture.PNG
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,417
Reaction score
1,434
First Language
Spanish
Primarily Uses
RMVXA
go into Window_TitleCommand and find this block:
Code:
def update_placement
    self.x = (Graphics.width - width) / 2
    self.y = (Graphics.height * 1.6 - height) / 2
end

self.y = ([bottom of the screen] * 1.6 - [window height]) / 2
basically: "distance from the top of screen to top-left corner of menu, is 5/3s the size of the screen, divided by two"

you can modify the 1.6 to your liking, or change the whole line to something like this:
self.y = Graphics.height / 2 + X
where X is the distance in pixels from the center.

mind that if you change the size of the screen, the window won't adjust itself, that's why it's originally written as a fraction of the screen.
 

Latest Threads

Latest Posts

Latest Profile Posts

Chili: Evolved to taste spicy so no animal would eat them.

Humans: "Jokes on you ..."
I guess it becomes purely academic in less than four days but before then can anyone explain to me why the %^&*( animations in the MZ database don't have a 'Hue' slider??
Who here knows of the hidden laws of this multiverse? Such as the law of attraction
Exploding Fruits and Rasaks Pixelfarm Assets | RPG Maker News #108

So ghosts can go through walls and stuff, and depending their type (according to fantasy media) they can or can't interact with objects to a certain degree...

So why they don't always fall through floors? Do they always float and sometimes simulate walking? If things go through them how can they hear/see? And why sometimes they have clothing? Do clothes die as well?

Forum statistics

Threads
113,704
Messages
1,076,796
Members
147,728
Latest member
Alteria
Top