Importing a BG which is smaller then the room size for gui use

Started by jamesreg, Tue 30/03/2010 01:15:24

Previous topic - Next topic

jamesreg

I have game settings set to 800*600

I want to import a background which is smaller then this at 800*445

I want black space at top of 800*55
and black space at the bottom which is 800*100

which I will use for some gui's

I am trying to figure out how I posistion the room to do this
is it the edges section on the side panel?

I see a menu on side panel that says edges and

bottomedgeY
leftedgex
rightedgex
topedgey

but not sure how I need to put the numbers in there if thats the right place any able to help?


monkey0506

The edges are used to determine, for example, if the character is walking out of the room (I think) and for scrolling rooms (I believe). I've never actually used them so I could be way off here.

But if the actual background is smaller than the game resolution, just letterbox the background in Photoshop or Paint or whatever program you're using. Position it within the 800x600 grid as you want it to appear in-game, and fill the remaining area with black.

jamesreg

I was trying to avoid this as if there is a way to put the graphic at a certain location i can reduce my sprite file in half which is needed

jamesreg

Yeah your right thats the controls for walking off the screen


monkey0506

AGS won't allow you to import a background image that doesn't match the game resolution. Are you using sprite compression?

SMF spam blocked by CleanTalk