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.

Alright guys, I'm making a script...

Okay, I really would like to learn scripting. I'm not planning on learning how to become a master, making full 3D systems and complicated menu and battle systems, just enough so that I can fix my own script problems and make some basic scripts that are just spiced up versions of the RTP scripts.

I have a specific script in mind that I would like to make, and I think it would be pretty easy because I can already imagine it would require the basics of scripting.

I would like to make a script that can be called in an event, so it would be like scene = Scene_???.new. You know what I mean. The script would be a window that appears with a list of items that I specify and, when the player presses 'C' (or Spacebar/Enter) on the items after selecting them with a selector, it adds that item to your inventory. It's much like in Oblivion when you click on a chest and that window appears with the contents of the chest appears and you can choose which ones you want to take.

NOW, this isn't a script request. I just want help making this myself, and all I want to know from you scripting veterans is which existing script do I want THIS script to derive from? (Like, what do I put after the '<'?) I will be updating this frequently if any questions pop up.

Thanks!
 
How do I change the column number to one? I see in the Draw_Item method:

Code:
rect = Rect.new(x, y, self.width / @column_max - 32, 32)

It's the only thing that mentions "column".

Also, Draw_Item mentions $game_party a lot, so changing the column number wouldn't be the only thing I'd need to edit, right?
 

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