Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is it possible to move the text of the Name Box? [SOLVED]

A topic by camkat created 87 days ago Views: 53 Replies: 3
Viewing posts 1 to 2

Hi! I was wondering if it was possible to move the text inside the name box. I know the NamePosition parameter moves the box itself, but I'm using a custom window skin and I need to bump down the actual text's position so it's not clipping out of box.

Developer(+1)

Hi there!

I think it could be possible by adding this as a plugin, right below the message manager:

{      const Alias = Window_NameBox.prototype.baseTextRect Window_NameBox.prototype.baseTextRect = function() {     const rect = Alias.call(this)     rect.y += 2     return rect }  }

Change the 2 to any number you want. Including negative, like -2. This will change the Y coordinate of the namebox text.

I don't know if it will work for you, because I don't know exactly what your window skin look like. 

This worked like a charm. Thanks!

Developer

Nice!! Have fun! :)