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

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.
finally got footage of my main character running around the main hub world. I've fixed a few things tho even since this video unsurprisingly lol.
 …I think I might need to switch from standard ATK/DEF up/down buffs to parameter altering states. I just had an actor whose usual attack against an enemy does ~25 do a buffed attack against a debuffed enemy for ~600…
just saw that titan quest is free on steam until the 23rd

Forum statistics

Threads
115,227
Messages
1,088,237
Members
149,821
Latest member
thevoidyvoid
Top