chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.59k stars 475 forks source link

Screen Glitch with Instant Fade Transition #1630

Closed kill99999-dev closed 3 weeks ago

kill99999-dev commented 3 weeks ago

Description: When using the instant fade transition in GBStudio, the screen glitches and does not display correctly. This issue occurs consistently regardless of the project size or number of scenes. The bug has been observed across all versions of 4.x.

Steps to Reproduce:

  1. Create or open a project in GBStudio (version 4.x).
  2. Add at least 2 scenes to the project.
  3. Set up a scene transition with the "instant" fade option.
  4. Execute the transition in-game.
  5. Observe the screen glitch.

Expected Behavior: The screen should transition instantly without any graphical glitches.

Observed Behavior: The screen shows graphical glitches and does not transition correctly.

Affected Versions:

Additional Context: This issue appears consistently across projects of all sizes, with no minimum number of scenes required to trigger the glitch.

chunkysteveo commented 3 weeks ago

That's how the GB hardware works - the fade is needed to hide the loading of the scene tiles into RAM, otherwise you see glitches. You can get an 'instant' effect only in V4 onwards if you use the common tileset functionality.

It's in the documentation - https://www.gbstudio.dev/docs/project-editor/scenes#common-tilesets

chrismaltby commented 3 weeks ago

Closing as @chunkysteveo says unfortunately this is just how the hardware works and the common tilesets feature was added as way to allow instant transitions without seeing the tile loading