Help with first game- background/ resolution related question.

Started by Mercutick, Sat 08/03/2008 11:26:07

Previous topic - Next topic

Mercutick

I'm trying to create my first game, but i have reached a point where i am supposed to input a picture to use as a background for my first room(i'm following the tutorial). I drew a background out using Microsoft Paint or whatever and i tried to upload it but the height/width etc are apparantly far too big. It says that the resolution i have chosen is too small to support that big a picture, but i dont know how to change the picture size. Can anyone help?

Thanks in advance.

OneDollar

In MS Paint go to the Image menu and click Attributes. Set the units to pixels and check how big your background is with the width and height. Now check what game resolution you're using (e.g. 320x200, 320x240, 640x480 or whatever). Unless you want a scrolling background (in which case you make the background a bit bigger than the resolution), your background wants to match the game resolution.

Ok, so supposing you've found out that the background you drew is 10 times too big. Unfortunately in paint the only way to make it smaller is to use the select tool and manually resize it, then resize the canvas area to fit, checking in the attributes that the image is the right size. Its difficult to maintain the ratio when doing this, and you'll probably loose a lot of the details so it might be worth starting again. If you do, or when you want to make a new background go to the Attributes first and enter the game resolution into the height and width boxes (making sure you've got pixels chosen as the unit) and draw in that area.

Alternatively if your background isn't massive you could consider upping the game resolution to 800x600 (the highest AGS currently supports) and resizing your background accordingly.

Dualnames

Try changineg the resolution on the game settings and re-import the background. That might do the trick. I'm using 320x200 rooms and I have to change to that resolution then back to 640x480 so that they can work the way i want.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk