MokoMok_0

Warper
Member
Joined
Jul 16, 2021
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMXP
Hello, I need help to customize or getting a script to draw icon and descriptions on menu command like this one bellow..
1628185262469.png

I really want to implement the script into the customized menu I have right now (It's not done yet tho, I still need to arrange them and make them into 2 cells and rows)

1628185399041.png
 

MobiusXVI

Game Maker
Veteran
Joined
Mar 20, 2013
Messages
398
Reaction score
99
First Language
English
Primarily Uses
If you're already making a custom menu script, then you can probably use this snippet that I made to show icons:
Ruby:
class Window_Base < Window
 
#--------------------------------------------------------------------------
# * Draw Icon
# icon_name : filename of the icon
# x : draw spot x-coordinate
# y : draw spot y-coordinate
#--------------------------------------------------------------------------
def draw_icon(icon_name, x, y)
  bitmap = RPG::Cache.icon(icon_name)
  src_rect = Rect.new(0, 0, 24, 24)
  self.contents.blt(x, y, bitmap, src_rect)
end
    
end
 

Latest Threads

Latest Posts

Latest Profile Posts

Sneak peak of my upcoming update! Who's holding her, you may ask? Find out tonight!
10.PNG
BCj
Finished another GUI! Turn indicator wasn't made by me.

ff981f8dc50b03cf58038c644334b454.jpg


3cb092fdc00087acfa0a190fd891f0ed.jpg
Added a small refining scene to my game.

It makes sense that you try to focus on the squishy mages at the back of the party first, right? If the mage can out-DPS the enemy DPS before the latter can kill the tank in front, the fight becomes boring.

Forum statistics

Threads
115,243
Messages
1,088,315
Members
149,838
Latest member
lovedtilldawn
Top