Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help with Khai's item found script.

Hello all,

I have Khai's item found script 1.2b, Its working great so far, but i have a small problem that i need help
with please. the pop up window pops on the middle of the screen and i couldn't find a way to move it.

Is there a way to move it around ? like when the character opens a chest the ''20 Gold found'' pop
at the top left corner of the screen instead of the middle of the screen ?

Here's a link of Khai's script :- http://www.rmxp.org/forums/index.php?topic=53767.0

Thank you.
 
Go to line 132 and change this
Code:
@khai_info_window.x = (544-(@khai_info_window.width-@khai_icon_window.width))/2
@khai_icon_window.x = (544-(@khai_info_window.width+@khai_icon_window.width))/2
@khai_icon_window.y = (416-@khai_icon_window.height)/2
@khai_info_window.y = (416-@khai_info_window.height)/2
for
Code:
@khai_icon_window.x = 0
@khai_icon_window.y = 0
@khai_info_window.x = @khai_icon_window.width
@khai_info_window.y = 0
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top