Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Seems to be a problem with the plugin parameters of the face window.

Please, open the plugin via the plugin manager, and refresh the position parameters by just opening it and closing.


See if this will make it work.

it works now, and it reset to 0,0. one more thing, is there a recommended offset for making it on top of the right side of the textbox? because I don't really feel like opening and closing the game until i get the right one.

First, you need to figure out the position of your message box. To do so, open a playtest and, open a message window, press F12, on the CONSOLE tab, and type:

  • SceneManager._scene._messageWindow.x => this will return the X coordinate.
  • SceneManager._scene._messageWindow.y → This will return the Y coordinate.

Then you put the face window with Top and Left orientation, and set their offset according to the coordinates of the message window.

it returns this and doesn't change

Yes, it will return these numbers, which are the coordinates of the message window. These commands will not change the position of the face window. 

Now you need to use the coordinates to set the position of the face window where you want it to be, which is on the top right of the message window.  Now is just a matter of math. If you want the face window to be on the top right of the message window, then you need to get the width value of your game resolution and subtract the face window width from it.

If your game is 816x624 and your face window size is 144x144, then you do 816-144 for the X position.

For the Y position, you need to get the Y coordinate from the message window and subtract using the height of the face window.

The other way for doing that is by using trial and error. Set an X and Y value on the plugin parameters and then keep trying until you find the right spot.