RadDevVan101

Devin Manning
Member
Joined
Jun 30, 2014
Messages
24
Reaction score
2
First Language
English
Primarily Uses
Hi, I'm trying to Align my text to the Left. I opened Scene_Title and changed the 1 at the end to 0, 2 and 3, and nothing happend, didn't even align to the right. So I need some help trying to move the options, thanks. And yes, I pressed Apply, i'm not that stupid.

I'd also like to point out i'm using RPG Maker VX Ace to help anyone out with helping me solve this problem

Update: I have Solved the Problem

Go to Window_TitleCommand and go to line 28

and then make it look something like this

self.x = (Graphics.width * 2.0 - width) / 2and then change the 2.0 to whatever you want it to be
 
Last edited by a moderator:

Aoi Ninami

Veteran
Veteran
Joined
Sep 22, 2015
Messages
427
Reaction score
538
First Language
English
Primarily Uses
RMVXA
Assuming you do indeed mean the title screen options (the text "New Game", "Continue" and "Shutdown"), this text is left-aligned within its window by default.

If what you want is to move the window itself to the left, go to Window_TitleCommand and change

self.x = (Graphics.width - width) / 2

to

self.x = (Graphics.width - width) / 2 - 160
 

RadDevVan101

Devin Manning
Member
Joined
Jun 30, 2014
Messages
24
Reaction score
2
First Language
English
Primarily Uses
Assuming you do indeed mean the title screen options (the text "New Game", "Continue" and "Shutdown"), this text is left-aligned within its window by default.

If what you want is to move the window itself to the left, go to Window_TitleCommand and change

self.x = (Graphics.width - width) / 2

to

self.x = (Graphics.width - width) / 2 - 160
I didn't see this until I refreshed the page, i have solved the problem myself but thank you anyways
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,006
First Language
Tagalog
Primarily Uses
RMVXA
You have an extra script there that made it center aligned because the game by default has it to be left aligned. This is also why when you modified the alignment it didn't work because there is another script that sets it to center...


Also, the text alignment on Scene_Title was for the title text, not for the command window...


Or are you talking about moving the Command window itself?
 
Last edited by a moderator:

RadDevVan101

Devin Manning
Member
Joined
Jun 30, 2014
Messages
24
Reaction score
2
First Language
English
Primarily Uses
You have an extra script there that made it center aligned because the game by default has it to be left aligned. This is also why when you modified the alignment it didn't work because there is another script that sets it to center...

Also, the text alignment on Scene_Title was for the title text, not for the command window...

Or are you talking about moving the Command window itself?
Ah yes, thank you for correcting my stupidity. Although I have solved the problem this is some nice knowledge to know

and I was talking about the Command Windows... or well, visually speaking, that Box with the New Game, Continue and Exit buttons
 

Latest Threads

Latest Posts

Latest Profile Posts

Welp, people are trying to quit my team because I can't code. Where's the dancing blob emoji when I need it?
My home state baseball team is going back to the World Series for the first time since 1999. I remember when they went in 1995 and won, that was like the best day of my life. (I'm a huge baseball fan and yes I'm talking about the Braves).
FL Studio is a huge step up from LMMS but I'm having such a tough time with it D:<

Forum statistics

Threads
116,044
Messages
1,095,267
Members
151,390
Latest member
Pack_4_life
Top