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.

UMS Help

Im using Ccoas universal message system and it is an excellent script.
One minor problem thats really annoying me though.
When I put in the code to show item/weapon/skill icoons, thet appear below the text and make it look messy. I just need some better spacing, but I don't know how to do it.

Thanks,
BP
 
In the UMS Script, on lines 1527, 1542, 1557 & 1572....

self.contents.blt(@x + 2, (@y * 32) + 4, icon, Rect.new(0, 0, 24, 24)

Change the 32 to adjust the icon spacing (!<24)


To adjust line spacing, Edit line 1676

self.contents.draw_text(4 + @x, line * @y, 40, 32, c)
to
self.contents.draw_text(4 + @x, line * @y + 4, 40, 32, c)

adjusting the 4 to your liking.

same on line 1673 if you use shadow text

For the Choice window, look in the Window_Choice class for the same things
If you use Slave windows, look in Window_Slave class.
 

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