640x480 images gets imported as 320x240

Started by OverWind, Fri 05/03/2004 20:22:14

Previous topic - Next topic

OverWind

Hello,

First of, I've searched the manual, tutorials and this forum, sadly "resolution" search-queries are a bit too generic (I get tons of hits which isn't relevant), so I hope I'm not wasting your time :)

My game is set to be 640x480, I've also set it to use 32bit colors - I'm trying to import a png image sized 640x109, which works fine, but for some reason it gets imported as 320 in width and 55 in height, which I can't seem to change (I've checked the box saying "Import as 640x480").

When I run the game, the room and the sprite (which is a GUI) gets stretched to match the 640x480 resolution (I took a screenshot and saw it indeed was 640x480). When I position the GUI at 320 or higher, it's not even shown in the room (Too far down the Y axis) - So I guess it's some general setting, and not the sprite which is causing the problem.

Can anyone help? :)

Sleep is for losers, baggy eyes are for winners!

Fabiano

#1
The gui coordinates (as well as the cursors) are like 320x200. If ur using 640x400 and your gui is 640x100 and goes to the botton,u need to set  the coordinates as 0,150.
Yeah, yeah, It happens. A lot.

OverWind

So, what you're saying is that the width reported about the sprite is wrong?

I Guess that makes sense, as long as everything is in those coordinates... :)

Funny, I actually stumbled upon a thread while searching related to that problem, I just didn't think it was the same one I had.

Thank you very much :)
Sleep is for losers, baggy eyes are for winners!

SMF spam blocked by CleanTalk