Tileset and backgroundscaling

  • 2 Replies
  • 2613 Views
*

Offline JNB

  • 13
  • 0
    • View Profile
Tileset and backgroundscaling
« on: September 15, 2010, 15:04:06 »
Say I want Juni to walk on the background (like the mountian in a picture of a mountain or similar.)

As the editor scale tilesets and background differently (the tilesets gets smaller than the .png file), I find I have to "counterscale" tilesets (of cutouts from the background) I want to match the background.

So does anyone have a number for how much bigger a cutout tileset need to be to match the background? I think it would take me a while to find out by trying and failing ...

Plus, how do you do it? Do you got a clever solution? (Exept for making a mountain tileset and putting it over a sky background. Doesn't really apply to what I'm wondering about ;) )

(extra question: the world window in the editor seems to be 598x238pxl, and the game window seems to be 599x240pxl, as opposed to the picture file. (600x240pxl) Why is this? Just curious.)
« Last Edit: September 15, 2010, 17:15:46 by JNB »

*

Offline AA

  • 510
  • 23
  • Was ITA84
    • View Profile
    • Insight on Videogames
Re: Tileset and backgroundscaling
« Reply #1 on: September 16, 2010, 08:35:05 »
As the editor scale tilesets and background differently (the tilesets gets smaller than the .png file)

I'm sorry, I don't get what you mean by that. The editor doesn't scale images at all, neither backgrounds nor tilesets.

Quote
(extra question: the world window in the editor seems to be 598x238pxl, and the game window seems to be 599x240pxl, as opposed to the picture file. (600x240pxl) Why is this? Just curious.)

I'm pretty sure it's the window borders that are eating up part of the screen; it's also a little different between OSes (XP to Vista/7).
Videogames are for everyone, by everyone

*

Offline JNB

  • 13
  • 0
    • View Profile
Re: Tileset and backgroundscaling
« Reply #2 on: September 16, 2010, 12:40:00 »
I'm sorry, I don't get what you mean by that. The editor doesn't scale images at all, neither backgrounds nor tilesets.
Oh, ops, I just discovered something. You are right, and my picture editing program scales inserted pictures as a preset. Well, that was stupid.