Problem with GUI and Vertical Scrolling

Started by , Thu 22/06/2006 01:07:58

Previous topic - Next topic

navalguijo

Hi everybody

i have a problem with a vertical scrolling

:S

I have a game on 640x480 because and i have a very simple GUI (Just a black BAR in the bottom)
probably i will makemy inventory there... for the moment there's only ON Icon in the right

as you can see here



i have it all blurred because i don't want all of you to see this for the moment.... hehehe

the thing is that after some rooms, i need to make a vertical scrolling...
most of the rooms are horizontal cinelike... and some of them have horizontal scrolling

but when i made the test of the vertical found this:



and of course i don't want THAT

i thought that i should move down my GUI, so i did it, and when i was testing the first room again i've got THIS:



yes, my GUI is too low...

anybody can help me? any ideas?
I do want my game to look cinelike allways, even though the scrolling is vertical or not :(

Gilbert

From the size of your screenshots I reckon that you're using backgrounds of height 400 with 640x480 resolution. I'll recommend you to either change the vertical res. of the (horizontal scrolling) backgrounds to 480 pixels (adding black bar to the bottom is fine), or change your game's resoltion to 640x400 instead.

Since AGS supports 640x400 resolution also, if your room background is 640x400 and you run the game the screen is centred vertically making a letterbox effect, this also crop other stuff like GUIs. When your background is vertically scrolly it's vertical res is higher, thus, making the engine to use full 480 lines for displaying.

Just a reminder, whenever you choose a resolution for your game, make sure the backgrounds' size are at least as large as the choosen res (thus for 640x480 games make sure their h-res is at least 640 and v-res at least 480 pixels).

SMF spam blocked by CleanTalk