Page 1 of 1

Change window dimensions?

Posted: Fri Dec 07, 2018 10:44 pm
by meadwarrior
Hello!

I have this big black area below the game that doesn't really do anything.

:?: Is it possible to change the size of the game window (reduce the amount of vertical pixels)?

Image

Thanks!

Re: Change window dimensions?

Posted: Fri Dec 07, 2018 11:46 pm
by Sophia
Unfortunately, no. 640x480 is pretty hardcoded currently.

Re: Change window dimensions?

Posted: Fri Dec 07, 2018 11:51 pm
by meadwarrior
Thanks, and no problem! I saw in another thread that it was possible to add graphics to the GUI, I'll try adding some borders and headers.

Re: Change window dimensions?

Posted: Fri Dec 07, 2018 11:57 pm
by Gambit37
Don't forget that some of that black space is used by the text messages that pop-up during game play. You'll need to account for that in whatever you design. (There are ways to adjust the size of the text area but it involves a some coding which it seems you want to avoid?)

Re: Change window dimensions?

Posted: Sat Dec 08, 2018 12:11 am
by meadwarrior
Thanks, Gambit! The text areas are already sort of factored in, but there's still more than enough screen estate left. I'll have to check the original DM and some other dungeon crawlers again to get some ideas on how they used the spare space.
And yes, I'd like to avoid coding whenever possible :oops: It's just too 'risky' for non-coders to write anything too complicated, I guess.

...unless I can copy&paste something :D

Re: Change window dimensions?

Posted: Sat Dec 08, 2018 12:20 am
by Gambit37
Don't forget that original DM was designed for 320x200. As DSB runs in a "doubled" window, you might expect that to be 600x400, but it's not, it's 640x480 -- so there's an additional 80 pixels of black space that never gets used.

For my own re-design of DMs interface, I've made that extra space a feature and have re-designed everything to use it all :-)

By the way, I like the style you've chosen for your game. Very unusual and distinctive. You definitely have a unique flavour here and I'm intrigued to see more.

Re: Change window dimensions?

Posted: Sat Dec 08, 2018 12:31 am
by meadwarrior
Oooh, so that's why! I should've checked my screenshot dimensions :D

Thank you!
I'm looking forward to see your custom interface! I've watched the video of your character selection screen recently and it was phenomenal.

By the way, I can't seem to find the thread that described how to add graphics to the GUI... Would you happen to know where to look?

Thanks!

Re: Change window dimensions?

Posted: Sat Dec 08, 2018 1:08 am
by meadwarrior
--- EDIT: Found it! ;)

Re: Change window dimensions?

Posted: Sat Dec 08, 2018 1:48 am
by meadwarrior
--- EDIT 2: Or did I...?
I didn't :( I sent you a PM if that's okay.

Re: Change window dimensions?

Posted: Sun Dec 09, 2018 3:46 pm
by Gambit37
I got your PM and replied :)

Re: Change window dimensions?

Posted: Sun Dec 09, 2018 10:47 pm
by meadwarrior
It worked perfectly!

Image

Thank you very much, Gambit! Your help is very appreciated.