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.

Showing Window

Well guys I've got a little problem that is getting me headaches for a few weeks now.

I've got this custom made way of levelling, through points you distribute to increase your stats. The problem is that I've got a lot of custom skills (Think of Dungeons and Dragons) and I want to have a window to show the player how much ranks hes' got in all his skills so:

I need a window to show large amounts of text, variables and to make the text able to align (into columns or rows) to keep the text readable.

Does anyone here, have a clue hot to make this. I am sick of using those small text boxes and dozens of choice options. :cry:

Thank you in andvance...
 

khmp

Sponsor

RGSS psuedo answer:

You'll most likely end up creating three different windows. Two custom ones that RGSS script request can most likely handle for you. The first of which will be your header telling you something to the effect of "Select your skills" or something. It's optional, just part of intuitive design. The second custom window will hold the skill information of whatever skill is currently being viewed. And then a Window_Command. This you'll load up with the skill choices:
Code:
@skill_choices = Window_Command.new(150, [1st_skill', '2nd_skill', '3rd_skill',...'nth skill'])

Code:
 _______________________
|   Skill Selection     |
|_______________________|
| 1st | Skill Info here |
| 2nd |                 |
| 3rd |                 |
| .   |                 |
| .   |                 |
| nth |                 |
|_____|_________________|

If you want to create this yourself. I suggest decreasing the font size if you truly have an epic amount of text to write. Have you created a custom window before?

Good luck with it CrazyViking! :thumb:
 
Guess what,

I've been going through these window tutorials for some time now, but I constantly get a error message... I can't find whats wrong...
This is my code so far:

class MyCustomWindow<Window_Base
  #----------------------------------------------------------------------
  # * Object Initialization
  #----------------------------------------------------------------------
  def initialize
    super(100,100, 200, 200)
    self.contents = Bitmap.new(width - 32, height - 32)
  end
 

end

And this is the error message:


Script 'MyCustomWindow' line 1: TypeError ocurred.

undefined superclass 'Window_Base'

Can someone help me?

Thanks in advance.... :)
 

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