Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: RootBound on Thu 04/04/2024 21:33:41

Title: [SOLVED] Part of sprite disappears?
Post by: RootBound on Thu 04/04/2024 21:33:41
OK, so I'm playing around with my background assets for the new AGS demo game (I figured I'd give my best shot at building a prototype to share, since it's supposed to be a tiny game, what could go wrong?  (roll) ), and I found something weird. Using AGS 3.6.0.58, blank template.

Part of the closed-door sprite disappears in game. Just two pixels. Those pixels are present in the sprite window and in the room editor. The shape of the sprite matches exactly the shape of the doorway. What is going on?  ???

(https://i.imgur.com/sJsFeR0.png)
(https://i.imgur.com/bzhcKjs.png)
Title: Re: Part of sprite disappears?
Post by: Crimson Wizard on Thu 04/04/2024 21:51:33
The first thing that comes to mind is that you have a "walk-behind" there which covers these 2 pixels, and that the door gets behind it.
Title: Re: Part of sprite disappears?
Post by: RootBound on Thu 04/04/2024 21:58:58
Quote from: Crimson Wizard on Thu 04/04/2024 21:51:33The first thing that comes to mind is that you have a "walk-behind" there which covers these 2 pixels, and that the door gets behind it.
You're exactly right. That was a very silly mistake. Feel free to mark thread as solved or delete it altogether.  (roll)