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.

[Resolved] Rewriting Hidden Window Class?

I was wondering if anyone knew how I might be able to rewite the hidden window class to change the area within the window that can display text/images. (so that I might be able to include more in smaller windows) I know that this can be done, but I'm not sure what methods I'd need to edit, or even what I could look at to see the actual hidden class.

Go here for my solution.
 
SephirothSpawn":2yr95ouh said:
I remember Swelyn did one a while back. Try searching for it.

Thanks for that one. Is there any way to change it so that if you decrease the margin, the background doesn't cover the border? (Oh, and thanks for that great tilemap rewrite, its a great help with what I'm working on)
 
I do remember he did have a way to change the margin in his script. I haven't looked at it completely, but yeah.

But you have to remember, re-writing the Window class in Ruby means your windows will be slower generated because I believe the are originally generated in C.

And you are welcome for the Tilemap. I am actually working on an even faster version for bigger maps, as it lags far to great on them.
 
SephirothSpawn":fso6qhxp said:
I do remember he did have a way to change the margin in his script. I haven't looked at it completely, but yeah.

But you have to remember, re-writing the Window class in Ruby means your windows will be slower generated because I believe the are originally generated in C.

And you are welcome for the Tilemap. I am actually working on an even faster version for bigger maps, as it lags far to great on them.

That's cool. Your script comes in handy for me, because I am working on a project that changes the screen size to emulate classic 2D systems, and I want it to be able to also shrink to their 16x16 pixel tilesizes if the player wants it to. That's why I needed the window rewrite. It was too small for the text to display properly in the windows. I guess I should put up the resolved tag. Thanks for the help!
 

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