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
520
Reaction score
694
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,693
Reaction score
3,031
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 Profile Posts

So... me, always ALWAYS late.. have started reading the One Piece manga. So far I'm impressed with it. It's definitely a fun read. The only thing I need to get used to is every... single... character having a flashback story. Wifey is a huge fan and she's asked me to draw Nami and Boa Hancock for her. So I may post those drawings here XD
My brother makes some inane complaint about one of my stories in the comment section. My mom: if your bro doesn't understand it make it simpler. That prolly means others have questions too.☺️Me: Sorry. I can't do that. I don't speak stupid.
If you are ever looking for your cat among a room full of identical looking cats just find the one that is doing it's best to ignore you.
Isn't "tableau" such a fun word to say? Even better is that our resident artists know what it means without google and probably get to say it regularly.
ScreenShot_3_27_2023_4_30_39.png
one of the benefits of doing almost all the assets myself is being able to add my friend's OC from his comic book into my game as an NPC.

Forum statistics

Threads
129,894
Messages
1,206,036
Members
171,072
Latest member
mimbry
Top