gb-studio icon indicating copy to clipboard operation
gb-studio copied to clipboard

Spritesheet fragments left over during some animations

Open essayharper opened this issue 1 year ago • 6 comments

Describe the bug some animations (particularly sprites animated with the built in editor from a spritesheet) have leftover pixels around the edges of them, i specifically modified the spritesheets to prevent this, it seems like the fragments are from the parts of the spritesheet used for given animation. To Reproduce Steps to reproduce the behavior:

  1. Import a Spritesheet
  2. Place animated segments from "Platformer Player" template.
  3. Run the project
  4. See fragments during animation

Expected behavior animations to play normally from within the canvas

Screenshots image (12) image (11)

Platform (please complete the following information):

  • OS: KDE (Manjaro)
  • App version 3.1.0

essayharper avatar Jan 21 '24 22:01 essayharper

holy shit it's sonic on the game boy!

MesaBlack avatar Jan 21 '24 23:01 MesaBlack

holy shit it's sonic on the game boy!

well, its the latest thing i was working on that had this issue, im trying to make an actually decent sonic experience on gameboy, unlike sonic adventure 6 or whatever it's called.

essayharper avatar Jan 22 '24 00:01 essayharper

ah

On Sun, Jan 21, 2024 at 6:28 PM essayharper @.***> wrote:

holy shit it's sonic on the game boy!

well, its the latest thing i was working on that had this issue, im trying to make an actually decent sonic experience on gameboy, unlike sonic adventure 6 or whatever it's called.

— Reply to this email directly, view it on GitHub https://github.com/chrismaltby/gb-studio/issues/1332#issuecomment-1902825664, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7QFFJ5OGFTDHMDRDIXMLH3YPWXCRAVCNFSM6AAAAABCEJFLCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSHAZDKNRWGQ . You are receiving this because you commented.Message ID: @.***>

MesaBlack avatar Jan 22 '24 00:01 MesaBlack

Sounds like a pretty good idea!

CodeKid2024 avatar Jan 30 '24 23:01 CodeKid2024

@essayharper The reason why this happens is because you have parts of your sprites hanging off your canvas, which aren't shown in the Sprite editor, but do appear in the game itself Please always try to avoid having sprites overlapping the border of your canvas for this reason.

Deab22 avatar Apr 02 '24 10:04 Deab22

While this issue isn't really fixable due to how the GameBoy hardware works, i think there should either be a warning message for having sprites overlap the canvas edge, or the sprites should be shown even outside the canvas, making the problem more obvious.

Deab22 avatar Apr 02 '24 10:04 Deab22