different sizes..

Started by Prozail, Fri 04/07/2008 09:24:07

Previous topic - Next topic

Prozail

Ok, im very new to this, so go ahead and shoot me :)

Im trying to start up a project using 640x400 screen size. What i dont get is that everytime i make somwthing new the size is always set to 320x200 and i end up having to change it and reimport it. My mouse-coordinates range sometimes from 0-320 and sometimes 0-640. Sometimes when importing a new image everything is doubled and only a quarter of the image seems to be shown when actually running the game.  ???

I tried making a new gui. and when i set the width of the gui to 640 i end up getting strange errors about size being "larger than screen size"

Since lots of people have done games in 640 widh i guess im doing something strange, but i just cant seem to get this to work. Started several projects and everytime i soon start getting theese problems.
And im not really happy having a gui that has every pixel doubled in size since this just looks horrible.

anyway. i feel like quite a noob here :) so any help would be appriciated.


Khris

GUI & mouse coords/dimensions are still handled in 320x200 although the game is 640x400.
To get a highres GUI, set its width to 320, then its background image to a 640 pic imported for high-res.

Carefully read the respective parts of the manual to find out when to use which system (320 or 640).

SMF spam blocked by CleanTalk