Hello Everybody,
I apologize if this question seems incredibly obvious, but I've spent the last 6 years doing mostly non-GUI programming and only recently decided to try video games with Blitz. Anyway, after working through the "Learn to Program 2D . . . " book for a while and reading through the posts here, I still don't feel like I know the answer to this question.
What's the "standard" way for determining the dimensions you should make your graphics in a single-screen 2D game? In other words, say I wanted to make a card game where 20 cards were laid out side by side on the screen. If the cards were 35 pixels wide each, then on a resolution of 800 x 600 or higher, this layout wouldn't be a problem. But, I'd like to give my users the option to set their monitor to whatever resolution they'd like. So, if they chose 640 x 480, with cards that are 35 pixels wide each, I'd only get about 13 cards going across the screen. Does this mean that as long as I want everything to fit on a "non-scrolling" screen, I have to make all my graphics for a target resolution of 640 x 480 and then just let the layout expand out on higher resolutions? Do I need to make copies of my graphics for several different resolutions and then choose the set of graphics I load based on the resolution the user selects? Maybe I should just set the resolution myself and not give the user the option? Anyway, as you can see, I can imagine a number of possibilities, but none of them sound that good to me. Is there a standard way of doing this?
Thanks in advance!
-Dave
I apologize if this question seems incredibly obvious, but I've spent the last 6 years doing mostly non-GUI programming and only recently decided to try video games with Blitz. Anyway, after working through the "Learn to Program 2D . . . " book for a while and reading through the posts here, I still don't feel like I know the answer to this question.
What's the "standard" way for determining the dimensions you should make your graphics in a single-screen 2D game? In other words, say I wanted to make a card game where 20 cards were laid out side by side on the screen. If the cards were 35 pixels wide each, then on a resolution of 800 x 600 or higher, this layout wouldn't be a problem. But, I'd like to give my users the option to set their monitor to whatever resolution they'd like. So, if they chose 640 x 480, with cards that are 35 pixels wide each, I'd only get about 13 cards going across the screen. Does this mean that as long as I want everything to fit on a "non-scrolling" screen, I have to make all my graphics for a target resolution of 640 x 480 and then just let the layout expand out on higher resolutions? Do I need to make copies of my graphics for several different resolutions and then choose the set of graphics I load based on the resolution the user selects? Maybe I should just set the resolution myself and not give the user the option? Anyway, as you can see, I can imagine a number of possibilities, but none of them sound that good to me. Is there a standard way of doing this?
Thanks in advance!
-Dave