Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: EchosofNezhyt on Mon 11/06/2012 01:19:21

Title: After running game character sprite is cut off 1px row
Post by: EchosofNezhyt on Mon 11/06/2012 01:19:21
When I test the game my charaters feet or the bottom of the sprite is cut off 1 pixel its driving me nuts and I can't think why? I've tried messing with image type and alpha and import nothing fixes it.
Title: Re: After running game character sprite is cut off 1px row
Post by: Khris on Mon 11/06/2012 10:06:42
Could you post the sprite you're importing?
Title: Re: After running game character sprite is cut off 1px row
Post by: Deu2000 on Mon 11/06/2012 13:41:00
MAYBE the size of the sprite is different than the other sprites of the view
Title: Re: After running game character sprite is cut off 1px row
Post by: Khris on Mon 11/06/2012 14:14:24
That wouldn't lead to the sprite getting cut off though. :P
Title: Re: After running game character sprite is cut off 1px row
Post by: monkey0506 on Mon 11/06/2012 15:01:17
Just a couple other things:

- What transparency option are you using? Top-left pixel, top-right pixel, leave as-is, no transparency, etc?
- What is the actual transparency of the image? Are you using alpha channeled PNGs in a 32-bit game, or do you have a solid-color transparency?
- What color in the source image is the bottom pixel of the sprite(s) in question?
Title: Re: After running game character sprite is cut off 1px row
Post by: Gilbert on Mon 11/06/2012 19:16:58
Also, check the scaling factor of the walkable area. It may be possible that the scaling is set to something like 99% there and the sprite is slightly shrunk to make one line or two in it disappearing.
Title: Re: After running game character sprite is cut off 1px row
Post by: EchosofNezhyt on Mon 11/06/2012 21:08:51
Edit: Well sob it was the scaling. Facepalm.
Title: Re: After running game character sprite is cut off 1px row
Post by: steptoe on Thu 14/06/2012 18:23:55
Yep, been there a few times. Don't you just had those pixel cut offs?!!!

About time it was looked into!
Title: Re: After running game character sprite is cut off 1px row
Post by: Khris on Thu 14/06/2012 19:13:20
Did you read the thread..? This was a user error.