"Walk-Behind" areas mask is offset; not going where i want it to...

Started by dissembly, Mon 15/06/2009 11:36:46

Previous topic - Next topic

dissembly

Hey all,

I'm having trouble with the walk-behind areas mask. It seems i have to place the cursor somewhere to the left (and above) of where i actually want to the mark to appear. Needless to say, this is a bit frustrating, and i can see i'm going to end up with a ghosting-sort-of effect when my characters walk behind things...

Is there a fix to this problem? Am i doing something wrong that causing the cursor to be offset?

Khris

Do you mean in-game? Or while editing the room?
What mark do you mean? The baseline?

dissembly

While editing the room, not in-game. Not the baseline, the mask. The colour that you draw over an area; for example, if you have a wall that you can walk behind, you draw the colour over the parts of the wall that should be in front of the character.

The colour actually appears somewhere south-east of the actual centre of the cursor. Very frustrating!

It makes it almost impossible - without much trial-and-error - to ensure that the entire wall actually appears in front of the character, without bits of the wall floating behind the character, or bits of the character floating in front of the wall (thats what i meant by "ghosting").

Ghost

If you need precision, import the walk-behind areas from a mask. Much easier than fiddling around with the line tool/zoom. It's that button that looks like a folder with a circle to the right.
Keep in mind that walkbehind masks need to be 256 colours. I usually use my background image, colour everything except the walkbehind areas black, then colour out the wbh, and save it as 256 PNG. Works a charm.

Khris

Painting them by hand does work fine for me. Are you using an older version, perhaps 2.X?
With 3.1.2, I can zoom in and accurately place it pixel by pixel just fine without any offset.

dissembly

It is definitely the latest build; it was 3.1.0 or something like that, i just downloaded the very latest one - 3.1.2 SP1 - and installed it just-in-case, and am having the same problem.

What happens is that the cursor will draw a line, and then the line will suddenly halve in thickness, and jump slightly southeast of where it was a second ago. Zooming doesn't change it.

I guess i will have to important the masks from a picture. I'll try doing that now.

dissembly

Okay, now i'm having a lot of trouble just getting AGS to import a room background. It doesn't seem to actually import a picture to use as background - it seems to paste that picture on a preexisting canvas, so i end up with a bigger background than i actually drew in photoshop, with black bars off the edges of it. Does anyone know how to fix this?

Gilbert

If the background is smaller that the set-resolution of the game you'll always get those black bars. What resolution is your game set to?

dissembly

I had it set to 800 X 600, but when i changed it to 640 X 480, the problem was solved. Thank-you! I also realise thissolution was in on of the FAQs, sorry, i posted in a panic in the thread i had open. I wouldn't normally post a new question without checking FAQs. Bad nettiquette, i know.

SMF spam blocked by CleanTalk