Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene change doesn't always transition correctly #4

Open
kwik-silver opened this issue Jan 8, 2025 · 0 comments
Open

Scene change doesn't always transition correctly #4

kwik-silver opened this issue Jan 8, 2025 · 0 comments

Comments

@kwik-silver
Copy link

I am seeing 3 distinct but related issues:

  1. The scene scroll intermittently doesn't work.
  2. Sprites sometimes flash different tiles before the new scene loads
  3. After using tile replacement on a background, the original tiles will reappear before the scene transition.

This video shows #1 and #2. Notice how the scene changes immediately and the player just creeps in.

1.online-video-cutter.com.1.mp4

I have tried to figure out why this happens. Possibly it is because the actors in the neighboring scenes do not share the same spritesheets. Notice how the the actor towards the bottom of the screen flashes a skull sprite for a fraction of a second. When I change the actors in t_his particular target scene_ to use the same spritesheets, this flash doesn't happen, and the scene changes normally.

However, I have also seen this issue arise even when all actors are using the same spritesheets. For example, I have a scene where all 3 issues occurs even after all actors have had their sprites changed in testing. In this scene, there is a bombable wall where I use tile replacement on Init to remove the wall and replace it with rubble in the newly loading scene. This scene always exhibits this behavior.

2

Note that on exiting the scene and re-entering it, this issue does not seem to recurr.

Resolution for #2 could be easy if I could simply hide all non-player sprites before the transition occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant