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.

Scroll menu cells

I started to make a custom menu system but i'm stuck at this problem.. How can i make the cell scroll? For example when you have 5 party member, and your menu only show char 1-4, so if u want to see the 5th character you have to scroll it down.
Can someone show me how, Or maybe direct me to a thread?
I tried to use search function but i didn't found it.

Thanks,
..thelionx
 

khmp

Sponsor

That's because they have been placed in Window_Selectable object or Window_Command object. You probably want to use Window_Command.

Code:
# Create the array of strings to be fed into the command window.
cell_numbers = [
  '1-867-234-6435',
  '1-555-333-2222',
  '1-900-373-3739',
  '1-609-444-8882',
  '1-342-111-1337',
]

# The width of our command window.
width = 200
# Create the command window which will list our cell numbers.
@cell_numbers = Window_Command.new(width, cell_numbers)

Good luck with it thelionx! :thumb:
 

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