Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: 12431 on Wed 11/06/2003 10:56:38

Title: importing walkbehinds
Post by: 12431 on Wed 11/06/2003 10:56:38
I've tried to import a walkbehind, and when i did it says: "error: import doesn't have the same size".

but it has! it has got exactly the same size!
better fix this in the next version!
Title: Re:importing walkbehinds
Post by: Nixxon on Wed 11/06/2003 11:39:05
paste images of the background and the import walkbehind :P
Title: Re:importing walkbehinds
Post by: 12431 on Wed 11/06/2003 14:07:25
I did! if i didn't, it wouldn't say what it said!
Title: Re:importing walkbehinds
Post by: Timosity on Wed 11/06/2003 14:24:37
not sure if this is the problem but I had a game in 640 by 400 where I imported a 320 by 200 image for the background,

which in turn must scale it up to 640 by 400, cause I used the 320 by 200 image to make the mask to import and I think I got the same error you did,

so I changed the mask to 640 by 400 and it worked
Title: Re:importing walkbehinds
Post by: Scorpiorus on Wed 11/06/2003 14:25:53
Is the mask image in 16/256-colour?
Title: Re:importing walkbehinds
Post by: 12431 on Wed 11/06/2003 14:30:15
well, it's the same blue color you're supposed to use. but that isn't the problem here! it's 640 * 480, 16bit color. the pictures are the same size, but still it's f**ked up!
Title: Re:importing walkbehinds
Post by: Scorpiorus on Wed 11/06/2003 15:39:38
The mask must be in either 16-colour or 256-colour modes. 16bit wouldn't work.
Title: Re:importing walkbehinds
Post by: 12431 on Wed 11/06/2003 17:24:42
but that hasn't got anything to do with the size problem!!! >:( ???
Title: Re:importing walkbehinds
Post by: Scorpiorus on Wed 11/06/2003 18:14:13
Calm down, buddy. ;)

I have tried and all works fine!

Btw, on error AGS reports what size the mask has to had.

What AGS version?
Title: Re:importing walkbehinds
Post by: 12431 on Wed 11/06/2003 20:29:22
2.54. that's teh one i've started with
Title: Re:importing walkbehinds
Post by: Scorpiorus on Wed 11/06/2003 21:29:56
Then you should try the latest one 2.55 (don't forget to make a backup copy of the game)

Also as I said AGS should report the right size if the mask's one is wrong, something like:

"Error: import mask doesn't have the same size as background. Must be 640x480."

Check out what it displays for you.

P.S. And make sure you import a mask for the walk-behind area and not for hotspots instead.

-Cheers
Title: Re:importing walkbehinds
Post by: on Thu 12/06/2003 10:36:30
I'll try.