Spritesize and resolution

Hi, just played around with some fullscreenstuff today… Trying to come up with some ideas for a new game… and thought i had to have it in fullscreen.

But I’m unsure of what’s best… Is it better to have a set resolution, or have a user selectable one? …

If i choose the first one i won’t have to worry about spritesizes. Which to me sounds like a pretty good thing…
If i choose the latter one, things might work out better for some with slower computers, but then I’m forced to consider the spritesize all the time… right? …

If things are supposed to look exactly the same, no matter which resolution is used, Do you have to resize sprites on the fly? Any suggestions? :slight_smile:

thanks in advance

  • Tosh

fixing the resolution is a quick fix, but is likely to cause you all sorts of problems in the future.

its much ezier to keep the sprite sizes the same, and simply increase the viewable game area.

Hm, increase the viewable game area? … as in zoom? Is that possible in java2d?

Right now I’m reading through a couple of java3d-tutorials… Since it sounds like fun, and probably solves my problem too :slight_smile:

I have tried to resize some small bitmap just before displaying. It is awfully long. If you want to do it it should be done before.

About setting the resolution, it doesn’t work if you don’t set in full screen first. SetUndecorated should be set before also.

I wonder on which resolution a game could rely on. 800600 could be now replace by 1024768 everywhere?

[quote]Hm, increase the viewable game area? … as in zoom? Is that possible in java2d?
[/quote]
Umm, well I wasn’t suggesting zooming. I was assuming you had a game area larger than the screen.

but, if your game area is screen size, then zooming aint 2 bad.
Don’t do it on the fly though, when your app. starts, pre-compute all the game graphics to fit the resolution you are playing on.
(and don’t forget to use anti-aliasing/bilinear filtering :P)

Ah, ok… that’s what i thought…

I want to have a fairly big map, but I want the area displayed on the screen to be of the same size with all resolutions… Then it’s probably better to just make it 800x600, or 1024x768… And have no resizing at all…

thanks for the help