Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Changing the size of the screen?  (Read 1277 times)

Niveus

  • Bay Watcher
    • View Profile
Changing the size of the screen?
« on: February 25, 2009, 04:54:00 pm »

Alright, well, I dunno where else to put this, but I downloaded Mike Maydays tileset version of the game, and the windowed version is HUGE.
(Might as well set it as full screen, eh?)

SO I was curious how to make it into a smaller window.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Changing the size of the screen?
« Reply #1 on: February 25, 2009, 05:08:07 pm »

You probably want to change the grid size, and multiply that by the size of the tiles to get the total size.
Problem is, it can't be reduced below 80x25, so if that's what it's at now, you're SOL.
That raises the question of why this 60x60 grid I'm using now works fine, though.
EDIT: Hah!  An 80x60 grid with the 16x16 ASCII (can't stand actual tilesets) that I have now fits my screen with the taskbar perfectly.
1280x960.
Perfect fit.  Now, if only DF remembered where its position on the screen was, so I wouldn't have to keep moving it back to this exact location.
« Last Edit: February 25, 2009, 05:37:52 pm by jaybud4 »
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Niveus

  • Bay Watcher
    • View Profile
Re: Changing the size of the screen?
« Reply #2 on: February 25, 2009, 08:39:08 pm »

No no, I mean, I want the WINDOW that it's being played in, to be about 2 times the size of this reply box. Not the grid :P

How do I change the window size itself?
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Changing the size of the screen?
« Reply #3 on: February 25, 2009, 08:53:25 pm »

...By changing the grid.
Unless you change tilesets, there's no way to change window size without changing the number of tiles.
Since the window is made up of a set number of tiles, the GRID.
Could swear I just said that, in a slightly different way...
WINDOW X SIZE = GRID X DIMENSIONS MULTIPLIED BY TILE X DIMENSIONS
WINDOW Y SIZE = GRID Y DIMENSIONS MULTIPLIED BY TILE Y DIMENSIONS
Not sure how much clearer I can make it...
« Last Edit: February 25, 2009, 08:55:22 pm by jaybud4 »
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Niveus

  • Bay Watcher
    • View Profile
Re: Changing the size of the screen?
« Reply #4 on: February 25, 2009, 09:25:55 pm »

Yeah, that made sense, but... I was just reading it wrong, sorry about that.

Anyway, I changed all the init settings, but it's still a huge window... >_>... ... (It did get smaller a bit though!)
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Changing the size of the screen?
« Reply #5 on: February 25, 2009, 09:51:10 pm »

I'll use my own init as an example, since apparently the clarity of it still isn't getting out in full.
Quote
[WINDOWEDX:1280]
[WINDOWEDY:960]
[FONT:Cooz_curses_square_16x16.png]

...

[GRID:80:60]
[WINDOWEDX:1280] = [FONT:Cooz_curses_square_16x16.png] X [GRID:80:60]
[WINDOWEDY:960] = [FONT:Cooz_curses_square_16x16.png] X [GRID:80:60]

See it now?
That's definitely as obvious as I can possibly make it.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries