Moving a Text Box!

Hey everybody,


I'm back here again with another question.


Could someone please provide me with a script (or script source) on how to move the title screen text box?
I mean like the text box on the title screen where you can choose between options.


I want to move it to the side because it's in the way of my picture.
I've moved this thread to Ace Script Request. Please be sure to post your threads in the correct forum next time. Thank you.


Scripts is for presenting scripts you wrote yourself (which is why it's moderated, your topic would have been automatically visible in requests)
Find your script called Window_TitleCommand, then look for this method:

Code:
  #--------------------------------------------------------------------------
  # * Update Window Position
  #--------------------------------------------------------------------------
  def update_placement
    self.x = (Graphics.width - width) / 2
    self.y = (Graphics.height * 1.6 - height) / 2
  end



Just change the formula that calculates the x and y positions so it's placed where you want it to go (the top left corner will be at the coordinates you specify):

Code:
  #--------------------------------------------------------------------------
  # * Update Window Position
  #--------------------------------------------------------------------------
  def update_placement
    self.x = 80
    self.y = 250
  end

You can either muck around a bit to get the numbers right (might take a while), or you could do a bit of extra work, and get the numbers right first time around:


Just test play and when the title screen comes up, take a screenshot.


Open up an image editing program (Photoshop if you have it, or GIMP, or Paint.net is what I use) and create a new image with your screenshot.  Crop it to remove any window borders and title bar.


Select the whole command box, including the background and borders.  Use the move tool to move it around so it's where you want it to be.  Somewhere on the status bar, you should see the x/y coordinate of the top left corner of the box you're moving.  


When it's at the right spot, make a note of that x and y position, and use it in the script above.


You might just change it to something like this, to move it over to the left or the right, but keep it where it is vertically:

Code:
  #--------------------------------------------------------------------------
  # * Update Window Position
  #--------------------------------------------------------------------------
  def update_placement
    self.x = Graphics.width - width - standard_padding # to go on the right side
    # or
    self.x = standard_padding # to go on the left side
    self.y = (Graphics.height * 1.6 - height) / 2
  end
wow, this helped me a lot! 😛

Original thread: https://forums.rpgmakerweb.com/threads/moving-a-text-box.67678/