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 Profile Posts

I might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?

Forum statistics

Threads
115,171
Messages
1,087,803
Members
149,721
Latest member
frankdontrithep61
Top